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

Function responses

packages/llm/src/providers/github-copilot.ts:50–51  ·  view source on GitHub ↗
(modelID: string | ModelID)

Source from the content-addressed store, hash-verified

48 const responsesRoute = configuredResponsesRoute(options)
49 const chatRoute = configuredChatRoute(options)
50 const responses = (modelID: string | ModelID) =>
51 responsesRoute.with(withOpenAIOptions(modelID, defaults(options))).model({ id: modelID })
52 const chat = (modelID: string | ModelID) =>
53 chatRoute.with(withOpenAIOptions(modelID, defaults(options))).model({ id: modelID })
54 return {

Callers 1

configureFunction · 0.70

Calls 4

withOpenAIOptionsFunction · 0.90
modelMethod · 0.80
withMethod · 0.80
defaultsFunction · 0.70

Tested by

no test coverage detected