Skip to content
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

[PROBLEM] Error if not issubclass(cls, BaseModel): #1174

Open
gyaneshhere opened this issue May 2, 2024 · 0 comments
Open

[PROBLEM] Error if not issubclass(cls, BaseModel): #1174

gyaneshhere opened this issue May 2, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@gyaneshhere
Copy link

gyaneshhere commented May 2, 2024

Identify the file to be fixed
Using_GPT4_Vision_With_Function_Calling
Describe the problem
assert function throws a TypeError: issubclass() arg 1 must be a class

print("\n===================== Simulating user message 1 =====================")
assert delivery_exception_support_handler("damaged_package").action == "refund_order"

Describe a solution
A working version of code to generate the desired output as shown in the notebook

Screenshots

Screen Shot
@gyaneshhere gyaneshhere added the bug Something isn't working label May 2, 2024
@gyaneshhere gyaneshhere changed the title [PROBLEM] [PROBLEM] Error if not issubclass(cls, BaseModel): May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant