( deps: Pick<RuntimeKernelDeps, 'toolBoundaryProtocol'>, header: Pick<SessionHeader, 'backend'>, )
| 3695 | } |
| 3696 | |
| 3697 | function runtimeToolBoundaryProtocol( |
| 3698 | deps: Pick<RuntimeKernelDeps, 'toolBoundaryProtocol'>, |
| 3699 | header: Pick<SessionHeader, 'backend'>, |
| 3700 | ): ToolBoundaryProtocol | undefined { |
| 3701 | return header.backend === 'ai-sdk' ? deps.toolBoundaryProtocol : undefined; |
| 3702 | } |
| 3703 | |
| 3704 | function effectiveOrchestrationForRun( |
| 3705 | run: AgentRunHeader, |
no outgoing calls
no test coverage detected