basaran icon indicating copy to clipboard operation
basaran copied to clipboard

TypeError: issubclass() arg 1 must be a class

Open gsuuon opened this issue 2 years ago • 1 comments

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?

gsuuon avatar Sep 04 '23 19:09 gsuuon

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

andrewisplinghoff avatar Sep 15 '23 09:09 andrewisplinghoff