kyegomez / swarms

The Enterprise-Grade Production-Ready Multi-Agent Orchestration Framework Join our Community: https://discord.com/servers/agora-999382051935506503
https://docs.swarms.world
GNU Affero General Public License v3.0
1.81k stars 248 forks source link

[BUG] ToolAgent example #510

Open evelynmitchell opened 5 months ago

evelynmitchell commented 5 months ago

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

Fund with Polar