politeles commited on
Commit
7d898d8
·
verified ·
1 Parent(s): e61a68c

Update app.py

Browse files

updated check_reasoning

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -14,7 +14,7 @@ DEFAULT_API_URL = "https://agents-course-unit4-scoring.hf.space"
14
  class BasicAgent:
15
  agent = None
16
  web_agent = None
17
- def check_reasoning(final_answer,agent_memory):
18
  model = OpenAIServerModel("gpt-4o", max_tokens=8096)
19
  prompt = (
20
  f"Here is a user-given task and the agent steps: {agent_memory.get_succinct_steps()}."
 
14
  class BasicAgent:
15
  agent = None
16
  web_agent = None
17
+ def check_reasoning(self,final_answer,agent_memory):
18
  model = OpenAIServerModel("gpt-4o", max_tokens=8096)
19
  prompt = (
20
  f"Here is a user-given task and the agent steps: {agent_memory.get_succinct_steps()}."