fix(opencode): address review feedback

This commit is contained in:
DhanushSantosh
2026-01-12 23:21:23 +05:30
parent 8094941385
commit 6020219fda
2 changed files with 30 additions and 2 deletions

View File

@@ -109,7 +109,7 @@ describe('opencode-provider.ts', () => {
const parseModelsOutput = (
provider as unknown as { parseModelsOutput: (output: string) => ModelDefinition[] }
).parseModelsOutput;
).parseModelsOutput.bind(provider);
const models = parseModelsOutput(output);
expect(models).toHaveLength(2);