When models from providers like Chutes or Cerebras were added via the admin panel, they didn't work in the builder page because the opencode.json config file only included the Ollama provider configuration. This fix adds Chutes and Cerebras provider configurations to the opencode.json file when their respective API keys are available in environment variables (CHUTES_API_KEY and CEREBRAS_API_KEY). Fixes the issue where chutes/deepseek-ai/DeepSeek-V3.2-TEE and similar models would fail to load from the builder page.
698 KiB
698 KiB