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
+16
-2
@@ -8,8 +8,8 @@
|
||||
---
|
||||
|
||||
## Data Summary
|
||||
- **JSONL runs**: 1
|
||||
- **Kept**: 1
|
||||
- **JSONL runs**: 2
|
||||
- **Kept**: 2
|
||||
- **Discarded**: 0
|
||||
- **Crashed**: 0
|
||||
|
||||
@@ -24,6 +24,20 @@
|
||||
- **Insight**: O erro ocorria porque o código não verificava o estado do runtime antes de fazer a requisição HTTP. A correção valida o estado e emite mensagens descritivas.
|
||||
- **Next**: Testar manualmente em modo local e remoto
|
||||
|
||||
### Run 2: Fix compilation error — validation_score=100 (KEEP)
|
||||
- **Timestamp**: 2026-04-02
|
||||
- **What changed**: Changed `snapshot.status.as_str()` to direct enum matching on `RuntimeStatus` variants.
|
||||
- **Result**: validation_score=100, compilation=passed
|
||||
- **Insight**: `RuntimeStatus` é um enum Rust, não string. Match direto nas variantes é o padrão idiomatico.
|
||||
- **Bug fix**: `RuntimeStatus::Loading`, `Error`, `Starting`, `Stopping`
|
||||
|
||||
### Run 2: Fix compilation error — validation_score=100 (KEEP)
|
||||
- **Timestamp**: 2026-04-02
|
||||
- **What changed**: Changed `snapshot.status.as_str()` to direct enum matching on `RuntimeStatus` variants.
|
||||
- **Result**: validation_score=100, compilation=passed
|
||||
- **Insight**: `RuntimeStatus` é um enum Rust, não string. Match direto nas variantes é o padrão idiomatico.
|
||||
- **Bug fix**: `RuntimeStatus::Loading`, `Error`, `Starting`, `Stopping`
|
||||
|
||||
---
|
||||
|
||||
## Key Insights
|
||||
|
||||
Reference in new issue
Block a user