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

Function updateRequest

packages/llm/src/llm.ts:77–78  ·  view source on GitHub ↗
(input: LLMRequest, patch: Partial<RequestInput>)

Source from the content-addressed store, hash-verified

75}
76
77export const updateRequest = (input: LLMRequest, patch: Partial<RequestInput>) =>
78 request({ ...requestInput(input), ...patch })
79
80const GENERATE_OBJECT_TOOL_NAME = "generate_object"
81

Callers

nothing calls this directly

Calls 2

requestInputFunction · 0.85
requestFunction · 0.70

Tested by

no test coverage detected