What's Changed
- Bump dev version: v1.22.0.dev0 by @albertvillanova in #1657
- refactor(PythonExecutor): inherit from ABC and declare abstract methods by @HairlessVillager in #1654
- Fix error for GPT-5 not supporting the
stop
parameter by @Xmader in #1662 - Enable return_full_result directly in run method by @aymeric-roucher in #1658
- Make RunResult json serializable by @aymeric-roucher in #1659
- Change truncation to remove end rather than middle by @aymeric-roucher in #1665
- Document that model kwargs are forwarded to model completion call by @albertvillanova in #1679
- Fix missing kwargs forward to vLLM model generate call by @albertvillanova in #1680
- Raise RuntimeError with LiteLLM response details if no choices by @albertvillanova in #1683
- Fix AmazonBedrockModel with reasoning/thinking content by @albertvillanova in #1681
- Fix installation command in README by quoting extra by @shahgahmed in #1685
- CI hotfix: Pin openai < 1.100.0 for litellm extra by @albertvillanova in #1693
- Support openai 1.100 for litellm extra by @albertvillanova in #1698
- Pin telemetry extra >=0.1.15 to use new TokenUsage structure by @albertvillanova in #1699
- Add AGENTS.md by @albertvillanova in #1701
- Test telemetry extra by @albertvillanova in #1700
- Replace slim with bullseye base image in Docker executor by @albertvillanova in #1702
- fix: error missing f-string by @njbrake in #1691
- Support custom Dockerfile in DockerExecutor by @albertvillanova in #1705
- Support MCP structured output and output schema by @chahn in #1663
- Improve agent image handling by @aaron-ang in #1601
- 🌐 [i18n-KO] Translated
multiagents.md
to Korean by @pyapyapya in #1644 - Fix CI 403 error for Wikipedia page in test_visit_webpage by @albertvillanova in #1716
- fix typos in the system prompt by @Frame17 in #1710
- Fix pip install commands by quoting extras by @albertvillanova in #1690
- Fix deprecation warning about parameter messages by @albertvillanova in #1718
- Fix warning about parameter max_new_tokens by @albertvillanova in #1721
- Adds Modal Remote Executor by @thomasjpfan in #1722
- Fix formatting of title in translation section of documentation by @albertvillanova in #1727
- Remove untranslated sections from the documentation by @albertvillanova in #1729
- fix: add ipykernel in dockerfile of prebuilt docker executor by @cyyeh in #1731
- Fix E2BExecutor by pinning e2b-code-interpreter to < 2 by @albertvillanova in #1733
- Fix DockerExecutor connection reset error with server readiness check by @benoriol in #1684
- [i18n-KO] Translated building_good_agents.md to Korean by @FacerAin in #1714
- 🌐 [i18n-KO] Translated installation.md to Korean by @FacerAin in #1647
- Support e2b-code-interpreter v2 by @August-murr in #1751
- Fix token count initialization when plan_message.token_usage is None by @satwikkansal in #1752
- Support user-configurable parameter override for model completion parameters by @albertvillanova in #1678
- Fix error for grok-4/grok-3-mini not supporting the stop parameter by @suryabdev in #1766
- Replace DockerExecutor Dockerfile with file object by @albertvillanova in #1738
- Update documentation to clarify
instructions
are appended by @chahn in #1709 - 🌐 [i18n-KO] Translated
react.md
to Korean by @nsbg in #1666 - Pass tools_to_call_from to TransformersModel._prepare_completion_kwargs by @albertvillanova in #1782
- 🌐 [i18n-KO] Translated
models.md
to Korean by @Kim-Ju-won in #1776 - Fix AttributeError when trying to log a None by @albertvillanova in #1786
- fix(agent): remove unused get_variable_names function by @keli-wen in #1784
- Fix XPath injection in search_item_ctrl_f by @albertvillanova in #1768
- Use context manager for per-operation websocket connection in DockerExecutor by @albertvillanova in #1750
New Contributors
- @Xmader made their first contribution in #1662
- @shahgahmed made their first contribution in #1685
- @aaron-ang made their first contribution in #1601
- @pyapyapya made their first contribution in #1644
- @Frame17 made their first contribution in #1710
- @cyyeh made their first contribution in #1731
- @satwikkansal made their first contribution in #1752
- @suryabdev made their first contribution in #1766
- @Kim-Ju-won made their first contribution in #1776
- @keli-wen made their first contribution in #1784
Full Changelog: v1.21.3...v1.22.0