refactor: comment out ls tool handling, update assistant UI colors and spacing.

This commit is contained in:
Anish Sarkar 2025-12-28 01:30:53 +05:30
parent 2c64fcc38e
commit 0164659f7a
3 changed files with 13 additions and 13 deletions

View file

@ -557,15 +557,15 @@ async def stream_new_chat(
status="in_progress",
items=last_active_step_items,
)
elif tool_name == "ls":
last_active_step_title = "Exploring files"
last_active_step_items = []
yield streaming_service.format_thinking_step(
step_id=tool_step_id,
title="Exploring files",
status="in_progress",
items=None,
)
# elif tool_name == "ls":
# last_active_step_title = "Exploring files"
# last_active_step_items = []
# yield streaming_service.format_thinking_step(
# step_id=tool_step_id,
# title="Exploring files",
# status="in_progress",
# items=None,
# )
else:
last_active_step_title = f"Using {tool_name.replace('_', ' ')}"
last_active_step_items = []