| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
Hi @Venkaiahbabuneelam, gentle check-in on this PR adding a warning when function calling mode is ANY with automatic function calling enabled. Happy to make any adjustments. |
Sorry, something went wrong.
…alling enabled Fixes googleapis#2839
| Back | FazBrowse Home | New Git URL |
Summary
Fixes #2839.
When tool_config.function_calling_config.mode is set to ANY, the model is forced to emit a function call on every turn and cannot generate a final natural language answer. When combined with automatic function calling (AFC), AFC iteratively executes the tool and sends the response back to the model, which must emit another function call until maximum_remote_calls is exhausted. This returns an empty response without warning the user.
Changes
Testing
Ran pytest suite: