Commit Graph
23 Commits
Author SHA1 Message Date
dwrz ceaab03ea2 Refactol llm pkg 2026-10-30 22:36:15 +00:00
dwrz 2426509531 Add conversation pkg 2026-10-23 23:41:35 +00:00
dwrz ad493d5aec Add llm validation 2026-10-11 19:55:34 +00:00
dwrz c8b7176978 Add llm message validate 2026-10-11 11:07:41 +00:00
dwrz 75040646e3 Use json v2 2026-10-11 00:55:57 +00:00
dwrz c1a64be31c Refactor llm pkg 2026-10-09 15:29:37 +00:00
dwrz bee05be62d Refactor llm client timeout 2026-10-08 01:01:35 +00:00
dwrz ef6cf36f48 Document llm NewClient logger help 2026-09-26 17:16:40 +00:00
dwrz 7224fea99f Refactor llm package 2026-09-20 12:49:42 +00:00
dwrz 0e768eca84 Add tool binary file detection 2026-07-08 14:29:42 +00:00
dwrz 6c4b74fd6d Refactor tool output format 2026-07-08 11:52:45 +00:00
dwrz 6592bae15d Add concurrent tool calls 2026-07-08 01:59:11 +00:00
dwrz 27fa702071 Add reasoning effort 2026-07-07 19:13:25 +00:00
dwrz d212a52120 Add OpenRouter reasoning support 2026-06-29 16:25:42 +00:00
dwrz ec9e0a80f8 Add context tracking 2026-06-27 12:35:11 +00:00
dwrz f2edd39160 Add debug stats 2026-06-27 00:13:16 +00:00
dwrz d21ed0dd4d Add reasoning streaming 2026-06-26 18:03:43 +00:00
dwrz f6fb21d40c Replace go-openai with native client
Drop the github.com/sashabaranov/go-openai dependency in favor of an
internal HTTP client.

The LLM package is now split into:
- llm.go: type definitions (Message, ChatRequest, ChatResponse, etc.)
- client.go: client construction and configuration
- client_completions.go: Completions and CompletionsStream methods
- client_models.go: ListModels
- client_tools.go: tool call execution

CompletionsStream uses typed SSE events (delta, done, message) so the
frontend can render progressive streaming output.

Move tool.go and tool_test.go from internal/tool/ into internal/llm/
to co-locate the registry with the client that consumes it.

Update job.go and service.go to use the new llm.Message types and
Completions/CompletionsStream methods. Remove the Voice field from
chat request/response (voice is now tracked via message metadata).

Frontend: handle delta/done/message SSE events, render a streaming
placeholder that receives progressive text deltas, and finalize with
full message binding (reasoning, tool calls, actions).
2026-06-26 14:22:05 +00:00
dwrz f5e72b1c7a Add support for multiple providers 2026-06-19 14:31:41 +00:00
dwrz b75ad9067a Add llm client max iterations 2026-06-02 12:02:49 +00:00
dwrz 9ea4005e96 Add user defined system message 2026-05-28 00:53:08 +00:00
dwrz 0e41537949 Rename Go module 2026-02-21 19:47:00 +00:00
dwrz 6f0509ff18 Add LLM client 2026-02-13 15:02:37 +00:00