diff --git a/credentials/BrowserbaseApi.credentials.ts b/credentials/BrowserbaseApi.credentials.ts index 7b2d895..789afca 100644 --- a/credentials/BrowserbaseApi.credentials.ts +++ b/credentials/BrowserbaseApi.credentials.ts @@ -32,15 +32,6 @@ export class BrowserbaseApi implements ICredentialType { required: true, description: 'Your Browserbase project ID', }, - { - displayName: 'Model API Key', - name: 'modelApiKey', - type: 'string', - typeOptions: { password: true }, - default: '', - required: true, - description: 'API key for the AI model (e.g., Gemini API key)', - }, ]; authenticate: IAuthenticateGeneric = { @@ -49,7 +40,6 @@ export class BrowserbaseApi implements ICredentialType { headers: { 'x-bb-api-key': '={{$credentials.browserbaseApiKey}}', 'x-bb-project-id': '={{$credentials.browserbaseProjectId}}', - 'x-model-api-key': '={{$credentials.modelApiKey}}', }, }, }; diff --git a/nodes/Browserbase/Browserbase.node.ts b/nodes/Browserbase/Browserbase.node.ts index 75d23c4..78af9d5 100644 --- a/nodes/Browserbase/Browserbase.node.ts +++ b/nodes/Browserbase/Browserbase.node.ts @@ -679,7 +679,6 @@ export class Browserbase implements INodeType { 'Content-Type': 'application/json', 'x-bb-api-key': credentials.browserbaseApiKey as string, 'x-bb-project-id': credentials.browserbaseProjectId as string, - 'x-model-api-key': credentials.modelApiKey as string, }; // Helper function to make API calls @@ -759,7 +758,6 @@ export class Browserbase implements INodeType { const startBody: Record = { modelName: driverModel, - apiKey: credentials.modelApiKey as string, browserbaseSessionCreateParams: sessionCreateParams, }; @@ -796,7 +794,6 @@ export class Browserbase implements INodeType { provider, model: { modelName: agentModel, - apiKey: credentials.modelApiKey as string, }, cua: mode === 'cua' || mode === 'hybrid', }, diff --git a/package.json b/package.json index 05e0003..086a8fd 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "n8n-nodes-browserbase", - "version": "1.1.3", + "version": "1.2.0", "description": "n8n community node for Browserbase", "license": "MIT", "homepage": "",