Skip to content

Commit 2548179

Browse files
authored
Update src/api/providers/fetchers/opencode-go.ts
1 parent 8913414 commit 2548179

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/api/providers/fetchers/opencode-go.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ export async function getOpencodeGoModels(apiKey?: string): Promise<Record<strin
7272
const data = Array.isArray(rawData) ? rawData : []
7373

7474
if (!result.success) {
75-
console.error(`Opencode Go models response is invalid: ${JSON.stringify(result.error.format())}`)
75+
console.warn(`Opencode Go models response did not match expected schema; falling back to per-item parsing: ${JSON.stringify(result.error.format())}`)
7676
}
7777

7878
for (const rawModel of data) {

0 commit comments

Comments
 (0)