- 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"}
25 lines
920 B
Markdown
25 lines
920 B
Markdown
# Autoresearch Dashboard: fix-forgeagent-inference-error
|
|
|
|
**Runs:** 1 | **Kept:** 1 | **Discarded:** 0 | **Crashed:** 0
|
|
**Baseline:** validation_score: 0 (#0)
|
|
**Best:** validation_score: 100 (#1, +100.0%)
|
|
|
|
| # | 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
|