Streaming outputs for ToolCallingAgent 🚀 by aymeric-roucher · Pull Request #1409 · huggingface/smolagents (original) (raw)

Skip to content

Sign in

Appearance settings

View all features

View all solutions

View all resources

Provide feedback

We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Saved searches

Use saved searches to filter your results more quickly

Sign in

Sign up

Appearance settings

huggingface / smolagents Public

Additional navigation options

Merged

aymeric-roucher merged 2 commits intomainfrom

stream-toolcallingagent-outputs

Jun 3, 2025

ConversationCommits (2)ChecksFiles changed

Merged

Streaming outputs for ToolCallingAgent 🚀#1409

aymeric-roucher merged 2 commits intomainfrom

stream-toolcallingagent-outputs

Conversation

@aymeric-roucher

Copy link Copy Markdown

Collaborator

@aymeric-roucher aymeric-roucher commented

Jun 3, 2025

edited

Loading

In an effort to raise support for ToolCallingAgent to the level of CodeAgent, here are streaming outputs for ToolCallingAgent! Models supporting tool-calling + streaming are InferenceClient and OpenAI, we can add more later on.
cc @albertvillanova @julien-c

aymeric-roucher added 2 commits

June 3, 2025 13:40

@aymeric-roucher

[Streaming outputs for ToolCallingAgent 🚀](/huggingface/smolagents/pull/1409/commits/009700cee6b5935b72a49433db54afa6630da647 "Streaming outputs for ToolCallingAgent 🚀")

[009700c](/huggingface/smolagents/pull/1409/commits/009700cee6b5935b72a49433db54afa6630da647)

@aymeric-roucher

[Fix broken tests](/huggingface/smolagents/pull/1409/commits/f36550575da020a30a5af2c21306453466e3409a "Fix broken tests")

[f365505](/huggingface/smolagents/pull/1409/commits/f36550575da020a30a5af2c21306453466e3409a)

albertvillanova

albertvillanova approved these changes Jun 3, 2025

View reviewed changes

Copy link Copy Markdown

Member

@albertvillanova albertvillanova left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!! 🚀

@aymeric-roucher aymeric-roucher merged commit 927301e into main

Jun 3, 2025

4 checks passed

@dengyunsheng250

Copy link Copy Markdown

dengyunsheng250 commented

Jun 5, 2025

@aymeric-roucher hi, will the streaming tool calling output for ollama be successsful?

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters

[ Show hidden characters]({{ revealButtonHref }})

Sign up for free to join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@albertvillanova albertvillanova albertvillanova approved these changes

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@aymeric-roucher @dengyunsheng250 @albertvillanova