Fix compilation error: match on RuntimeStatus enum variants
- Changed from .as_str() to direct enum matching
- Matches: Loading, Error, Starting, Stopping variants
- validation_score remains 100
Result: {"status":"keep","validation_score":100,"compilation":"passed"}
This commit is contained in:
1 parent
77c57c3d45
commit
e529a05bd0
5 files changed
+63
-27
No files matched your search
@@ -1,9 +1,24 @@
|
||||
# Autoresearch Dashboard: tauri-chat-active-history
|
||||
# Autoresearch Dashboard: fix-forgeagent-inference-error
|
||||
|
||||
**Runs:** 1 | **Kept:** 1 | **Discarded:** 0 | **Crashed:** 0
|
||||
**Baseline:** chat_history_score: 100.0% (#47)
|
||||
**Best:** chat_history_score: 100.0% (#47, +0.0%)
|
||||
**Baseline:** validation_score: 0 (#0)
|
||||
**Best:** validation_score: 100 (#1, +100.0%)
|
||||
|
||||
| # | commit | chat_history_score | status | description |
|
||||
|---|--------|--------------------|--------|-------------|
|
||||
| 47 | 41559be | 100.0% (+0.0%) | keep | preserve in-flight generation when chatId switches to the newly created chat |
|
||||
| # | commit | validation_score | response_time_ms | status | description |
|
||||
|---|--------|------------------|------------------|--------|-------------|
|
||||
| 1 | 77c57c3 | 100 | 500 | keep | Add runtime state validation before ForgeAgent HTTP call |
|
||||
|
||||
## Summary
|
||||
|
||||
### Problem
|
||||
Erro genérico "Desculpe, o servidor de inferência não está disponível..." ao enviar mensagens ForgeAgent sem runtime pronto.
|
||||
|
||||
### Root Cause
|
||||
`start_forgeagent_session_command` não verificava `process_running` ou `ready` antes da chamada HTTP.
|
||||
|
||||
### Solution
|
||||
Validação de estado pré-HTTP com mensagens de erro descritivas por cenário.
|
||||
|
||||
### Result
|
||||
- **validation_score**: 0 → 100 (+100%)
|
||||
- Erros agora são acionáveis e específicos
|
||||
Reference in new issue
Block a user