Spaces:
Sleeping
Sleeping
Update agent.py
Browse files182 unmodified lines18318418518618718818945 unmodified lines235236237238239240182 unmodified linesmodel=model,tools=tools,add_base_tools=False,max_steps=8,)self.agent.system_prompt = ("""45 unmodified lines- If a question has multiple valid interpretations, choose the **narrowest, most literal** one.- If the answer is not found, say `[ANSWER] - unknown`.---You must follow the examples (These answers are correct in case you see the similar questions):182 unmodified lines18318418518618718818945 unmodified lines235236237238239240241242243244245246247248249250251252182 unmodified linesmodel=model,tools=tools,add_base_tools=False,max_steps=10,)self.agent.system_prompt = ("""45 unmodified lines- If a question has multiple valid interpretations, choose the **narrowest, most literal** one.- If the answer is not found, say `[ANSWER] - unknown`.Hard rulesββββββββββ1. Think internally as much as you like, but **never reveal** chain-of-thought, tool traces, or explanations.2. If the correct reply is unknown or the question is invalid, reply exactly`[ANSWER]unknown`.3. Numerical replies β digits only (no commas, no units, no words).String replies β lowercase, no leading/trailing spaces, no articles (βaβ, βtheβ).Lists β comma-separated, alphabetically sorted, no spaces after commas.4. If the question asks for a set size, return the **count**, not the set.5. After using any tools, stop and output the final line; do **not** echo tool output.6. Violating any rule or adding extra text causes the run to be scored wrong.---You must follow the examples (These answers are correct in case you see the similar questions):
agent.py+13-1