Spaces:
Running
Running
Temporary Patch for SiliconFlow API
Browse files
app.py
CHANGED
@@ -196,7 +196,7 @@ class ConvoState:
|
|
196 |
|
197 |
if chunk_content:
|
198 |
dynamic_state.waiting_api = False
|
199 |
-
full_response += chunk_content
|
200 |
self.current["raw"] = full_response
|
201 |
# Update Convo State
|
202 |
think_complete = "</think>" in full_response
|
|
|
196 |
|
197 |
if chunk_content:
|
198 |
dynamic_state.waiting_api = False
|
199 |
+
full_response += chunk_content.replace("<think>","")
|
200 |
self.current["raw"] = full_response
|
201 |
# Update Convo State
|
202 |
think_complete = "</think>" in full_response
|