(method: string)
| 27 | |
| 28 | function fakeSelectorSdk(calls: string[]) { |
| 29 | const make = (method: string) => (id: string) => { |
| 30 | calls.push(`${method}:${id}`) |
| 31 | return { modelId: id, provider: method, specificationVersion: "v3" } as unknown as LanguageModelV3 |
| 32 | } |
| 33 | return { |
| 34 | responses: make("responses"), |
| 35 | messages: make("messages"), |