diff --git a/packages/@n8n/nodes-langchain/credentials/OllamaApi.credentials.ts b/packages/@n8n/nodes-langchain/credentials/OllamaApi.credentials.ts index 4b689f3d03..acfbbcd3f9 100644 --- a/packages/@n8n/nodes-langchain/credentials/OllamaApi.credentials.ts +++ b/packages/@n8n/nodes-langchain/credentials/OllamaApi.credentials.ts @@ -20,15 +20,8 @@ export class OllamaApi implements ICredentialType { test: ICredentialTestRequest = { request: { baseURL: '={{ $credentials.baseUrl }}', - url: '/api/generate', - method: 'POST', - headers: { - 'anthropic-version': '2023-06-01', - }, - body: { - model: 'llama2', - prompt: 'Hello', - }, + url: '/', + method: 'GET', }, }; }