The commit updates AI model settings for GPT-3.5 by allowing up to 4000 tokens for context size. It also adds a new option for GPT-3.5 Turbo 16k with a maximum context of 16000 tokens. Additionally, the commit limits the context size when exceeding the maximum limit for each model.
# PR Checklist
- [ ] Did you check if it works normally in all models? *ignore this
when it dosen't uses models*
- [x] Did you check if it works normally in all of web, local and node
hosted versions? if it dosen't, did you blocked it in those versions?
- [x] Did you added a type def?
# Description
- Screenreader readable "Show Help" button.
Also modified checkbox
This commit adds the import for the ParseMarkdown function from the parser module required for translating messages in the Suggestion chat screen.
The code changes also include adding a check for the translator variable in the button toggle handling to avoid unwanted button display. Lastly, the commit updates the template for rendering translated suggest messages.
This commit adds new entries in the language files and UI support for auto-translate messages.
The new feature uses a textarea input field to translate messages as they are typed, and the translated text is shown in a new field. Also, the language settings now provide an option to enable/disable auto message translation.
The code changes include adding a new function to update the input sizes for both input fields and some minor code refactoring to support new functionality.
- Added 'copied' string to language translation in multiple translations file.
- Added 'CopyIcon' to svelte import.
- Defined a new status message variable in Chat.svelte.
- Created a new function 'setStatusMessage' to display the current panel's state after certain action.
- Added a new setting 'useChatCopy' in 'DisplaySettings.svelte'.
- Created a checkbox with label 'useChatCopy' to toggle the Chat message copy.
- Integrated Clipboard API in Chat code to handle chat message copy via button click.