Skip to content

Fix failing sequential tool calls#93

Merged
Iamsdt merged 2 commits into10xHub:mainfrom
atharvacoolkni:main
Apr 8, 2026
Merged

Fix failing sequential tool calls#93
Iamsdt merged 2 commits into10xHub:mainfrom
atharvacoolkni:main

Conversation

@atharvacoolkni
Copy link
Copy Markdown
Contributor

Fixes #92

This pull request contains a minor formatting update and a logic change to tool resolution in agent execution. The most significant change ensures that tools are always resolved, allowing for sequential tool calls even after tool results are returned.

Agent execution logic:

  • Updated execute method in agent_internal/execution.py to always resolve tools, enabling support for models (such as Gemini 2.5+) that may call additional tools sequentially after initial tool results.

Formatting:

  • Reformatted the A2A_EXTRA_INSTALL_HINT string in _optional.py for consistency and readability.

@codecov
Copy link
Copy Markdown

codecov bot commented Apr 8, 2026

Codecov Report

❌ Patch coverage is 0% with 2 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
agentflow/core/graph/agent_internal/execution.py 0.00% 2 Missing ⚠️

📢 Thoughts on this report? Let us know!

@Iamsdt Iamsdt merged commit 855dfe7 into 10xHub:main Apr 8, 2026
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Sequential tool calls fail with Google Gemini

2 participants