feat(tui): add real-time streaming LLM output with full content display
- Convert LiteLLM requests to streaming mode with stream_request() - Add streaming parser to handle live LLM output segments - Update TUI for real-time streaming content rendering - Add tracer methods for streaming content tracking - Clean function tags from streamed content to prevent display - Remove all truncation from tool renderers for full content visibility
This commit is contained in:
@@ -56,8 +56,7 @@ class PythonRenderer(BaseToolRenderer):
|
||||
text.append("\n")
|
||||
|
||||
if code and action in ["new_session", "execute"]:
|
||||
code_display = cls.truncate(code, 2000)
|
||||
text.append_text(cls._highlight_python(code_display))
|
||||
text.append_text(cls._highlight_python(code))
|
||||
elif action == "close":
|
||||
text.append(" ")
|
||||
text.append("Closing session...", style="dim")
|
||||
|
||||
Reference in New Issue
Block a user