fix(agent): remove preview truncation in assistant message output
Updated the AIAgent class to print the full content of assistant messages without truncation, enhancing visibility of the messages during runtime. This change improves the clarity of communication from the agent.
This commit is contained in:
parent
719f2eef32
commit
45d132d098
@ -3577,8 +3577,7 @@ class AIAgent:
|
||||
if self.quiet_mode:
|
||||
clean = self._strip_think_blocks(turn_content).strip()
|
||||
if clean:
|
||||
preview = clean[:120] + "..." if len(clean) > 120 else clean
|
||||
print(f" ┊ 💬 {preview}")
|
||||
print(f" ┊ 💬 {clean}")
|
||||
|
||||
messages.append(assistant_msg)
|
||||
self._log_msg_to_db(assistant_msg)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user