Spaces:
Running
Running
fix: bool type error
Browse files
app.py
CHANGED
@@ -187,8 +187,8 @@ def submit(sender_value, chatbot_value):
|
|
187 |
|
188 |
# Reasoning content (tool type)
|
189 |
message_content.append({
|
190 |
-
"copyable":
|
191 |
-
"editable":
|
192 |
"type": "tool",
|
193 |
"content": "",
|
194 |
"options": {
|
@@ -237,7 +237,6 @@ def submit(sender_value, chatbot_value):
|
|
237 |
else:
|
238 |
reasoning_duration = 0.0
|
239 |
thought_cost_time = "0.00"
|
240 |
-
# Simplify options structure
|
241 |
message_content[-2]["options"] = {
|
242 |
"title": f"End of Thought ({thought_cost_time}s)"
|
243 |
}
|
|
|
187 |
|
188 |
# Reasoning content (tool type)
|
189 |
message_content.append({
|
190 |
+
"copyable": "false",
|
191 |
+
"editable": "false",
|
192 |
"type": "tool",
|
193 |
"content": "",
|
194 |
"options": {
|
|
|
237 |
else:
|
238 |
reasoning_duration = 0.0
|
239 |
thought_cost_time = "0.00"
|
|
|
240 |
message_content[-2]["options"] = {
|
241 |
"title": f"End of Thought ({thought_cost_time}s)"
|
242 |
}
|