Skip to content

Commit

Permalink
fix(Cohere Model Node): Fix issue with credential test
Browse files Browse the repository at this point in the history
  • Loading branch information
Joffcom committed Mar 18, 2024
1 parent 6955e89 commit f82e82d
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,7 @@ export class CohereApi implements ICredentialType {
test: ICredentialTestRequest = {
request: {
baseURL: 'https://api.cohere.ai',
url: '/v1/detect-language',
method: 'POST',
body: {
texts: ['hello'],
},
url: '/v1/models?page_size=1',
},
};
}

0 comments on commit f82e82d

Please sign in to comment.