Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update app.py
Browse files
app.py
CHANGED
@@ -176,7 +176,7 @@ def llm_in_loop(history, system_prompt, recursive):
|
|
176 |
if name:
|
177 |
try:
|
178 |
result = str(tools[name].invoke(input=arguments))
|
179 |
-
result = get_summary(model=model, text=result).choices[0].message.content
|
180 |
except Exception as err:
|
181 |
result = f"💥 Error: {err}"
|
182 |
# msg = ChatMessage(
|
|
|
176 |
if name:
|
177 |
try:
|
178 |
result = str(tools[name].invoke(input=arguments))
|
179 |
+
#result = get_summary(model=model, text=result).choices[0].message.content
|
180 |
except Exception as err:
|
181 |
result = f"💥 Error: {err}"
|
182 |
# msg = ChatMessage(
|