taha454 commited on
Commit
a44cb1b
·
verified ·
1 Parent(s): f05c774

Update agent.py

Browse files
Files changed (1) hide show
  1. agent.py +1 -1
agent.py CHANGED
@@ -43,7 +43,7 @@ def get_gpt_and_answer(question):
43
  # result = chain.invoke({"question": question})
44
 
45
  model = ChatGoogleGenerativeAI(model="gemini-2.5-flash")
46
- result = (model.invoke([HumanMessage(content=prompt)]).content)
47
 
48
  return result #(result['text'])
49
 
 
43
  # result = chain.invoke({"question": question})
44
 
45
  model = ChatGoogleGenerativeAI(model="gemini-2.5-flash")
46
+ result = (model.invoke([HumanMessage(content=template)]).content)
47
 
48
  return result #(result['text'])
49