Skip to content

Conversation

@tconley1428
Copy link
Contributor

What was changed

Replace isinstance(t, type(Tool)) with checking only for callable. This is the common failure case where an activity is passed directly. This and all other such problems should be caught by type checkers as well, but leaving this as extra protection.

Why?

Tests fail on latest dependencies due to the use of isinstance on a type which has become a subscripted generic in 0.6.4.

Checklist

  1. Closes

  2. How was this tested:

  1. Any docs updates needed?

@tconley1428 tconley1428 requested a review from a team as a code owner December 19, 2025 20:32
@VegetarianOrc VegetarianOrc merged commit f0bd341 into main Dec 19, 2025
25 of 27 checks passed
@VegetarianOrc VegetarianOrc deleted the openai/fix_generics_is_instance branch December 19, 2025 21:33
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.

3 participants