-
-
Notifications
You must be signed in to change notification settings - Fork 490
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
1.5.4 #485
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
… retrieval This commit addresses two issues: 1. **ModelNicknameModal dependency array:** The dependency array in `ModelNicknameModal.tsx` was updated to include `model_id`. This ensures that the effect hook correctly re-runs when the `model_id` changes, preventing potential issues with stale data. 2. **Nickname retrieval simplification:** The code in `src/db/nickname.ts` was simplified by removing redundant initialization. The `modelNames` variable is now directly assigned the result of `this.db.get(this.KEY)`, improving readability and efficiency.
This commit replaces the direct instantiation of `SystemMessage` with the `systemPromptFormatter` function in `useMessageOption.tsx` and `useMessage.tsx`. This change ensures that system prompts are properly formatted before being added to the chat history. The `systemPromptFormatter` function is also added as a dependency to the `useMessageOption.tsx` and `useMessage.tsx` files. Additionally, the `nickname.ts` file was updated to remove a commented-out line.
Deploying page-assist with
|
Latest commit: |
d5fad55
|
Status: | ✅ Deploy successful! |
Preview URL: | https://8853cc22.page-assist.pages.dev |
Branch Preview URL: | https://next.page-assist.pages.dev |
jin2005-issue
approved these changes
Mar 8, 2025
jin2005-issue
approved these changes
Mar 9, 2025
…arious locales This commit renames the "Open Copilot to Chat" string to "Open Side Panel to Chat" in the following language files: - src/public/_locales/de/messages.json - src/public/_locales/en/messages.json - src/public/_locales/es/messages.json - src/public/_locales/fa/messages.json - src/public/_locales/fr/messages.json - src/public/_locales/it/messages.json - src/public/_locales/ja/messages.json - src/public/_locales/no/messages.json - src/public/_locales/ru/messages.json - src/public/_locales/sv/messages.json - src/public/_locales/zh_CN/messages.json This change improves clarity and consistency across the application by reflecting the actual UI element being opened.
jin2005-issue
approved these changes
Mar 9, 2025
This commit introduces a new setting that allows users to display their messages in a chat bubble format. This improves the visual distinction between user and bot messages, enhancing the overall chat experience. The following changes were made: - Added a "User Chat Bubble" toggle to the general settings. - Implemented the chat bubble display in the `PlaygroundMessage` component. - Added translations for the new setting in all supported languages. - Updated the PlaygroundForm to use a different background color for the chat bubble.
This commit introduces support for variables within system prompts, allowing for dynamic content based on the current date and time. This enhances the flexibility and context-awareness of system prompts. The following variables are now supported: - `{current_date_time}`: The current date and time in local format. - `{current_year}`: The current year. - `{current_month}`: The current month (0-11). - `{current_day}`: The current day of the month. - `{current_hour}`: The current hour (0-23). - `{current_minute}`: The current minute (0-59). These variables are automatically replaced with their respective values when the prompt is sent to the LLM.
jin2005-issue
approved these changes
Mar 9, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Model Nickname
bug #483