Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -452,7 +452,6 @@ def handle_chat_submit(user_message, chat_history, api_key_input, provider_selec
|
|
| 452 |
if error_during_stream:
|
| 453 |
_status = error_during_stream # Set status to the error message
|
| 454 |
elif full_bot_response_content and not full_bot_response_content.startswith("Error: "): # Only parse if it's not an error message
|
| 455 |
-
global parsed_code_blocks_state_cache
|
| 456 |
_status = f"Streaming complete. Processing files from {model_select} response..."
|
| 457 |
|
| 458 |
# Pass the *current state* (updated from markdown at the start)
|
|
|
|
| 452 |
if error_during_stream:
|
| 453 |
_status = error_during_stream # Set status to the error message
|
| 454 |
elif full_bot_response_content and not full_bot_response_content.startswith("Error: "): # Only parse if it's not an error message
|
|
|
|
| 455 |
_status = f"Streaming complete. Processing files from {model_select} response..."
|
| 456 |
|
| 457 |
# Pass the *current state* (updated from markdown at the start)
|