Skip to content

Commit 141f22c

Browse files
Switch FREE_MODEL to openrouter/auto for automatic model routing
Signed-off-by: Natalie Spiva <natalie@acreetionos.org>
1 parent dde3a72 commit 141f22c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const OPENROUTER_URL = 'https://openrouter.ai/api/v1/chat/completions';
1414
const WHISPER_URL = 'https://openrouter.ai/api/v1/audio/transcriptions';
1515
const TTS_URL = 'https://openrouter.ai/api/v1/audio/speech';
1616
// Use only explicitly free community models. Keep the values in one place.
17-
const FREE_MODEL = 'google/gemma-2-2b-it:free';
17+
const FREE_MODEL = 'openrouter/auto';
1818
const WHISPER_MODEL = 'openai/whisper-large-v3';
1919
const TTS_MODEL = 'cartesia-ai/cartesia-tts';
2020
const ALLOWED_ORIGINS = [

0 commit comments

Comments
 (0)