Skip to content

Conversation

albertvillanova
Copy link
Member

@albertvillanova albertvillanova commented Apr 11, 2025

Fix tool validation with multiple assignments.

Currently, a tool with these code lines

a, b = "1", "2"
c = a + b

raises an error:

[
    "Name 'a' is undefined.",
    "Name 'b' is undefined.",
]

@albertvillanova albertvillanova merged commit 4f87703 into huggingface:main Apr 11, 2025
3 checks passed
@albertvillanova albertvillanova deleted the fix-method-checker-missing-multiple-assignment branch April 11, 2025 12:59
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