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 Contributor2'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 |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| test_export_corpus.py | ||
| test_ingest_dmesg.py | ||
| test_ingest_qbittorrent.py | ||
| test_ingest_syslog.py | ||
| test_services_diagnose.py | ||
| test_services_llm.py | ||
| test_watch_watcher.py | ||