fix: simplified override

This commit is contained in:
Jón Levy 2025-09-10 13:12:49 +00:00 committed by Jón Levy
parent 1ddc3777b6
commit 868df81574
No known key found for this signature in database
GPG key ID: 397E4D775F694BF3

View file

@ -1826,9 +1826,7 @@ export const CohereConstants = {
* Cohere API Endpoint, for special handling
* Uses COHERE_API_URL environment variable if set, otherwise defaults to official API
*/
get API_URL(): string {
return process.env.COHERE_API_URL || 'https://api.cohere.ai/v1';
},
API_URL: process.env.COHERE_API_URL || 'https://api.cohere.ai/v1',
/**
* Role for "USER" messages
*/