Spaces:
Build error

Tpayne101 commited on
Commit
090bb83
·
verified ·
1 Parent(s): 94d0d4b

Update agentos_core.py

Browse files
Files changed (1) hide show
  1. agentos_core.py +2 -0
agentos_core.py CHANGED
@@ -14,7 +14,9 @@ self.memory.save({
14
  "event": "init",
15
  "details": f"Agent {self.agent_id} initialized."
16
  })
 
17
  def __init__(self, model="gpt-4-turbo"):
 
18
  self.memory = ConversationBufferMemory()
19
  self.agent = ConversationChain(
20
  llm=ChatOpenAI(model_name=model),
 
14
  "event": "init",
15
  "details": f"Agent {self.agent_id} initialized."
16
  })
17
+ class AgentCore:
18
  def __init__(self, model="gpt-4-turbo"):
19
+ # Rest of the code here
20
  self.memory = ConversationBufferMemory()
21
  self.agent = ConversationChain(
22
  llm=ChatOpenAI(model_name=model),