feat: nexus diag, Diagnose-Archiv ohne Prompts und Keys (#1050)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
@ -1,9 +1,10 @@
|
||||
//! Nexus: AI Gateway für srv04.
|
||||
//!
|
||||
//! Befehle: `version`, `selftest`, `serve`, `key ...`, `model ...`.
|
||||
//! Befehle: `version`, `selftest`, `serve`, `key ...`, `model ...`, `diag`.
|
||||
|
||||
mod admin;
|
||||
mod cli;
|
||||
mod diag;
|
||||
mod logcap;
|
||||
mod logging;
|
||||
mod selftest;
|
||||
@ -25,6 +26,7 @@ Aufruf:
|
||||
nexus model add --name N --engine ollama --tag MODELLNAME [--gpus 0] [--disabled]
|
||||
nexus model add --name N --engine maya --maya-config PFAD.json [--gpus 0,1] [--disabled]
|
||||
nexus model list | enable --name N | disable --name N | discover [--engine llama.cpp|ollama|maya]
|
||||
nexus diag [--out DATEI.tar.gz] [--ohne-engine-logs] Diagnose-Archiv ohne Prompts und Keys
|
||||
nexus help Diese Hilfe
|
||||
|
||||
Die Konfiguration kommt aus --config, sonst NEXUS_CONFIG, sonst ./config.toml, sonst gelten Standardwerte.
|
||||
@ -42,6 +44,7 @@ async fn main() -> ExitCode {
|
||||
Some("serve") => serve::command(&args[1..]).await,
|
||||
Some("key") => admin::key(&args[1..]),
|
||||
Some("model") => admin::model(&args[1..]).await,
|
||||
Some("diag") => diag::command(&args[1..]),
|
||||
Some("help") | Some("--help") | None => {
|
||||
print!("{HILFE}");
|
||||
ExitCode::SUCCESS
|
||||
|
||||
Reference in New Issue
Block a user