v1.24.0

farion1231/cc-switchv1.24.0Jan 16, 2026by albertvillanova

AI Summary

This release focuses on stability and compatibility, including backward compatibility fixes for deprecated models, Gradio 6 support, and a robust timeout mechanism for Python execution.

Key Highlights

  • Backward compatibility for deprecated HfApiModel
  • Gradio 6 compatibility
  • Robust timeout mechanism for Python execution
  • Support for GPT-5.2 model list

New Features

  • Support passing additional params to apply_chat_template
  • FinalAnswerStep callback support
  • DeepWiki badge addition

Full Release Notes

## What's Changed
* Bump version to 1.24 by @aymeric-roucher in https://github.com/huggingface/smolagents/pull/1871
* Fix: Add backward compatibility for deprecated HfApiModel by @MohammadKassas143 in https://github.com/huggingface/smolagents/pull/1863
* Fix typo in secure_code_execution.md by @jonathanagustin in https://github.com/huggingface/smolagents/pull/1892
* Update no-stop-sequence model list to support gpt-5.2* by @aymeric-roucher in https://github.com/huggingface/smolagents/pull/1895
* Fix run_gaia.py token_counts when managed agent is called more than once by @suryabdev in https://github.com/huggingface/smolagents/pull/1878
* 🌐 [i18n-KO] Translated `tools.md` to Korean by @Kim-Ju-won in https://github.com/huggingface/smolagents/pull/1835
* Support passing additional params to apply_chat_template by @albertvillanova in https://github.com/huggingface/smolagents/pull/1902
* fix(gradio_ui): Gradio 6 compatibility by @alejandro-ao in https://github.com/huggingface/smolagents/pull/1903
* Coerce tool calls from APIs into smolagents ChatMessageToolCall format by @aymeric-roucher in https://github.com/huggingface/smolagents/pull/1900
* Add FinalAnswerStep to possible step_callbacks by @suryabdev in https://github.com/huggingface/smolagents/pull/1881
* Upgrade GitHub Actions for Node 24 compatibility by @salmanmkc in https://github.com/huggingface/smolagents/pull/1909
* fix: prevent FinalAnswerException from being caught by except Exception by @majiayu000 in https://github.com/huggingface/smolagents/pull/1914
* Add DeepWiki badge to README by @aymeric-roucher in https://github.com/huggingface/smolagents/pull/1846
* Implement robust timeout mechanism for Python execution by @albertvillanova in https://github.com/huggingface/smolagents/pull/1910

## New Contributors
* @MohammadKassas143 made their first contribution in https://github.com/huggingface/smolagents/pull/1863
* @jonathanagustin made their first contribution in https://github.com/huggingface/smolagents/pull/1892
* @alejandro-ao made their first contribution in https://github.com/huggingface/smolagents/pull/1903
* @salmanmkc made their first contribution in https://github.com/huggingface/smolagents/pull/1909
* @majiayu000 made their first contribution in https://github.com/huggingface/smolagents/pull/1914

**Full Changelog**: https://github.com/huggingface/smolagents/compare/v1.23.0...v1.24.0