Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -212,8 +212,10 @@ set_current_thread(triage_thread)
|
|
212 |
def chat(message, history, openai_api_key):
|
213 |
global _client
|
214 |
|
215 |
-
_assistant = get_current_agent
|
216 |
-
|
|
|
|
|
217 |
|
218 |
create_message(_client, _thread, message)
|
219 |
|
|
|
212 |
def chat(message, history, openai_api_key):
|
213 |
global _client
|
214 |
|
215 |
+
_assistant = get_current_agent()
|
216 |
+
show_json("_assistant", _assistant)
|
217 |
+
_thread = get_current_thread()
|
218 |
+
show_json("_thread", _thread)
|
219 |
|
220 |
create_message(_client, _thread, message)
|
221 |
|