Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -230,14 +230,14 @@ current_agent, current_thread = None, None
|
|
230 |
def set_current_agent(agent):
|
231 |
global current_agent
|
232 |
#print("### set_current_agent ###")
|
233 |
-
|
234 |
-
show_json("Current Agent", current_agent)
|
235 |
|
236 |
def set_current_thread(thread):
|
237 |
global current_thread
|
238 |
#print("### set_current_thread ###")
|
239 |
-
|
240 |
-
show_json("Current Thread", current_thread)
|
241 |
|
242 |
def get_current_agent():
|
243 |
global current_agent
|
|
|
230 |
def set_current_agent(agent):
|
231 |
global current_agent
|
232 |
#print("### set_current_agent ###")
|
233 |
+
current_agent = agent
|
234 |
+
#show_json("Current Agent", current_agent)
|
235 |
|
236 |
def set_current_thread(thread):
|
237 |
global current_thread
|
238 |
#print("### set_current_thread ###")
|
239 |
+
current_thread = thread
|
240 |
+
#show_json("Current Thread", current_thread)
|
241 |
|
242 |
def get_current_agent():
|
243 |
global current_agent
|