Skip to content
This repository has been archived by the owner on Jan 24, 2024. It is now read-only.

TypeError: issubclass() arg 1 must be a class #253

Open
gsuuon opened this issue Sep 4, 2023 · 1 comment
Open

TypeError: issubclass() arg 1 must be a class #253

gsuuon opened this issue Sep 4, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@gsuuon
Copy link

gsuuon commented Sep 4, 2023

I'm getting this error with version 0.21.1

docker run -p 80:80 -e MODEL=smallcloudai/Refact-1_6B-fim -e MODEL_TRUST_REMOTE_CODE=true hyperonym/basaran:0.21.1

but not with version 0.19.0

docker run -p 80:80 -e MODEL=smallcloudai/Refact-1_6B-fim -e MODEL_TRUST_REMOTE_CODE=true hyperonym/basaran:0.19.0

Looks like maybe something like this is necessary?

@peakji peakji added the bug Something isn't working label Sep 5, 2023
@andrewisplinghoff
Copy link

Yeah got the same and fixed it by upgrading to latest Pydantic.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants