feat: event-driven ui updates

This commit is contained in:
Dave
2025-12-25 12:39:20 +00:00
parent a97a83ef53
commit e560bd1323
4 changed files with 48 additions and 7 deletions

View File

@@ -22,6 +22,7 @@ The application follows a **Tool-Use (Function Calling)** architecture:
* Validates the request against the **Safety Policy**.
* Executes the native code (File I/O, Shell Process, Search).
* Returns the output (stdout/stderr/file content) to the LLM.
* **Event Loop:** The backend emits real-time events (`chat:update`) to the frontend to ensure UI responsiveness during long-running Agent tasks.
## LLM Provider Abstraction
To support both Remote and Local models, the system implements a `ModelProvider` abstraction layer.