sarath2803 commited on
Commit
f084cd9
·
verified ·
1 Parent(s): 1ad7b95

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -198,7 +198,7 @@ class BasicAgent:
198
  answer = openrouter_inference(question_with_prompt)
199
  except Exception as e:
200
  print(f"Error calling OpenRouter: {e}")
201
- answer = "Sorry, I couldn't get an answer from the model."
202
  print(f"Agent returning answer: {answer.strip()}")
203
  return answer.strip()
204
  # # Fix: handle dict or string
 
198
  answer = openrouter_inference(question_with_prompt)
199
  except Exception as e:
200
  print(f"Error calling OpenRouter: {e}")
201
+ answer = f"Sorry, I couldn't get an answer from the model {e}."
202
  print(f"Agent returning answer: {answer.strip()}")
203
  return answer.strip()
204
  # # Fix: handle dict or string