(input: OpenCodeConfigInput)
| 76 | }; |
| 77 | |
| 78 | export const buildOpenCodeConfigDocument = (input: OpenCodeConfigInput) => ({ |
| 79 | $schema: "https://opencode.ai/config.json", |
| 80 | provider: { |
| 81 | omniroute: buildOpenCodeProviderConfig(input), |
| 82 | }, |
| 83 | }); |
| 84 | |
| 85 | export const mergeOpenCodeConfig = ( |
| 86 | existingConfig: Record<string, any> | null | undefined, |
no test coverage detected