You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
test(providers): add completePrompt signal/timeout tests for all 25 providers
Add comprehensive test coverage for the updated completePrompt interface that
now accepts CompletePromptOptions { signal?, timeoutMs? }. Each provider spec
includes signal passthrough, timeout passthrough, and backward compatible tests.
Updated implementations:
- requesty.ts: add options parameter support for signal/timeout
Test patterns by provider type:
- OpenAI Client Pattern: signal + timeout as second argument
- Anthropic SDK Pattern: signal as third argument
- Responses API: signal as second argument
- AI SDK (generateText): signal in options object
- VSCode LM: bridge AbortSignal to CancellationToken
- Bedrock: pass abortSignal to client.send
- Gemini: httpOptions.signal in config
- OpenAI Native: merge signals with RequestConfigBuilder
0 commit comments