-
Notifications
You must be signed in to change notification settings - Fork 13.6k
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
(psycopg2.errors.StringDataRightTruncation) value too long for type character varying(40) #14593
Comments
To resolve the "psycopg2.errors.StringDataRightTruncation: value too long for type character varying(40)" error, you need to increase the length of the
This will allow longer values for the To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other |
Thanks. Have posted a PR #14597. |
hi,this is fixed on my side. but if i restart docker,the DB will cancel the change? when we just install and not need to change DB table manually? docker exec -it docker-db-1 bash dify=# ALTER TABLE dataset_collection_bindings ALTER COLUMN provider_name TYPE VARCHAR(255); |
…ype character varying(40) Fixes langgenius#14593 (langgenius#14597) Co-authored-by: engchina <[email protected]>
…ype character varying(40) Fixes langgenius#14593 (langgenius#14597) Co-authored-by: engchina <[email protected]>
…ype character varying(40) Fixes langgenius#14593 (langgenius#14597) Co-authored-by: engchina <[email protected]>
Self Checks
Dify version
v1.0.0
Cloud or Self Hosted
Self Hosted (Source)
Steps to reproduce
I've created a embeddings provider of openai_api_compatible, while creating a knowledge as below,
error occured
✔️ Expected Behavior
no error
❌ Actual Behavior
, I think maybe the provider_name (in this case: 'langgenius/openai_api_compatible/openai_api_compatible') is too long for provider_name colume on v1.0.0
Full logs as below:
The text was updated successfully, but these errors were encountered: