Commit Graph

38 Commits

Author SHA1 Message Date
dwrz
3e60e6be03 Fix spinner location 2026-06-26 17:11:46 +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
e480538ec2 Fix TTS queue 2026-06-19 17:48:13 +00:00
dwrz
f5e72b1c7a Add support for multiple providers 2026-06-19 14:31:41 +00:00
dwrz
c71300b1bf Refactor STT architecture 2026-06-15 10:51:17 +00:00
dwrz
70e1a995f3 Fix missing tool call output 2026-06-14 12:45:39 +00:00
dwrz
c17c48f269 Refactor TTS architecture 2026-06-13 18:55:16 +00:00
dwrz
4b629a2bc7 Allow sending current conversation state 2026-06-13 00:44:01 +00:00
dwrz
0c1346bd77 Add delete message button 2026-06-12 19:29:30 +00:00
dwrz
1308954121 Fix viewport meta tag 2026-06-12 19:22:57 +00:00
dwrz
495c89de0e Replace string context keys with typed constants 2026-06-09 23:28:29 +00:00
dwrz
c158283f3d Reformat JS and CSS 2026-06-09 23:27:12 +00:00
dwrz
02567c732f Add wakelock 2026-06-09 23:17:55 +00:00
dwrz
3321fce4fa Add scroll button and auto-scroll 2026-06-09 18:50:25 +00:00
dwrz
6c8c04c804 Add stop button 2026-06-09 01:32:49 +00:00
dwrz
ad58cd78ff Add staticcheck tool 2026-06-06 01:17:29 +00:00
dwrz
6fb63c8c90 Add cron jobs to service 2026-06-02 12:04:12 +00:00
dwrz
e5238e4081 Add load job configuration 2026-06-02 12:03:15 +00:00
dwrz
9751a24c1e Add job package 2026-06-02 12:03:03 +00:00
dwrz
b75ad9067a Add llm client max iterations 2026-06-02 12:02:49 +00:00
dwrz
f19177bd84 Remove concurrency config
Inference engines handle this now.
2026-06-02 12:02:38 +00:00
dwrz
07377abff6 Add reset confirmation 2026-05-28 01:00:12 +00:00
dwrz
9ea4005e96 Add user defined system message 2026-05-28 00:53:08 +00:00
dwrz
a06833bb8b Fix dashed border 2026-05-22 12:27:24 +00:00
dwrz
79492c9529 Refactor message icons 2026-05-01 01:14:18 +00:00
dwrz
9898ffe52a Update .ignore 2026-04-25 18:53:46 +00:00
dwrz
9f21a4623a Fix null reference error 2026-04-25 18:53:42 +00:00
dwrz
0e41537949 Rename Go module 2026-02-21 19:47:00 +00:00
dwrz
9193fb5a0b Add README.org 2026-02-13 15:04:26 +00:00
dwrz
c9b7af0894 Add LICENSE 2026-02-13 15:04:17 +00:00
dwrz
9b3c61a2d8 Add example systemd units 2026-02-13 15:04:02 +00:00
dwrz
3cd36e7558 Add odidere command 2026-02-13 15:03:49 +00:00
dwrz
d5a27c776e Add service orchestration and web UI 2026-02-13 15:03:37 +00:00
dwrz
6f0509ff18 Add LLM client 2026-02-13 15:02:37 +00:00
dwrz
5e703a3dd4 Add tool registry 2026-02-13 15:02:07 +00:00
dwrz
c655dfc650 Add STT and TTS clients 2026-02-13 15:01:20 +00:00
dwrz
faa1798eb0 Add build configuration 2026-02-13 15:00:31 +00:00
dwrz
0740968bca Initialize module and dependencies 2026-02-13 14:59:42 +00:00