v1.6.0

huggingface/smolagentsv1.6.0Jan 28, 2025by albertvillanova

AI Summary

This release focuses on usability improvements including optional dependencies for Transformers, auto-detection for Vision Language Models, and a significantly enhanced Gradio UI.

Key Highlights

  • Transformers as optional dependency
  • VLM auto-detection
  • Enhanced Gradio UI
  • Chinese translations

New Features

  • Optional transformers dependency
  • VLM support
  • Improved Gradio interface

Full Release Notes

## What's Changed
* Bump version to 1.6.0.dev by @albertvillanova in https://github.com/huggingface/smolagents/pull/348
* Use transformers as optional dependency by @albertvillanova in https://github.com/huggingface/smolagents/pull/360
* Add pip install datasets to RAG example by @sanjeed5 in https://github.com/huggingface/smolagents/pull/371
* Update issue templates by @aymeric-roucher in https://github.com/huggingface/smolagents/pull/377
* TransformersModel auto-detects VLMs by @aymeric-roucher in https://github.com/huggingface/smolagents/pull/378
* Separate tree for Model docs is added by @touseefahmed96 in https://github.com/huggingface/smolagents/pull/382
* add kwargs to gradio launch by @tocab in https://github.com/huggingface/smolagents/pull/367
* Minor Fix in the example docs by @touseefahmed96 in https://github.com/huggingface/smolagents/pull/383
* Fix Extra planning by @bvantuan in https://github.com/huggingface/smolagents/pull/362
* Gradio chatbot: step duration, number, token count, support nested thoughts by @yvrjsharma in https://github.com/huggingface/smolagents/pull/384
    - Gradio Chatbot looks much nicer than before! See below:
<img width="1240" alt="image" src="https://github.com/user-attachments/assets/261088ba-e07a-4293-ac50-188dd5eabe74" />

* Add Chinese translations for text-to-sql example by @FanwangM in https://github.com/huggingface/smolagents/pull/366
* Add Chinese translations for RAG by @FanwangM in https://github.com/huggingface/smolagents/pull/363
* `Qwen-2VL` -> `Qwen2-VL` model name typo fixed by @sergiopaniego in https://github.com/huggingface/smolagents/pull/349
* chore: Fix Typo by Calling is_torch_available() in AgentAudio Class by @hironow in https://github.com/huggingface/smolagents/pull/379
* Additional parameters for openai client by @touseefahmed96 in https://github.com/huggingface/smolagents/pull/385
* DuckDuckGoSearchTool: add ddgs_kwargs parameter to constructor by @onukura in https://github.com/huggingface/smolagents/pull/372
* Fix final_answer issue in e2b_executor by @keetrap in https://github.com/huggingface/smolagents/pull/319
* Docs: Text to sql example - minor naming / dedupe by @GrahamTheCoder in https://github.com/huggingface/smolagents/pull/376
* Test import without extras by @albertvillanova in https://github.com/huggingface/smolagents/pull/370
* Add tool saving test by @aymeric-roucher in https://github.com/huggingface/smolagents/pull/389
* Fix blocking of os in authorized imports by @aymeric-roucher in https://github.com/huggingface/smolagents/pull/386
* Add test for DDGS Tool kwargs by @aymeric-roucher in https://github.com/huggingface/smolagents/pull/387

## New Contributors
* @tocab made their first contribution in https://github.com/huggingface/smolagents/pull/367
* @bvantuan made their first contribution in https://github.com/huggingface/smolagents/pull/362
* @sergiopaniego made their first contribution in https://github.com/huggingface/smolagents/pull/349
* @hironow made their first contribution in https://github.com/huggingface/smolagents/pull/379
* @onukura made their first contribution in https://github.com/huggingface/smolagents/pull/372
* @GrahamTheCoder made their first contribution in https://github.com/huggingface/smolagents/pull/376

**Full Changelog**: https://github.com/huggingface/smolagents/compare/v1.5.1...v1.6.0