MCPcopy Create free account
hub / github.com/anomalyco/opencode / fix

Function fix

packages/opencode/src/plugin/github-copilot/copilot.ts:45–54  ·  view source on GitHub ↗
(model: Model, url: string)

Source from the content-addressed store, hash-verified

43}
44
45function fix(model: Model, url: string): Model {
46 return {
47 ...model,
48 api: {
49 ...model.api,
50 url,
51 npm: "@ai-sdk/github-copilot",
52 },
53 }
54}
55
56export async function CopilotAuthPlugin(input: PluginInput): Promise<Hooks> {
57 const sdk = input.client

Callers 1

modelsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected