(model string, apiType string)
| 86 | systemPrompt string, |
| 87 | messages []map[string]any, |
| 88 | opts StructuredCompletionOptions, |
| 89 | ) (Response, error) |
| 90 | } |
| 91 | |
| 92 | type LLMClient interface { |
| 93 | StreamChat( |
| 94 | ctx context.Context, |
| 95 | systemPrompt string, |
| 96 | messages []map[string]any, |
| 97 | tools []map[string]any, |
| 98 | options *LLMRequestOptions, |
| 99 | ) <-chan EventResult |
| 100 |
no test coverage detected