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:
teknium1 2026-03-02 00:32:06 -08:00
parent 719f2eef32
commit 45d132d098

View file

@ -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)