( options?: AIRouterRuntimeHandlerOptions )
| 834 | } |
| 835 | |
| 836 | export function buildAIRouterOpenAIChatHandler( |
| 837 | options?: AIRouterRuntimeHandlerOptions |
| 838 | ): RequestHandler { |
| 839 | return buildAIRouterRuntimeHandler({ |
| 840 | protocol: AI_ROUTER_PROTOCOLS.OPENAI_CHAT, |
| 841 | schema: openaiRequestSchema, |
| 842 | runAttempts: options?.runAttempts, |
| 843 | }); |
| 844 | } |
| 845 | |
| 846 | export function buildAIRouterOpenAIResponsesHandler( |
| 847 | options?: AIRouterRuntimeHandlerOptions |
no test coverage detected