mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-16 09:36:44 +00:00
feat: Update Pinecone Vector Store node to support serverless environments (#8849)
Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>
This commit is contained in:
@@ -21,13 +21,6 @@ export class PineconeApi implements ICredentialType {
|
||||
required: true,
|
||||
default: '',
|
||||
},
|
||||
{
|
||||
displayName: 'Environment',
|
||||
name: 'environment',
|
||||
type: 'string',
|
||||
required: true,
|
||||
default: 'us-central1-gcp',
|
||||
},
|
||||
];
|
||||
|
||||
authenticate: IAuthenticateGeneric = {
|
||||
@@ -41,7 +34,7 @@ export class PineconeApi implements ICredentialType {
|
||||
|
||||
test: ICredentialTestRequest = {
|
||||
request: {
|
||||
baseURL: '=https://controller.{{$credentials.environment}}.pinecone.io/databases',
|
||||
baseURL: 'https://api.pinecone.io/indexes',
|
||||
headers: {
|
||||
accept: 'application/json; charset=utf-8',
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user