You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Could not set base URL for Cerebras provider #4086
Activity
OpeOginni commentedon Nov 8, 2025
Tried it and it seems to work for me
rekram1-node commentedon Nov 8, 2025
@OpeOginni u did it with the cerebras provider too? not just like a random one right?
OpeOginni commentedon Nov 8, 2025
Yes, Used the Demo Proxy as well (from issue), seemed to work too
rekram1-node commentedon Nov 8, 2025
Gotcha, @franchb did you restart opencode after making this change?
Can u show me output of
opencode debug config?rekram1-node commentedon Nov 8, 2025
thanks @OpeOginni for testing!
franchb commentedon Nov 9, 2025
Hi!
I've updated to latest
opencodev1.0.49, fully restarted my laptop. The same error again.opencode debug config { "agent": {}, "mode": {}, "plugin": [], "command": {}, "username": "<redacted>", "keybinds": { "leader": "ctrl+x", "app_exit": "ctrl+c,ctrl+d,<leader>q", "editor_open": "<leader>e", "theme_list": "<leader>t", "sidebar_toggle": "<leader>b", "status_view": "<leader>s", "session_export": "<leader>x", "session_new": "<leader>n", "session_list": "<leader>l", "session_timeline": "<leader>g", "session_share": "none", "session_unshare": "none", "session_interrupt": "escape", "session_compact": "<leader>c", "messages_page_up": "pageup", "messages_page_down": "pagedown", "messages_half_page_up": "ctrl+alt+u", "messages_half_page_down": "ctrl+alt+d", "messages_first": "ctrl+g,home", "messages_last": "ctrl+alt+g,end", "messages_copy": "<leader>y", "messages_undo": "<leader>u", "messages_redo": "<leader>r", "messages_toggle_conceal": "<leader>h", "model_list": "<leader>m", "model_cycle_recent": "f2", "model_cycle_recent_reverse": "shift+f2", "command_list": "ctrl+p", "agent_list": "<leader>a", "agent_cycle": "tab", "agent_cycle_reverse": "shift+tab", "input_clear": "ctrl+c", "input_forward_delete": "ctrl+d", "input_paste": "ctrl+v", "input_submit": "return", "input_newline": "shift+return,ctrl+j", "history_previous": "up", "history_next": "down", "session_child_cycle": "ctrl+right", "session_child_cycle_reverse": "ctrl+left" } }rekram1-node commentedon Nov 9, 2025
@franchb where did you set that base url?
Given it isn't in your config it seems like you placed it in the wrong spot?
Oh i see u stated here:
cat ~/.local/share/opencode/config.json
^^ This config isn't ever read, you can read more about config locations here
So the global config needs to be in
~/.config/opencode/opencode.json(you can also use .jsonc if u prefer doesnt matter either way)franchb commentedon Nov 9, 2025
Works! Thank you!