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

Function invalidRequest

packages/llm/src/protocols/shared.ts:258–263  ·  view source on GitHub ↗
(message: string)

Source from the content-addressed store, hash-verified

256 * lands here.
257 */
258export const invalidRequest = (message: string) =>
259 new LLMError({
260 module: "ProviderShared",
261 method: "request",
262 reason: new InvalidRequestReason({ message }),
263 })
264
265export const matchToolChoice = <Auto, None, Required, Tool>(
266 route: string,

Callers 4

shared.tsFile · 0.85
matchToolChoiceFunction · 0.85
unsupportedContentFunction · 0.85
validateWithFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected