mirror of
https://github.com/farcasclaudiu/Flowise.git
synced 2026-06-28 21:00:58 +03:00
So apparently TypeORMVectorStore requires the field 'username' while Pool expects it to be 'user'. Need to populate both to avoid error messages.
This commit is contained in:
@@ -189,7 +189,8 @@ class Postgres_VectorStores implements INode {
|
|||||||
type: 'postgres',
|
type: 'postgres',
|
||||||
host: nodeData.inputs?.host as string,
|
host: nodeData.inputs?.host as string,
|
||||||
port: nodeData.inputs?.port as number,
|
port: nodeData.inputs?.port as number,
|
||||||
username: user,
|
username: user, // Required by TypeORMVectorStore
|
||||||
|
user: user, // Required by Pool in similaritySearchVectorWithScore
|
||||||
password: password,
|
password: password,
|
||||||
database: nodeData.inputs?.database as string
|
database: nodeData.inputs?.database as string
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user