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.
This commit is contained in:
1 parent
e529a05bd0
commit
5f86c69b03
7 files changed
+53
-201
No files matched your search
@@ -1,12 +1,13 @@
|
||||
# Autoresearch Dashboard: fix-forgeagent-inference-error
|
||||
|
||||
**Runs:** 1 | **Kept:** 1 | **Discarded:** 0 | **Crashed:** 0
|
||||
**Runs:** 2 | **Kept:** 2 | **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 |
|
||||
| # | 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
|
||||
|
||||
@@ -21,4 +22,15 @@ 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." |
|
||||
Reference in new issue
Block a user