feat: add chat_tui example for FastGPT with Textual interface
- Introduced a new example script `chat_tui.py` that provides a full-screen Textual interface for interacting with FastGPT. - Implemented streaming chat updates, workflow logging, and modal handling for interactive nodes. - Enhanced FastGPT client with new streaming capabilities and structured event types for better interaction handling. - Normalized base URL handling in the client to prevent duplicate `/api` paths. - Added tests for streaming event parsing and interaction handling.
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
API_KEY=""
|
||||
BASE_URL=""
|
||||
CHAT_ID=""
|
||||
APP_ID=""
|
||||
APP_ID=""
|
||||
|
||||
Reference in New Issue
Block a user