Bugfix/arbitrary create attachemnt file upload (#4171)

fix arbitrary create attachemnt file upload
This commit is contained in:
Henry Heng
2025-03-13 19:46:27 +00:00
committed by GitHub
parent c6968ff385
commit c2b830f279
5 changed files with 59 additions and 16 deletions
@@ -4,7 +4,6 @@ import { ListKeyOptions, RecordManagerInterface, UpdateOptions } from '@langchai
import { DataSource } from 'typeorm'
import { getHost, getSSL } from '../../vectorstores/Postgres/utils'
import { getDatabase, getPort, getTableName } from './utils'
import fs from 'fs'
const serverCredentialsExists = !!process.env.POSTGRES_RECORDMANAGER_USER && !!process.env.POSTGRES_RECORDMANAGER_PASSWORD