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

Function defaults

packages/llm/src/providers/github-copilot.ts:30–33  ·  view source on GitHub ↗
(options: ModelOptions)

Source from the content-addressed store, hash-verified

28const responsesRoute = OpenAIResponses.route.with({ provider: id })
29
30const defaults = (options: ModelOptions) => {
31 const { apiKey: _, auth: _auth, baseURL: _baseURL, ...rest } = options
32 return rest
33}
34
35const configuredResponsesRoute = (options: ModelOptions) =>
36 responsesRoute.with({

Callers 2

responsesFunction · 0.70
chatFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected