| 55 | * Note: Does not use generics because each tool in the tools array has different types |
| 56 | */ |
| 57 | export interface LLMClient { |
| 58 | invoke( |
| 59 | messages: Message[], |
| 60 | tools: Record<string, Tool>, |
| 61 | abortSignal?: AbortSignal, |
| 62 | options?: InvokeOptions |
| 63 | ): Promise<InvokeResult> |
| 64 | } |
| 65 | |
| 66 | /** |
| 67 | * Invoke result (strict typing, supports generics) |
no outgoing calls
no test coverage detected