Merge pull request #715 from OG-Ken/fix/opencode-dynamic-models-404-endpoint

fix: Correct OpenCode dynamic models API endpoint URL
This commit is contained in:
Shirone
2026-01-27 12:02:33 +00:00
committed by GitHub

View File

@@ -2512,7 +2512,7 @@ export const useAppStore = create<AppState & AppActions>()((set, get) => ({
authMethod?: string; authMethod?: string;
}>; }>;
error?: string; error?: string;
}>('/api/opencode/models'); }>('/api/setup/opencode/models');
if (data.success && data.models) { if (data.success && data.models) {
// Filter out Bedrock models // Filter out Bedrock models