Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -174,7 +174,7 @@ def respond(
|
|
| 174 |
else:
|
| 175 |
result = agent.get_chat_response(result[0]["return_value"], role=Roles.tool, chat_history=messages,structured_output_settings=output_settings,
|
| 176 |
print_output=False)
|
| 177 |
-
|
| 178 |
stream = agent.get_chat_response(
|
| 179 |
result[0]["return_value"], role=Roles.tool, llm_sampling_settings=settings, chat_history=messages, returns_streaming_generator=True,
|
| 180 |
print_output=False
|
|
|
|
| 174 |
else:
|
| 175 |
result = agent.get_chat_response(result[0]["return_value"], role=Roles.tool, chat_history=messages,structured_output_settings=output_settings,
|
| 176 |
print_output=False)
|
| 177 |
+
|
| 178 |
stream = agent.get_chat_response(
|
| 179 |
result[0]["return_value"], role=Roles.tool, llm_sampling_settings=settings, chat_history=messages, returns_streaming_generator=True,
|
| 180 |
print_output=False
|