MCPcopy
hub / github.com/claude-code-best/claude-code / dispatch

Function dispatch

src/services/api/__tests__/bedrockClient.test.ts:57–66  ·  view source on GitHub ↗
(client: AnthropicBedrock)

Source from the content-addressed store, hash-verified

55}
56
57async function dispatch(client: AnthropicBedrock): Promise<void> {
58 try {
59 const stream = await client.beta.messages.create(REQUEST_PARAMS)
60 for await (const _ of stream) {
61 /* drain */
62 }
63 } catch {
64 /* ignore: only the captured request shape matters */
65 }
66}
67
68describe('BedrockClient.buildRequest body.anthropic_beta cleanup', () => {
69 test('BUG REPRO: unmodified AnthropicBedrock puts anthropic_beta in body', async () => {

Callers 5

useMultipleChoiceStateFunction · 0.85
useSelectNavigationFunction · 0.85
callFunction · 0.85

Calls 1

createMethod · 0.65

Tested by

no test coverage detected