What did you do when it broke?
Description
When using a custom model provider with the name openai_compatible, podcast generation fails. The system returns an error indicating that only openai-compatible (with hyphen) is supported.
Error Message
ValueError: Provider 'openai_compatible' not supported for language. Supported providers: ['openai', 'openai-compatible', 'anthropic', 'google', 'groq', 'ollama', 'openrouter', 'xai', 'perplexity', 'azure', 'mistral', 'deepseek', 'vertex']
Steps to Reproduce
- Configure a custom model with provider set to openai_compatible
- Try to generate a podcast
- Generation fails with empty outline and transcript
Expected Behavior
Either:
- Both openai_compatible and openai-compatible should be accepted, OR
- The UI should enforce the correct format (openai-compatible) to prevent this error
Environment
- Open Notebook version: v1.7.0
- Deployment: Docker Compose
Suggestion
Consider normalizing the provider name (replacing _ with -) or documenting that only hyphen format is valid.
▣ Build · glm-5 · 14.7s
How did it break?
null
Logs or Screenshots
Open Notebook Version
v1-latest (Docker)
Environment
No response
Additional Context
No response
Contribution
What did you do when it broke?
Description
When using a custom model provider with the name openai_compatible, podcast generation fails. The system returns an error indicating that only openai-compatible (with hyphen) is supported.
Error Message
ValueError: Provider 'openai_compatible' not supported for language. Supported providers: ['openai', 'openai-compatible', 'anthropic', 'google', 'groq', 'ollama', 'openrouter', 'xai', 'perplexity', 'azure', 'mistral', 'deepseek', 'vertex']
Steps to Reproduce
Expected Behavior
Either:
Environment
Suggestion
Consider normalizing the provider name (replacing _ with -) or documenting that only hyphen format is valid.
▣ Build · glm-5 · 14.7s
How did it break?
null
Logs or Screenshots
Open Notebook Version
v1-latest (Docker)
Environment
No response
Additional Context
No response
Contribution