chore: sync 0.5.14 release into dev #4510
Merged
+9
−19
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Describe Your Changes
This PR aims to synchronize the latest release branch into the dev branch. There will be a series of these PRs for each release to synchronize the latest release into both the main and dev branches.
Self Checklist
This pull request includes multiple changes to update the engine version, improve the handling of message content, and modify prompts in the
ModelHandler
function. The most important changes are grouped by theme and summarized below:Engine Version Updates:
extensions/inference-cortex-extension/download.bat
: UpdatedENGINE_VERSION
from0.1.42-hotfix
to0.1.49
.extensions/inference-cortex-extension/download.sh
: UpdatedENGINE_VERSION
from0.1.42-hotfix
to0.1.49
.extensions/inference-cortex-extension/rollup.config.ts
: UpdatedCORTEX_ENGINE_VERSION
fromv0.1.42-hotfix
tov0.1.49
.Message Content Handling:
web/containers/Providers/ModelHandler.tsx
: ChangedmessageContent
fromconst
tolet
to allow modifications.web/containers/Providers/ModelHandler.tsx
: Improved handling of newline characters and extraction of content after</think>
tag. Removed redundant checks for word count and non-alphanumeric characters.Prompt Modifications:
web/containers/Providers/ModelHandler.tsx
: Modified the prompt text to include "Here is the message:" for better context.