Skip to content

fix(agentgateway): always pass explicit args_schema to prevent stray kwargs field - #486

Open
biscimus wants to merge 2 commits into
SAP:mainfrom
biscimus:fix/empty-tool-call
Open

biscimus wants to merge 2 commits into
SAP:mainfrom
biscimus:fix/empty-tool-call

Conversation

@biscimus

@biscimus biscimus commented Nov 30, 2026 •

Copy link
Copy Markdown

Description

AGW & MCP builder fails on an empty tool call from an agent.

Type of Change

Please check the relevant option:

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update
  • Code refactoring
  • Dependency update

How to Test

Describe how reviewers can test your changes:

Checklist

Before submitting your PR, please review and check the following:

  • I have read the Contributing Guidelines
  • I have verified that my changes solve the issue
  • I have added/updated automated tests to cover my changes
  • All tests pass locally
  • I have verified that my code follows the Code Guidelines
  • I have updated documentation (if applicable)
  • I have added type hints for all public APIs
  • My code does not contain sensitive information (credentials, tokens, etc.)
  • I have followed Conventional Commits for commit messages
  • (New modules only) I have attached e2e evidence showing the module working against a real BTP service
  • (Security-sensitive changes only) I have run /security-review and addressed all ❌ findings

Breaking Changes

If this PR introduces breaking changes, please describe:

  • What breaks
  • Migration path for users
  • Alternative approaches considered

Additional Notes

Add any additional context, screenshots, or information that would help reviewers.

@biscimus
biscimus requested a review from a team as a code owner November 30, 2026 14:54
@cla-assistant

cla-assistant Bot commented Nov 30, 2026 •

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@cassiofariasmachado

Copy link
Copy Markdown
Member

Please adjust the title of the pull request to follow the Conventional Commits pattern and run the /review-pr skill locally.

biscimus

This comment was marked as outdated.

@biscimus biscimus changed the title Fix empty tool call behavior fix(agentgateway): always pass explicit args_schema to prevent stray kwargs field Dec 1, 2026
@biscimus

biscimus commented Dec 1, 2026

Copy link
Copy Markdown
Author

Fixed PR title following Conventional Commits

This branch has not been deployed

No deployments
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.

2 participants