Skip to content

Fix: Add default value to optional argument #1155

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 11, 2025

Conversation

rca-umb
Copy link
Contributor

@rca-umb rca-umb commented Apr 7, 2025

provide_final_answer() has an optional argument images, but since no default value is provided, this can raise exceptions if you don't specify it. Simply defaulting to None should give the desired functionality.

`provide_final_answer()` has an optional argument `images`, but since no default value is provided, this can raise exceptions if you don't specify it. Simply defaulting to `None` should give the desired functionality.
@rca-umb rca-umb changed the title Add default value to optional argument Fix: Add default value to optional argument Apr 7, 2025
@aymeric-roucher aymeric-roucher merged commit a6dd8a3 into huggingface:main Apr 11, 2025
3 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.

2 participants