(content: Content)
| 8 | import { Content } from '@google/genai'; |
| 9 | |
| 10 | export function isFunctionResponse(content: Content): boolean { |
| 11 | return ( |
| 12 | content.role === 'user' && |
| 13 | !!content.parts && |
| 14 | content.parts.every((part) => !!part.functionResponse) |
| 15 | ); |
| 16 | } |
| 17 | |
| 18 | export function isFunctionCall(content: Content): boolean { |
| 19 | return ( |
no outgoing calls
no test coverage detected