(param: {
type: string
name?: string
})
| 36 | export type AdvisorBlock = AdvisorServerToolUseBlock | AdvisorToolResultBlock |
| 37 | |
| 38 | export function isAdvisorBlock(param: { |
| 39 | type: string |
| 40 | name?: string |
| 41 | }): param is AdvisorBlock { |
| 42 | return ( |
| 43 | param.type === 'advisor_tool_result' || |
| 44 | (param.type === 'server_tool_use' && param.name === 'advisor') |
| 45 | ) |
| 46 | } |
| 47 | |
| 48 | type AdvisorConfig = { |
| 49 | enabled?: boolean |
no outgoing calls
no test coverage detected