System Info
version 0.0.253
Running on a Jupyter Notebook in Google Colab
Who can help?
No response
Information
Related Components
Reproduction
Follow the steps in Access Intermediate Steps within the Agent "How To".
The final step calls for
print(json.dumps(response["intermediate_steps"], indent=2))
This is throwing the following error:
TypeError: Object of type AgentAction is not JSON serializable
Based on this issue I think it may be happening following a recent upgrade.
Expected behavior
Printing the intermediate steps as JSON.
System Info
version 0.0.253
Running on a Jupyter Notebook in Google Colab
Who can help?
No response
Information
Related Components
Reproduction
Follow the steps in Access Intermediate Steps within the Agent "How To".
The final step calls for
print(json.dumps(response["intermediate_steps"], indent=2))This is throwing the following error:
TypeError: Object of type AgentAction is not JSON serializableBased on this issue I think it may be happening following a recent upgrade.
Expected behavior
Printing the intermediate steps as JSON.