MCPcopy Create free account
hub / github.com/adcontextprotocol/adcp / makeRequest

Function makeRequest

server/tests/unit/batch.test.ts:72–81  ·  view source on GitHub ↗
(customId: string)

Source from the content-addressed store, hash-verified

70}
71
72function makeRequest(customId: string) {
73 return {
74 customId,
75 params: {
76 model: 'claude-haiku-4-5' as const,
77 max_tokens: 100,
78 messages: [{ role: 'user' as const, content: customId }],
79 },
80 };
81}
82
83/** Simulate an async iterable of JSONL results */
84async function* asyncIterableOf<T>(items: T[]): AsyncIterable<T> {

Callers 1

batch.test.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected