bstraehle commited on
Commit
68d9b97
1 Parent(s): cdb88a2

Update agents.py

Browse files
Files changed (1) hide show
  1. agents.py +4 -1
agents.py CHANGED
@@ -10,11 +10,14 @@ from utils import function_to_schema
10
 
11
  MODEL = "gpt-4o-mini"
12
 
13
- _assistant = None
14
 
15
  def set_current_agent(agent):
16
  _assistant = agent
17
 
 
 
 
18
  def create_triage_agent(client):
19
  return client.beta.assistants.create(
20
  name="Triage Agent",
 
10
 
11
  MODEL = "gpt-4o-mini"
12
 
13
+ _assistant, _thread = None, None
14
 
15
  def set_current_agent(agent):
16
  _assistant = agent
17
 
18
+ def set_current_thread(thread):
19
+ _thread = thread
20
+
21
  def create_triage_agent(client):
22
  return client.beta.assistants.create(
23
  name="Triage Agent",