Update llm_handler.py
Browse files- llm_handler.py +1 -1
llm_handler.py
CHANGED
@@ -24,7 +24,7 @@ settings.stream = True
|
|
24 |
|
25 |
def send_to_llm(provider, msg_list):
|
26 |
try:
|
27 |
-
response = agent.
|
28 |
return response.content, None # We don't have usage info in this case
|
29 |
except Exception as e:
|
30 |
print(f"Error in send_to_llm: {str(e)}")
|
|
|
24 |
|
25 |
def send_to_llm(provider, msg_list):
|
26 |
try:
|
27 |
+
response = agent.get_chat_response(msg_list, settings=settings)
|
28 |
return response.content, None # We don't have usage info in this case
|
29 |
except Exception as e:
|
30 |
print(f"Error in send_to_llm: {str(e)}")
|