Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -499,7 +499,7 @@ STRICT REQUIREMENTS:
|
|
| 499 |
logger.error("No content received from Anthropic API")
|
| 500 |
return "Error: No content received from API", None, None
|
| 501 |
|
| 502 |
-
|
| 503 |
logger.debug("Successfully received response from Anthropic API")
|
| 504 |
|
| 505 |
# Execute SymPy code and append results
|
|
|
|
| 499 |
logger.error("No content received from Anthropic API")
|
| 500 |
return "Error: No content received from API", None, None
|
| 501 |
|
| 502 |
+
response_text = message.content[0].text
|
| 503 |
logger.debug("Successfully received response from Anthropic API")
|
| 504 |
|
| 505 |
# Execute SymPy code and append results
|