-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
Run failed: ‘can only concatenate str (not “list”) to str’ when using llama-3-sqlcoder-8b model in Chatflow #11553
Comments
The error "can only concatenate str (not 'list') to str" suggests that there is an attempt to concatenate a string with a list in the Chatflow environment. This issue might be due to how the Chatflow component processes inputs or outputs differently compared to Chatbot Basic. To resolve this, you should check the following:
By addressing these areas, you should be able to identify and fix the source of the error. To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other |
fixed in #11504 |
I tried on https://cloud.dify.ai, It's the latest version? |
No, this just merge yesterday. I think this is not on the Cloud. |
Thanks. It's working as expected. |
Hi, I have also encountered the same problem, "can only concatenate str (not "list") to str I tried updating dify to latest version using: but the problem still exist. This is the dsl I am using. Any help would be appreciated. Thank you! @crazywoola |
Thanks, will check it . |
It seems like you are using Docker, and I'm not sure if it is up to date. |
there's no problem in my side using your dsl please use latest code and retry |
Self Checks
Dify version
0.13.0
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
When using the llama-3-sqlcoder-8b (Completion) model in Chatflow, the following error occurs:
Run failed: can only concatenate str (not "list") to str.
However, the model works correctly in Chatbot Basic.
Environment Details:
• Model: llama-3-sqlcoder-8b (Completion)
• Hosting Platform: Xorbits Inference
• Error Context: Chatflow usage
Screenshots:
1. Chatflow Run Failure
2. Chatbot Basic Working Normally
![chatbot](https://private-user-images.githubusercontent.com/74103156/394673558-9230f281-0b47-4096-94b2-2e6713f001e2.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkwMTA0MjAsIm5iZiI6MTczOTAxMDEyMCwicGF0aCI6Ii83NDEwMzE1Ni8zOTQ2NzM1NTgtOTIzMGYyODEtMGI0Ny00MDk2LTk0YjItMmU2NzEzZjAwMWUyLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA4VDEwMjIwMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTM4NzU0YjNkMWM3MDM2MjBkYzY2YzdjOGRmNDMzZTlhNGY5NWUxZmQ3YjQ0MjNkNWUwMzIyM2EzZWIwMWQwNWMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.zp2i9dh_QaPEQqc2KYWsRjH7Tko4dpU4NsqCjFgRnOI)
Steps to Reproduce:
1. Install the llama-3-sqlcoder-8b model on Xorbits Inference.
2. Configure it in Chatflow.
3. Execute a request.
4. Observe the error message.
✔️ Expected Behavior
The model should run in Chatflow without errors, just as it does in Chatbot Basic.
❌ Actual Behavior
Run fail.
The text was updated successfully, but these errors were encountered: