Files
ForgeLM/autoresearch-dashboard.md
Evandro Fonseca Junior 5f86c69b03 fix: restore standard chat message flow - remove broken ForgeAgent integration
- Removed complex ForgeAgent state management from ChatView and MessageBubble
- Messages now display as simple text with markdown rendering
- Removed useMemoryExtractor hook and memory system prompt logic
- Simplified message persistence (no forgeagent_state column)
- Fixed agentic mode to show AI response as text instead of fake plan

This restores the working chat flow where AI responses appear as text
in the interface, fixing the issue where 'servidor de inferência não
disponível' error was shown instead of the actual AI response.
2026-04-02 16:05:31 -03:00

1.5 KiB

Autoresearch Dashboard: fix-forgeagent-inference-error

Runs: 2 | Kept: 2 | Discarded: 0 | Crashed: 0 Baseline: validation_score: 0 (#0) Best: validation_score: 100 (#1, +100.0%)

# commit validation_score compilation status description
1 77c57c3 100 passed keep Add runtime state validation before ForgeAgent HTTP call
2 e529a05 100 passed keep Fix compilation: match RuntimeStatus enum variants

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%)
  • compilation: passed
  • Erros agora são acionáveis e específicos

Error Messages

Status Message
!process_running "O runtime local não está iniciado. Inicie o runtime antes de usar o ForgeAgent."
Loading "O modelo está carregando. Aguarde antes de enviar mensagens."
Error "Erro no runtime: {detalhe}"
Starting "O runtime está iniciando. Aguarde..."
Stopping "O runtime está parando. Aguarde finalizar."
Other "O runtime não está pronto. Tente reiniciar."