mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-16 17:46:45 +00:00
fix(Cohere Model Node): Fix issue with credential test (#8916)
This commit is contained in:
@@ -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',
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user