summaryrefslogtreecommitdiff
path: root/internal/llm/yousearch.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/llm/yousearch.go')
-rw-r--r--internal/llm/yousearch.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/internal/llm/yousearch.go b/internal/llm/yousearch.go
index 66cfb35..8990c26 100644
--- a/internal/llm/yousearch.go
+++ b/internal/llm/yousearch.go
@@ -26,6 +26,10 @@ type youSearchClient struct {
chatLogger logging.ChatLogger
}
+// Ensure youSearchClient implements Client. It does not implement Streamer
+// because the You.com research API returns a single completed result rather
+// than a token stream. Methods use value receivers, so the assertion uses a
+// zero-value struct (not a pointer).
var _ Client = youSearchClient{}
type youSearchRequest struct {