Upload folder using huggingface_hub
Browse files
utils.py
CHANGED
@@ -19,7 +19,7 @@ def highlight_code_html(code):
|
|
19 |
|
20 |
def pull_message(step_log: dict):
|
21 |
if step_log.get("rationale"):
|
22 |
-
yield "🧠 Thinking...",
|
23 |
if step_log.get("tool_call"):
|
24 |
used_code = step_log["tool_call"]["tool_name"] == "code interpreter"
|
25 |
content = step_log["tool_call"]["tool_arguments"]
|
|
|
19 |
|
20 |
def pull_message(step_log: dict):
|
21 |
if step_log.get("rationale"):
|
22 |
+
yield "🧠 Thinking...", str(step_log["rationale"])
|
23 |
if step_log.get("tool_call"):
|
24 |
used_code = step_log["tool_call"]["tool_name"] == "code interpreter"
|
25 |
content = step_log["tool_call"]["tool_arguments"]
|