Make your computer a home for your AI partner. Avibe is the local-first Agent OS: Vibey, its built-in AI partner, works out of the box, and Claude Code, Codex & OpenCode run unchanged beside it — reach them from your browser, phone, or any chat app.
Python agentagent-osaiai-agentsai-partnerchatopsclaudeclaude-codecodexdevtoolsdiscord-botlark-botllmlocal-firstlong-term-memoryopencodeslack-botvibe-codingvibeywechat
fix(ui): namespace OpenCode models as provider/model in chat picker
cyh8a3db7ffcbb3
diff --git a/ui/src/components/workbench/ChatPage.tsx b/ui/src/components/workbench/ChatPage.tsxindex d81c9f778..ddead3de9 100644--- a/ui/src/components/workbench/ChatPage.tsx+++ b/ui/src/components/workbench/ChatPage.tsx@@ -467,7 +467,15 @@ const AgentRoutePicker: React.FC<AgentRoutePickerProps> = ({ session, agents, onif (backend === 'claude') models = (await api.claudeModels()).models ?? [];else if (backend === 'codex') models = (await api.codexModels()).models ?? [];else if (backend === 'opencode')- models = ((await api.getOpencodeProviders()).providers ?? []).flatMap((p) => p.models ?? []);+ // OpenCode resolves a model override as ``provider/model`` (the+ // adapter splits on "/" into {providerID, modelID}); a bare id only+ // works when a default provider is configured and otherwise routes+ // to the wrong/failing model in multi-provider setups. Namespace+ // each model with its provider id so the picked value is+ // unambiguous (skip if already namespaced).+ models = ((await api.getOpencodeProviders()).providers ?? []).flatMap((p) =>+ (p.models ?? []).map((m) => (m.includes('/') ? m : `${p.id}/${m}`)),+ );if (!cancelled) setModelsByBackend((prev) => ({ ...prev, [backend]: models }));} catch {if (!cancelled) setModelsByBackend((prev) => ({ ...prev, [backend]: [] }));