Update app/api/chat/route.ts
Browse files- app/api/chat/route.ts +1 -1
app/api/chat/route.ts
CHANGED
|
@@ -12,7 +12,7 @@ const [, coinMarketCapApiSchema] = createCoinMarketCapApi({ apiKey: process.env.
|
|
| 12 |
|
| 13 |
const config = new Configuration({
|
| 14 |
apiKey: process.env.MISTRAL_API_KEY,
|
| 15 |
-
|
| 16 |
});
|
| 17 |
const openai = new OpenAIApi(config);
|
| 18 |
|
|
|
|
| 12 |
|
| 13 |
const config = new Configuration({
|
| 14 |
apiKey: process.env.MISTRAL_API_KEY,
|
| 15 |
+
baseURL: "https://api.mistral.ai"
|
| 16 |
});
|
| 17 |
const openai = new OpenAIApi(config);
|
| 18 |
|