mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-10 06:34:05 -08:00
fix(Cohere Model Node): Fix issue with credential test (#8916)
This commit is contained in:
parent
e0c303c6c1
commit
4f0b52c45d
|
@ -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',
|
||||
},
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue