MCPcopy Create free account
hub / github.com/diegosouzapw/OmniRoute / buildOpenCodeConfigDocument

Function buildOpenCodeConfigDocument

src/shared/services/opencodeConfig.ts:78–83  ·  view source on GitHub ↗
(input: OpenCodeConfigInput)

Source from the content-addressed store, hash-verified

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

Calls 1

Tested by

no test coverage detected