-
Notifications
You must be signed in to change notification settings - Fork 0
feat(litellm): add audio STT and TTS model routing aliases #376
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -31,6 +31,10 @@ litellm_settings: | |
| - agent-complex-core | ||
| - agent-medium-core | ||
| - agent-simple-core | ||
| - whisper-1 | ||
| - gpt-4o-mini-transcribe | ||
| - gpt-4o-mini-tts | ||
| - tts-1 | ||
| fallbacks: | ||
| - agent-simple-core: | ||
| - agent-medium-core | ||
|
|
@@ -220,6 +224,42 @@ model_list: | |
| supports_vision: true | ||
| is_public_model_group: true | ||
|
|
||
| # ================================================================================ | ||
| # AUDIO STT / TTS COMPATIBILITY ALIASES | ||
| # ================================================================================ | ||
| - model_name: whisper-1 | ||
| litellm_params: | ||
| model: openai/whisper-1 | ||
| api_base: http://127.0.0.1:8084 | ||
|
Comment on lines
+230
to
+233
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🚨 issue (security): Using plain HTTP for the audio endpoint may be risky outside strictly local setups. These aliases point to |
||
| api_key: local-token | ||
| request_timeout: 60 | ||
| model_info: | ||
| mode: audio_transcription | ||
| is_public_model_group: true | ||
| - model_name: gpt-4o-mini-transcribe | ||
| litellm_params: | ||
| model: openai/whisper-1 | ||
| api_base: http://127.0.0.1:8084 | ||
| api_key: local-token | ||
| request_timeout: 60 | ||
| model_info: | ||
| mode: audio_transcription | ||
| is_public_model_group: true | ||
| - model_name: gpt-4o-mini-tts | ||
| litellm_params: | ||
| model: openrouter/openai/tts-1 | ||
| request_timeout: 60 | ||
| model_info: | ||
| mode: audio_speech | ||
| is_public_model_group: true | ||
| - model_name: tts-1 | ||
| litellm_params: | ||
| model: openrouter/openai/tts-1 | ||
| request_timeout: 60 | ||
| model_info: | ||
| mode: audio_speech | ||
| is_public_model_group: true | ||
|
|
||
| redis_settings: | ||
| redis_host: 127.0.0.1 | ||
| redis_port: VALKEY_CACHE_PORT_PLACEHOLDER | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.