Commit Graph

404 Commits

Author SHA1 Message Date
joaopauloschuler d2f4eecba4
Authorize base function "complex" in local_python_executor.py (#79) 2025-01-08 22:57:20 +01:00
Zetaphor b4528d6a6f
Implement OpenAIServerModel (#109) 2025-01-08 22:39:41 +01:00
Aymeric Roucher d3cd0f9e09
Auto correct wrong assignments to final_answer (#123)
* Auto correct wrong assignments to final_answer
2025-01-08 19:04:11 +01:00
Aymeric Roucher e5d879feab
Change DuckDuckGoSearchTool output_type to string (#116)
* Change DuckDuckGoSearchTool output_type to string and update description accordingly
2025-01-08 09:59:58 +01:00
Aymeric 681758ae84 Fix failing import test in test_agents.py 2025-01-07 14:09:01 +01:00
Izaak Curry 6b8467c546
Fix Spelling Errors in Documentation (#99)
* Update docs/tutorials/tools.md
2025-01-07 14:07:30 +01:00
Omar Irfan Khan 10e0db06e0
fixing spelling and grammar for query in docs/examples/multiagents.md (#98) 2025-01-07 14:05:06 +01:00
Freddy Boulton 7f3a88c597
Small tweaks to Gradio demo 2025-01-07 14:04:11 +01:00
Aymeric 7b191952f8 Update version and doc builder 2025-01-07 14:02:01 +01:00
Aymeric Roucher d09d4c3a54
Merge pull request #95 from derekalia/patch-1
Update docs/examples/rag.md with missing verb
2025-01-07 10:04:48 +01:00
Derek Alia f6ed22561a
Update rag.md with missing verb
Missing verb in “The agent can the generated snippets ...”

Original:
“The agent can the generated snippets and re-retrieve if needed, as in Self-Query.”

Fix:

“The agent can use the generated snippets and re-retrieve if needed, as in Self-Query.”
2025-01-06 16:16:58 -08:00
Aymeric e0ff435caf Merge branch 'main' of github.com:huggingface/smolagents 2025-01-06 22:47:23 +01:00
Aymeric 58d25acff5 Clarify warning for missing imports 2025-01-06 22:47:13 +01:00
Aymeric Roucher dd2896e887
Merge pull request #92 from DarwinAnim8or/patch-1
Include missing pip install library in RAG example
2025-01-06 22:42:10 +01:00
Aymeric Roucher 723582aacf
Update rag.md 2025-01-06 22:30:29 +01:00
Aymeric Roucher b1353720af
Merge pull request #89 from alxfgh/fix-doc-tutorial-errors
Fixed typos and grammatical errors in building_good_agents.md
2025-01-06 22:28:45 +01:00
Gie "Max" Vanommeslaeghe 1f11b9569c
Include missing pip install library 2025-01-06 22:08:56 +01:00
Aymeric c47ea60037 Remove tests on test_utils.py 2025-01-06 22:08:45 +01:00
Aymeric d45c63555f Pass more tests 2025-01-06 22:04:00 +01:00
Aymeric 01abe5921a Add accelerate to test requirements 2025-01-06 21:59:27 +01:00
Aymeric c22fedaee1 Sort imports and add test workflows 2025-01-06 21:48:15 +01:00
Aymeric 417c6685b0 Fix quality.yml 2025-01-06 21:14:05 +01:00
Aymeric 10fee97902 Update test workflows 2025-01-06 21:05:41 +01:00
Alexander Feghali 5de8d442e3 Fixed grammatical errors in building_good_agents.md tutorial 2025-01-06 14:35:59 -05:00
Aymeric Roucher eae4b6fb3c
Merge pull request #40 from Stillerman/main
Add max_results kwarg to DuckDuckGoSearchTool
2025-01-06 19:34:13 +01:00
Aymeric e8617b3037 Finalize multiagent tests 2025-01-06 19:33:50 +01:00
Aymeric Roucher 1f24794ca5
Delete examples/ddg_leopard.py 2025-01-06 19:33:23 +01:00
Tom McKenzie ff8e20d93f
Don't pass sanitize_inputs_outputs=True to managed agents (#85) 2025-01-06 18:27:10 +00:00
Aymeric 0824785b7a Add tests for multiagent hierarchies 2025-01-06 19:24:46 +01:00
Aymeric 4fa8255377 Detail tool building options in guided tour 2025-01-06 18:27:02 +01:00
Aymeric c98cd1543d Further detail doc on LLM choice 2025-01-06 18:18:03 +01:00
Aymeric 2933ed30d5 Improve system prompt documentation 2025-01-06 18:06:33 +01:00
Aymeric 4a99f8b8d8 Detail LLM choice options 2025-01-06 17:55:21 +01:00
Aymeric e9119c9df5 Replace max_iteration with max_steps for consistency 2025-01-06 17:25:45 +01:00
Aymeric Roucher 07015d12fe
Merge pull request #72 from CakeCrusher/CakeCrusher/guide_fixes
e2b details
2025-01-06 15:06:46 +01:00
Aymeric Roucher a6a4f48d2e
Update guided_tour.md 2025-01-06 15:05:54 +01:00
Aymeric Roucher dbb8b7f5ce
Fix examples/tool_calling_agent_ollama.py 2025-01-06 14:59:21 +01:00
Aymeric Roucher c3a11e09da
Merge pull request #75 from lelayf/fix_space_tool_fwd_sig_validation
Fix forward signature validation in `SpaceToolWrapper`
2025-01-06 14:43:42 +01:00
Aymeric Roucher d742a844de
Merge pull request #22 from gary149/patch-1
Update README.md: add link to blog post
2025-01-06 14:38:22 +01:00
Aymeric Roucher 7c43cb8d5f
Update README.md 2025-01-06 14:37:47 +01:00
Aymeric 57061ba926 Add system prompt modification in building_good_agents 2025-01-06 14:18:56 +01:00
Aymeric Roucher 4cfe4a6573
Merge pull request #29 from chakib-belgaid/feature/litellm_kwargs
Add support for additional keyword arguments in LiteLLMModel
2025-01-06 14:09:43 +01:00
Aymeric Roucher 6520ddeded
Merge pull request #53 from Brunwo/main
Fix ToolCollection by passing `trust_remote_code`argument.
2025-01-06 14:04:12 +01:00
Aymeric f3c4edb073 Remove references to transformers.agents in doc and examples 2025-01-06 14:02:58 +01:00
Aymeric Roucher d7044343b6
Merge pull request #74 from oliveredget/fix
Fix typos
2025-01-06 14:00:19 +01:00
Aymeric Roucher 19143af576
Merge pull request #49 from ScientistIzaak/add-device-parameter
Add device parameter for TransformerModel in models.py
2025-01-06 13:57:33 +01:00
Aymeric 4ac9050368 Fix Tool.from_hub with correct file path 2025-01-06 13:47:22 +01:00
François Le Lay f0fc41d328 style 2025-01-06 07:31:17 -05:00
François Le Lay fef210e845 delete flux example notebook 2025-01-06 07:27:19 -05:00
Aymeric 20aa691b26 Clarify in guided tour where to change system prompt 2025-01-06 13:20:06 +01:00