diff options
Diffstat (limited to 'internal/llm/anthropic.go')
| -rw-r--r-- | internal/llm/anthropic.go | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/internal/llm/anthropic.go b/internal/llm/anthropic.go index 00af17a..6ed808f 100644 --- a/internal/llm/anthropic.go +++ b/internal/llm/anthropic.go @@ -25,6 +25,13 @@ type anthropicClient struct { defaultTemperature *float64 } +// Ensure anthropicClient implements Client and Streamer. All of its methods use +// value receivers, so the assertions use a zero-value struct (not a pointer). +var ( + _ Client = anthropicClient{} + _ Streamer = anthropicClient{} +) + type anthropicChatRequest struct { Model string `json:"model"` Messages []anthropicMessage `json:"messages"` |
