Description
after adding an openai compatible custom provider, I can't select the model:
Failed to load config file models, Validate(models) error: Provider tokenrouter: "apiKey" or "apiKeyEnv" is required when defining custom models unless auth is "none".
Steps to Reproduce
- Install gjc
- Add an OpenAI compatible custom model
- Run
/model the new provider does not appear in the list, an error message is shown: Failed to load config file models, Validate(models) error: Provider tokenrouter: "apiKey" or "apiKeyEnv" is required when defining custom models unless auth is "none".
Expected Behavior
Being able to use the model with the custom provider
Error Output
Failed to load config file models, Validate(models) error: Provider tokenrouter: "apiKey" or "apiKeyEnv" is required when defining custom models unless auth is "none".
Platform
macOS
gjc version
gjc/0.12.7
Bun version
1.3.14
Provider
Custom (models.yml)
Area
Model selection
Additional context
No response
Description
after adding an openai compatible custom provider, I can't select the model:
Failed to load config file models, Validate(models) error: Provider tokenrouter: "apiKey" or "apiKeyEnv" is required when defining custom models unless auth is "none".Steps to Reproduce
/modelthe new provider does not appear in the list, an error message is shown:Failed to load config file models, Validate(models) error: Provider tokenrouter: "apiKey" or "apiKeyEnv" is required when defining custom models unless auth is "none".Expected Behavior
Being able to use the model with the custom provider
Error Output
Platform
macOS
gjc version
gjc/0.12.7
Bun version
1.3.14
Provider
Custom (models.yml)
Area
Model selection
Additional context
No response