MCPcopy Index your code
hub / github.com/anomalyco/opencode / providerCfg

Function providerCfg

packages/opencode/test/session/processor-effect.test.ts:73–87  ·  view source on GitHub ↗
(url: string)

Source from the content-addressed store, hash-verified

71}
72
73function providerCfg(url: string) {
74 return {
75 ...cfg,
76 provider: {
77 ...cfg.provider,
78 test: {
79 ...cfg.provider.test,
80 options: {
81 ...cfg.provider.test.options,
82 baseURL: url,
83 },
84 },
85 },
86 }
87}
88
89function agent(): Agent.Info {
90 return {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected