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

chore: remote provider error handling and chore bug fix #4480

Merged

Conversation

louis-jan
Copy link
Contributor

@louis-jan louis-jan commented Jan 17, 2025

Describe Your Changes

This PR resolved the issue where first-time users were directed to the My Models page before the engines were fully populated. Consequently, they were unable to view a comprehensive list of supported engines.

To address this, bump cortex.cpp to the latest RC version to handle the streamed error from remote providers.

This version bump also addressed llava vision model load issue.

Self Checklist

This pull request includes a significant update to the mistral.json file within the engine-management-extension resources. The most important change involves the transformation template for chat completions, which has been modified to include a more detailed and specific JSON structure.

Improvements to transformation template:

  • extensions/engine-management-extension/resources/mistral.json: The template for the chat_completions URL has been updated to selectively include specific keys from the input_request and format them into a JSON object. This change ensures that only relevant keys are included in the request payload, improving the accuracy and efficiency of the transformation process.

@louis-jan louis-jan requested a review from urmauur January 17, 2025 11:07
@louis-jan louis-jan changed the title Chore/correct mistral ai request transformation template chore: remote provider error handling and chore bug fix Jan 17, 2025
Copy link
Contributor

Barecheck - Code coverage report

Total: 67.98%

Your code coverage diff: 0.00% ▴

Uncovered files and lines
FileLines
core/src/browser/extensions/engines/helpers/sse.ts39-40, 58-60, 88-89, 99-101, 105, 111, 118

@louis-jan louis-jan merged commit 0547cac into main Jan 17, 2025
17 checks passed
@louis-jan louis-jan deleted the chore/correct-mistral-ai-request-transformation-template branch January 17, 2025 11:18
@github-actions github-actions bot added this to the v0.5.16 milestone Jan 17, 2025
Copy link
Contributor

This is the build for this pull request. You can download it from the Artifacts section here: Build URL.

@imtuyethan imtuyethan modified the milestones: v0.5.16, v0.5.15 Jan 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants