summaryrefslogtreecommitdiff
path: root/internal/llm
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-06-19 08:23:44 +0300
committerPaul Buetow <paul@buetow.org>2026-06-19 08:23:44 +0300
commit360e5456660678a0babab602e0bc80304a55db3f (patch)
treeacffc5fa57ba9ad71198d904d034b561e04bc165 /internal/llm
parent682a413db516e1a0201e8fea41e706a7666391d6 (diff)
ok0 document LSP and LLM exports
Diffstat (limited to 'internal/llm')
-rw-r--r--internal/llm/anthropic.go1
-rw-r--r--internal/llm/ollama.go1
-rw-r--r--internal/llm/openai.go1
-rw-r--r--internal/llm/openrouter.go1
-rw-r--r--internal/llm/yousearch.go1
5 files changed, 5 insertions, 0 deletions
diff --git a/internal/llm/anthropic.go b/internal/llm/anthropic.go
index 6ed808f..a1db97c 100644
--- a/internal/llm/anthropic.go
+++ b/internal/llm/anthropic.go
@@ -1,4 +1,5 @@
// Anthropic client implementation using Messages API with optional streaming support.
+
package llm
import (
diff --git a/internal/llm/ollama.go b/internal/llm/ollama.go
index 92fece8..b2764f2 100644
--- a/internal/llm/ollama.go
+++ b/internal/llm/ollama.go
@@ -1,6 +1,7 @@
// Ollama client supporting both a local server and Ollama Cloud (ollama.ai).
// The optional API key is sent as a Bearer token; when empty, requests are
// unauthenticated so a local Ollama server keeps working unchanged.
+
package llm
import (
diff --git a/internal/llm/openai.go b/internal/llm/openai.go
index 25696ce..0ec34ab 100644
--- a/internal/llm/openai.go
+++ b/internal/llm/openai.go
@@ -1,4 +1,5 @@
// OpenAI client implementation for chat completions with optional streaming and detailed logging.
+
package llm
import (
diff --git a/internal/llm/openrouter.go b/internal/llm/openrouter.go
index 567a2c0..080f539 100644
--- a/internal/llm/openrouter.go
+++ b/internal/llm/openrouter.go
@@ -1,4 +1,5 @@
// OpenRouter client implementation leveraging OpenAI-compatible helpers with provider-specific headers.
+
package llm
import (
diff --git a/internal/llm/yousearch.go b/internal/llm/yousearch.go
index 8990c26..ced18ba 100644
--- a/internal/llm/yousearch.go
+++ b/internal/llm/yousearch.go
@@ -1,6 +1,7 @@
// You.com Research API provider. Maps Chat() to a single research request using
// the last user message as the query. System messages are ignored — the Research
// API has its own reasoning pipeline. Sources are appended as a markdown section.
+
package llm
import (