()
| 100 | } |
| 101 | |
| 102 | function getOpenCodeZenApiKey(): string { |
| 103 | const apiKey = env.OPENCODE_API_KEY |
| 104 | if (!apiKey) { |
| 105 | throw new Error('OPENCODE_API_KEY is not configured') |
| 106 | } |
| 107 | return apiKey |
| 108 | } |
| 109 | |
| 110 | function createOpenCodeZenRequest(params: { |
| 111 | body: ChatCompletionRequestBody |
no outgoing calls
no test coverage detected