You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
swarms/swarms/agents/multi_modal_agent.py

14 lines
379 B

from swarms.workers.multi_modal_workers.multi_modal_agent import MultiModalVisualAgent
class MultiModalVisualAgent:
def __init__(
self,
agent: MultiModalVisualAgent
):
self.agent = agent
def _run(self, text: str) -> str:
#run the multi-modal visual agent with the give task
return self.agent.run_text(text)