fix(ai-chat): fix AI Chat and Assistant to work with LM Studio

- Fix response parsing: check report field, not just message
- Pass user query text to LLM instead of ignoring it
- Append user question to diagnostic prompt with system context
- Increase timeout to 120s for LM Studio responses
- Add command_status_from_args to core/common.uc exports

Closes #38
This commit is contained in:
Dushnilin
2026-08-19 15:57:42 +03:00
parent a161ae4845
commit 0964b79171
60 changed files with 616 additions and 1496 deletions
+1 -1
View File
@@ -74,7 +74,7 @@ run_uc() {
TACHYON_SNAPSHOT_LIMIT="${SNAPSHOT_LIMIT:-10}" \
TACHYON_SNAPSHOT_VALIDATE_BIN="${VALIDATE_BIN:-$WORK_DIR/fake-validate}" \
TACHYON_SNAPSHOT_BIN_LOG="$WORK_DIR/bin.log" \
ucode -L "$WORK_DIR/lib" "$SNAPSHOT_UC" "$mode" "$@"
ucode -L "$WORK_DIR/lib" -L "$TACHYON_LIB" "$SNAPSHOT_UC" "$mode" "$@"
}
# ---- snapshot-save: creates a tar.gz with the Telegram backup member layout