Skip to content

Commit

Permalink
fix(Ollama Model Node): Use a simpler credentials test (#8318)
Browse files Browse the repository at this point in the history
  • Loading branch information
netroy authored Jan 12, 2024
1 parent 135b543 commit 63b738a
Showing 1 changed file with 2 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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',
},
};
}

0 comments on commit 63b738a

Please sign in to comment.