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]: Codestral fim #531

Closed
2 tasks done
pwnified opened this issue Jun 2, 2024 · 2 comments
Closed
2 tasks done

[Bug]: Codestral fim #531

pwnified opened this issue Jun 2, 2024 · 2 comments

Comments

@pwnified
Copy link

pwnified commented Jun 2, 2024

Before Reporting

  • I have checked FAQ, and there is no solution to my issue
  • I have searched the existing issues, and there is no existing issue for my issue

What happened?

Any reason why Codestral Fim wont work? Seems like a 404 error, but I know that endpoint works. The Chat endpoint works.

How to reproduce the bug.

https://codestral.mistral.ai/v1/fim/completions
Model Name: codestral-latest

Screenshot 2024-06-02 at 2 42 26 PM

Screenshot 2024-06-02 at 2 45 35 PM

Screenshot 2024-06-02 at 2 47 30 PM

Relevant log output

No response

macOS version

14.5 (23F79)

Xcode version

Version 15.4 (15F31d)

Copilot for Xcode version

Version 0.33.2 (385)

@pwnified pwnified added the bug Something isn't working label Jun 2, 2024
@intitni
Copy link
Owner

intitni commented Jun 3, 2024

Hello, it's not a chat completions endpoint but an FIM (Fill in the middle) endpoint that works only for code completions with a different request body structure. It's not supported yet since it's the first time I have heard of it.

Please submit a feature request to CustomSuggestionServiceForCopilotForXcode. I will work on it later. Pull requests are also welcomed.

@intitni
Copy link
Owner

intitni commented Jun 24, 2024

Released in https://github.com/intitni/CustomSuggestionServiceForCopilotForXcode/releases/tag/0.4.0

You will need to setup a custom model (FIM API) to use it.

@intitni intitni closed this as completed Jun 24, 2024
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