Severian commited on
Commit
66be049
1 Parent(s): e7e950a

Update llm_handler.py

Browse files
Files changed (1) hide show
  1. 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.chat(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)}")
 
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)}")