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

Bug: Unable to integrate the completion endpoint with Cline [Error: type must be string, but is array] #631

Open
ocrumbs opened this issue Nov 16, 2024 · 2 comments

Comments

@ocrumbs
Copy link

ocrumbs commented Nov 16, 2024

Contact Details

No response

What happened?

Cline has feature to integrate OpenAI comptible endpoints. So I tried with awesome llamafile. However Cline is giving such an error:

500 Internal Server Error\n[json.exception.type_error.302] type must be string, but is array

I believe this would be game changer if llamafile could work with it. I also believe this issue is from llamafile and not Cline.

Related issue #258

Version

llamafile v0.8.16

What operating system are you seeing the problem on?

Linux

Relevant log output

No response

@ocrumbs
Copy link
Author

ocrumbs commented Nov 16, 2024

This issue is not medium severity. Apologies.

@surfirst
Copy link

I also encountered this issue when running a llamafile server with '--server' option.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants