You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is likely fixable by modifying the swarms init.py
---------------------------------------------------------------------------
ModuleNotFoundError Traceback (most recent call last)
[<ipython-input-9-715acb48d350>](https://localhost:8080/#) in <cell line: 5>()
3
4 from swarms import ToolAgent
----> 5 from swarms.utils.json_utils import base_model_to_json
6
7 # Load the pre-trained model and tokenizer
ModuleNotFoundError: No module named 'swarms.utils.json_utils'
---------------------------------------------------------------------------
NOTE: If your import is failing due to a missing package, you can
manually install dependencies using either !pip or !apt.
To view examples of installing some common dependencies, click the
"Open Examples" button below.
---------------------------------------------------------------------------
Upvote & Fund
We're using Polar.sh so you can upvote and help fund this issue.
We receive the funding once the issue is completed & confirmed by you.
Thank you in advance for helping prioritize & fund our backlog.
The text was updated successfully, but these errors were encountered:
the example in the readme is wrong for where you are trying to use it. this pr should fix it and the actual import is from swarms.tools.json_utils import base_model_to_json
This is likely fixable by modifying the swarms init.py
Upvote & Fund
The text was updated successfully, but these errors were encountered: