(apiType string)
| 73 | } |
| 74 | |
| 75 | type StructuredCompletionOptions struct { |
| 76 | MaxTokens int |
| 77 | Tools []map[string]any |
| 78 | RequiredTool string |
| 79 | DisableThinking bool |
| 80 | Temperature *float64 |
| 81 | } |
| 82 | |
| 83 | type StructuredCompletionClient interface { |
| 84 | CompleteStructured( |
| 85 | ctx context.Context, |
| 86 | systemPrompt string, |
| 87 | messages []map[string]any, |
| 88 | opts StructuredCompletionOptions, |
| 89 | ) (Response, error) |
no outgoing calls
no test coverage detected