summaryrefslogtreecommitdiff
path: root/internal/llm
AgeCommit message (Collapse)Author
2025-08-16logging: migrate LSP logs to global singleton (internal/logging); use ↵Paul Buetow
consistent colors/prefix; refactor LLM provider to use global logger and remove per-client loggers
2025-08-16llm: centralize ANSI color and logging helpers in logging.go; remove ↵Paul Buetow
duplicate color constants from openai.go
2025-08-16logging: add -log-preview-limit flag with HEXAI_LOG_PREVIEW_LIMIT env; wire ↵Paul Buetow
through llm.SetLogPreviewLimit; document in README
2025-08-16llm/openai: log full message and response content without truncation; keep ↵Paul Buetow
cyan/green coloring and base black/grey styling
2025-08-16llm/openai: switch sending color to cyan; enforce black background + grey ↵Paul Buetow
base on all messages; ensure colored segments return to base style
2025-08-16llm/openai: colorize logs — blue for outgoing context (messages), green ↵Paul Buetow
for received content preview, red for errors; print real newlines
2025-08-16llm/openai: log previews with real newlines (%s) instead of quoted strings ↵Paul Buetow
(%q) for better readability
2025-08-16llm: add pluggable provider with OpenAI default; extensive logging; LSP ↵Paul Buetow
completion integration with TextEdit, param-aware prompts; remove idle gating; label/filter improvements; docs update