Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -202,20 +202,14 @@ def get_current_thread():
|
|
202 |
_client = OpenAI(api_key=os.environ.get("OPENAI_API_KEY"))
|
203 |
|
204 |
triage_agent = create_triage_agent(_client)
|
205 |
-
show_json("triage_agent", triage_agent)
|
206 |
sales_agent = create_sales_agent(_client)
|
207 |
-
show_json("sales_agent", sales_agent)
|
208 |
issues_repairs_agent = create_issues_repairs_agent(_client)
|
209 |
-
show_json("issues_repairs_agent", issues_repairs_agent)
|
210 |
|
211 |
set_current_agent(triage_agent)
|
212 |
|
213 |
triage_thread = create_thread(_client)
|
214 |
-
show_json("triage_thread", triage_thread)
|
215 |
sales_thread = create_thread(_client)
|
216 |
-
show_json("sales_thread", sales_thread)
|
217 |
issues_repairs_thread = create_thread(_client)
|
218 |
-
show_json("issues_repairs_thread", issues_repairs_thread)
|
219 |
|
220 |
set_current_thread(triage_thread)
|
221 |
|
|
|
202 |
_client = OpenAI(api_key=os.environ.get("OPENAI_API_KEY"))
|
203 |
|
204 |
triage_agent = create_triage_agent(_client)
|
|
|
205 |
sales_agent = create_sales_agent(_client)
|
|
|
206 |
issues_repairs_agent = create_issues_repairs_agent(_client)
|
|
|
207 |
|
208 |
set_current_agent(triage_agent)
|
209 |
|
210 |
triage_thread = create_thread(_client)
|
|
|
211 |
sales_thread = create_thread(_client)
|
|
|
212 |
issues_repairs_thread = create_thread(_client)
|
|
|
213 |
|
214 |
set_current_thread(triage_thread)
|
215 |
|