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

Function uncheckedAdapterEvent

packages/opencode/test/session/llm.test.ts:185–185  ·  view source on GitHub ↗
(input: unknown)

Source from the content-addressed store, hash-verified

183 }
184 // oxlint-disable-next-line typescript-eslint/no-unsafe-type-assertion -- tests defensive adapter branches outside AI SDK's current typed surface
185 const uncheckedAdapterEvent = (input: unknown) => input as AISDKAdapterEvent
186
187 test("maps AI SDK stream chunks without losing session-visible fields", async () => {
188 const metadata = { openai: { itemID: "item-1" } }

Callers 1

llm.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected