naclfish Claude Sonnet 4.6 commited on
Commit
2628a0b
·
1 Parent(s): 81917a3

Add tools/ folder, fix agent answer format and Wikipedia proxy

Browse files

- Add tools/ with web_search (Serper), wikipedia_search, python_repl, file_handler
- Fix Wikipedia 403 by adding User-Agent header
- Fix answer format: enforce ENTIRE response = only final answer
- Fix list output: comma-separated, no Python brackets
- Add [Task ID] prefix to questions so agent uses correct task_id
- Increase max iterations from 10 to 15
- Add .gitignore to protect .env, data/, __pycache__

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

10 files changed +398 -8
Files changed (10)
.gitignoreAdded+6
app.py+140-7
requirements.txt+4-1
test_agent.pyAdded+30
tools/__init__.pyAdded+6
tools/_session.pyAdded+5
tools/calculator.pyAdded+26
tools/file_handler.pyAdded+90
tools/search.pyAdded+40
tools/wikipedia.pyAdded+51