Ubik80 commited on
Commit
6478b83
·
verified ·
1 Parent(s): 6d36bae

Update agent.py

Browse files
Files changed (1) hide show
  1. agent.py +1 -2
agent.py CHANGED
@@ -54,11 +54,10 @@ def create_agent() -> CodeAgent:
54
  Returns:
55
  CodeAgent: Configured with GAIA tools.
56
  """
57
- # Initialize the model for CodeAgent
58
  model = OpenAIServerModel(model_id="gpt-3.5-turbo")
59
- # Instantiate CodeAgent with default prompt and provided tools
60
  agent = CodeAgent(
61
  tools=[fetch_questions, fetch_random_question, submit_answers],
62
  model=model
 
63
  )
64
  return agent
 
54
  Returns:
55
  CodeAgent: Configured with GAIA tools.
56
  """
 
57
  model = OpenAIServerModel(model_id="gpt-3.5-turbo")
 
58
  agent = CodeAgent(
59
  tools=[fetch_questions, fetch_random_question, submit_answers],
60
  model=model
61
+ # Use CodeAgent's built-in prompt handling
62
  )
63
  return agent