(binary?: string | null)
| 20 | } |
| 21 | |
| 22 | export function getOpenCodeVersion(binary?: string | null): string | null { |
| 23 | return runOpenCode(["--version"], binary); |
| 24 | } |
| 25 | |
| 26 | export function getAvailableModels(binary?: string | null): string[] { |
| 27 | const output = runOpenCode(["models"], binary); |
no test coverage detected