@ -1,4 +1,7 @@
OPENAI_API_KEY="your_openai_api_key_here"
GOOGLE_API_KEY=""
ANTHROPIC_API_KEY=""
WOLFRAM_ALPHA_APPID="your_wolfram_alpha_appid_here"
ZAPIER_NLA_API_KEY="your_zapier_nla_api_key_here"
@ -1,8 +1,10 @@
from dataclasses import dataclass
import sys
from typing import Dict, List, Optional, Union
from swarms.workers.worker import Worker
@dataclass
class GroupChat:
"""A group chat with multiple participants with a list of agents and a max number of rounds"""
@ -104,6 +104,11 @@ class Worker:
"""
self.message_history = ["Here is the conversation so far"]
@property
def name(self):
return self.ai_name
def receieve(self, name: str, message: str) -> None:
Receive a message and update the message history.