bstraehle commited on
Commit
cdb88a2
1 Parent(s): dff5262

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -82,12 +82,13 @@ triage_agent = create_triage_agent(_client)
82
  sales_agent = create_sales_agent(_client)
83
  issues_repairs_agent = create_issues_repairs_agent(_client)
84
 
 
 
85
  triage_thread = create_thread(_client)
86
  sales_thread = create_thread(_client)
87
  issues_repairs_thread = create_thread(_client)
88
 
89
- _assistant = triage_agent
90
- _thread = triage_thread
91
  ###
92
 
93
  def chat(message, history, openai_api_key):
 
82
  sales_agent = create_sales_agent(_client)
83
  issues_repairs_agent = create_issues_repairs_agent(_client)
84
 
85
+ set_current_agent(triage_agent)
86
+
87
  triage_thread = create_thread(_client)
88
  sales_thread = create_thread(_client)
89
  issues_repairs_thread = create_thread(_client)
90
 
91
+ set_current_thread(triage_thread)
 
92
  ###
93
 
94
  def chat(message, history, openai_api_key):