M5 step 4, second part. The services start the LLM first: the installed Strata with the M0 kit's model and normal placement (models in models/llm, parallel 1, or 2 when a chat channel answers every message, pictures off, --restart), wait until /v1/models lists the model, and stop it last. The first start downloads the model; the dashboard shows Strata's last line and percentage, and stop also cancels a start (the server is cleared). llm.url uses a server the app does not start. On every start the app writes config/brain.json (Strata's /v1, the listed model id, memory/jarvis.db) and hands it to the worker as JARVIS_CONFIG_PATH. Loading a config with its own db_path no longer creates ~/.local/share/jarvis. service_start/service_restart run in the background. Settings gain llm.context and llm.port (model screen) and llm.url (file only). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
30 lines
543 B
Rust
30 lines
543 B
Rust
//! Jarvis v2 app core (see `app/src/discord_core.spec.md`).
|
|
|
|
pub mod log;
|
|
pub mod admin_api;
|
|
pub mod calls;
|
|
pub mod chat;
|
|
pub mod control;
|
|
pub mod conversation;
|
|
pub mod dashboard;
|
|
pub mod datadir;
|
|
pub mod discord;
|
|
pub mod discord_setup;
|
|
pub mod download;
|
|
pub mod earcon;
|
|
pub mod frames;
|
|
pub mod install;
|
|
pub mod logs;
|
|
pub mod playback;
|
|
pub mod policy;
|
|
pub mod receive;
|
|
pub mod secrets;
|
|
pub mod services;
|
|
pub mod settings;
|
|
pub mod settings_edit;
|
|
pub mod speakers;
|
|
pub mod strata;
|
|
pub mod system;
|
|
pub mod worker_client;
|
|
pub mod worker_process;
|