Upload code/agentic_chat.py with huggingface_hub
Browse files269 unmodified lines270271272273274273274275276277269 unmodified lines full_reply_text += new_text
# --- Live Colorization Logic (count-based, works across turns) --- think_open = full_reply_text.count("[THINK]") think_close = full_reply_text.count("[/THINK]") think_open = full_reply_text.count("<think>") think_close = full_reply_text.count("</think>") search_open = full_reply_text.count("<search>") search_close_count = full_reply_text.count("</search>")
code/agentic_chat.py+2-2