diff --git a/.flue/app.ts b/.flue/app.ts index 72221b7..beeaa93 100644 --- a/.flue/app.ts +++ b/.flue/app.ts @@ -3,11 +3,12 @@ import { flue } from '@flue/runtime/routing'; import { Hono } from 'hono'; // Register MiniMax as an OpenAI-compatible provider -// MiniMax's endpoint accepts OpenAI-compatible requests registerProvider('minimax', { api: 'openai-completions', baseUrl: 'https://api.minimax.io/v1', - apiKey: process.env.MINIMAX_API_KEY, + headers: { + 'Authorization': `Bearer ${process.env.MINIMAX_API_KEY}`, + }, }); // Create the app