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

Function configuredChatRoute

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

Source from the content-addressed store, hash-verified

39 })
40
41const configuredChatRoute = (options: ModelOptions) =>
42 chatRoute.with({
43 endpoint: { baseURL: options.baseURL },
44 auth: AuthOptions.bearer(options, []),
45 })
46
47export const configure = (options: ModelOptions) => {
48 const responsesRoute = configuredResponsesRoute(options)

Callers 1

configureFunction · 0.70

Calls 1

withMethod · 0.80

Tested by

no test coverage detected