transformers/tests/agents
Aymeric Roucher b38612d312
Agents: Improve python interpreter (#31409)
* Improve Python interpreter
* Add with and assert statements
* Prevent overwriting existing tools
* Check interpreter errors are well logged in code agent
* Add lazy evaluation for and and or
* Improve variable assignment
* Fix early return statements in functions
* Add small import fix on interpreter tool
2024-06-18 11:55:36 +02:00
..
__init__.py
test_agent_types.py
test_agents.py Agents: Improve python interpreter (#31409) 2024-06-18 11:55:36 +02:00
test_document_question_answering.py
test_final_answer.py
test_image_question_answering.py
test_python_interpreter.py Agents: Improve python interpreter (#31409) 2024-06-18 11:55:36 +02:00
test_speech_to_text.py
test_text_to_speech.py
test_tools_common.py
test_translation.py