Spaces:
Running
Running
Update agents.py
Browse files
agents.py
CHANGED
@@ -10,6 +10,11 @@ from utils import function_to_schema
|
|
10 |
|
11 |
MODEL = "gpt-4o-mini"
|
12 |
|
|
|
|
|
|
|
|
|
|
|
13 |
def create_triage_agent(client):
|
14 |
return client.beta.assistants.create(
|
15 |
name="Triage Agent",
|
|
|
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",
|