lwant commited on
Commit
abc07a2
Β·
1 Parent(s): 4814e24

fix get_text_representation_of_additional_file

Browse files
Files changed (1) hide show
  1. src/gaia_solving_agent/agent.py +3 -1
src/gaia_solving_agent/agent.py CHANGED
@@ -81,7 +81,8 @@ class GaiaWorkflow(Workflow):
81
  additional_file_path = await ctx.store.get("additional_file_path")
82
  user_msg = await ctx.store.get("user_msg")
83
 
84
- llm = get_llm(reasoning_model_name)
 
85
  prompt_template = RichPromptTemplate(PLANING_PROMPT)
86
  file_extension = Path(additional_file_path).suffix if additional_file_path else ""
87
  prompt = prompt_template.format(
@@ -237,6 +238,7 @@ gaia_solving_agent = FunctionAgent(
237
 
238
  You will be provided a question, some known facts summarizing the user provided context and some sub-tasks to complete.
239
  You should follow the order of the sub-tasks.
 
240
  """,
241
  name="gaia_solving_agent",
242
  description="Agent that browse additional information and resources on the web.",
 
81
  additional_file_path = await ctx.store.get("additional_file_path")
82
  user_msg = await ctx.store.get("user_msg")
83
 
84
+ llm = openai_llm
85
+ # llm = get_llm(reasoning_model_name)
86
  prompt_template = RichPromptTemplate(PLANING_PROMPT)
87
  file_extension = Path(additional_file_path).suffix if additional_file_path else ""
88
  prompt = prompt_template.format(
 
238
 
239
  You will be provided a question, some known facts summarizing the user provided context and some sub-tasks to complete.
240
  You should follow the order of the sub-tasks.
241
+ If the tools provides facts that go against your knowledge, you should not use them.
242
  """,
243
  name="gaia_solving_agent",
244
  description="Agent that browse additional information and resources on the web.",