turnstone/web/src/views
pyr0ball cae9cd7eee feat: switch LLM backend to OpenAI-compat; add cf-orch remote inference support
Turnstone now calls /v1/chat/completions instead of Ollama's /api/generate.
This format works with both local Ollama (>=0.1.24) and a remote cf-orch
coordinator, enabling GPU-less nodes like Xander's to route diagnoses through
the cluster without any local model.

- llm.py: OpenAI-compat messages format, optional Bearer auth header
- diagnose.py: thread llm_api_key through the call chain
- rest.py: llm_api_key pref (default empty), SettingsBody field, passed to diagnose
- SettingsView.vue: API Key field, label updated from "Ollama URL" to "LLM Endpoint URL"
- tests: updated mocks for new response shape; added bearer token assertion test
2026-05-12 12:58:38 -07:00
..
BundlesView.vue feat: incident labeling, bundle export, and push/receive flow 2026-05-11 05:23:55 -07:00
DashboardView.vue feat: live watch mode — tail journald/docker/podman sources continuously (#4) 2026-05-11 15:34:13 -07:00
DiagnoseView.vue feat: add Quick/Structured tabs to DiagnoseView 2026-05-11 09:20:47 -07:00
IncidentsView.vue refactor: remove incident form from IncidentsView — now in DiagnoseView Structured tab 2026-05-11 09:22:25 -07:00
LogSearchView.vue feat: Vue 3 frontend and FastAPI REST layer 2026-05-08 16:27:59 -07:00
SettingsView.vue feat: switch LLM backend to OpenAI-compat; add cf-orch remote inference support 2026-05-12 12:58:38 -07:00
SourcesView.vue feat: Vue 3 frontend and FastAPI REST layer 2026-05-08 16:27:59 -07:00