af6329729745a1e3f851b6f3e8429ac3d129e0d1
server.js: /llm-status probe + /llm-chat proxy to the local llama.cpp OpenAI-compatible server (192.168.3.7:1234, model ctx 131072, 2 parallel sessions). Model name, base URL and token budget pinned server-side (LLM_BASE/LLM_MODEL/LLM_MAX_TOKENS env to override); non-streaming, since the hidden thinking text shares max_tokens with the visible answer. app.js: checkLLM() alongside checkRouter(); free-form chat now goes to the model with a compact live plan snapshot (bookings, stays, per-day stops with times) as system context. Deterministic UI intents (discovery drawer, time nudges, swaps) stay local — the LLM proposes, the UI commits. Canned-reply fallback when the server is down or the model is not loaded; status badge now reads e.g. 'online · router · llm'.
Description
Trip planner
1.6 MiB
Languages
JavaScript
59.8%
Go
19.7%
CSS
7.6%
Shell
3.7%
Lua
3.5%
Other
5.6%