401 Commits

Author SHA1 Message Date
n4ze3m
0e44a7ad4b feat: Add temporary system prompt
Adds a new setting that allows users to set a temporary system prompt for the current chat.
This prompt will override the selected system prompt if it exists.
The new setting is available in the "Current Chat Model Settings" modal.
This feature provides a way to quickly experiment with different system prompts without having to change the default setting.
2024-10-02 12:30:52 +05:30
n4ze3m
caeb923d00 Fix: Remove debugging log statement
Removed a debugging `console.log` statement that was printing the `isCustom` variable and the model name. This statement was no longer necessary and was potentially causing issues.
2024-09-30 10:28:45 +05:30
n4ze3m
efec675b9a Fix: Replace empty API keys with temporary placeholder
The previous code used an empty string for the `apiKey` when no key was provided, which could lead to unexpected behavior. This commit replaces those with a temporary placeholder ("temp") to avoid potential errors and make the code more robust.
2024-09-30 10:28:35 +05:30
n4ze3m
192e3893bb feat: support custom models for messages
This commit introduces support for custom models in the message history generation process. Previously, the history would format messages using LangChain's standard message structure, which is not compatible with custom models. This change allows for correct history formatting regardless of the selected model type, enhancing compatibility and user experience.
2024-09-29 23:59:15 +05:30
n4ze3m
c8620637f8 feat: add OpenAI model support
Adds support for OpenAI models, allowing users to leverage various OpenAI models directly from the application. This includes custom OpenAI models and OpenAI-specific configurations for seamless integration.
2024-09-29 19:57:26 +05:30
n4ze3m
2a2610afb8 feat: add model management UI
This commit introduces a new UI for managing models within the OpenAI integration. This UI allows users to view, add, and delete OpenAI models associated with their OpenAI providers. It includes functionality to fetch and refresh model lists, as well as to search for specific models. These changes enhance the user experience by offering greater control over their OpenAI model interactions.

This commit also includes improvements to the existing OpenAI configuration UI, enabling users to seamlessly manage multiple OpenAI providers and associated models.
2024-09-29 19:12:19 +05:30
n4ze3m
e2e3655c47 feat: OpenAI settings page
Add a new settings page for OpenAI configuration, including a dedicated tab in the settings layout, translations, and routing.
2024-09-28 16:08:02 +05:30
n4ze3m
2e97f6470d feat: Add clear chat history button to drawer
Adds a button to the sidebar drawer for clearing chat history.
The button uses a confirmation prompt to ensure user intent and clears the database entries.
This allows users to reset their chat history for a fresh start.
The button uses a tooltip to provide more information on its function.
2024-09-27 19:38:29 +05:30
n4ze3m
53d999a596 feat: Add system and quick prompts on side panel 2024-09-14 12:07:54 +05:30
n4ze3m
5602714ee2 Fix: Extend content script scope to all of ollama.com 2024-09-14 11:08:32 +05:30
n4ze3m
e44c47905a feat: Remove unnecessary memoization 2024-09-08 20:52:30 +05:30
n4ze3m
824ecf0a8c feat: Add LaTeX support to the markdown renderer
Adds LaTeX support to the markdown renderer using `rehype-katex` for math equations.

- Replaces block-level LaTeX delimiters `\[ \]` with `$$ $$`.
- Replaces inline LaTeX delimiters `\( \)` with `$ $`.
- Preprocesses the message before rendering to ensure correct delimiters.

This improves the rendering of markdown messages containing mathematical expressions, enhancing the user experience.
2024-09-08 11:53:15 +05:30
n4ze3m
c077201591 feat: Migrate Chrome AI integration to a separate module 2024-08-31 23:36:52 +05:30
n4ze3m
33702f0553 feat: Add German language support 2024-08-31 21:23:49 +05:30
n4ze3m
3f61c6afc2 feat: Add citations display to playground message
Adds a collapsible section to the playground message that displays citations for the response. This is intended to help users better understand the sources used by the model.
2024-08-31 21:06:32 +05:30
n4ze3m
9bd3193ad9 fix: Improve ChromeAI model parameters 2024-08-31 20:17:10 +05:30
Muhammed Nazeem
26e799b246
Merge pull request #179 from colin-campbell/stt-to-storage
stt-to-storage: UX - Move speechToText from state to storage.
2024-08-26 14:14:57 +05:30
n4ze3m
aa92670424 Merge branch 'next' of https://github.com/n4ze3m/page-assist into next 2024-08-26 14:13:00 +05:30
Colin Campbell
13cbc5b084 stt-to-storage: UX - Move speechToText from state to storage. 2024-08-25 13:37:39 +02:00
Muhammed Nazeem
a87b5b3db3
Merge pull request #176 from colin-campbell/headers-api-everywhere
Add headers to every API call
2024-08-22 22:37:14 +05:30
Colin Campbell
ca2c127cbd headers-api-everywhere: Add headers to all api calls 2024-08-22 10:12:03 +02:00
Colin Campbell
95a4d9f357 headers-api-everywhere: Add headers to all api calls 2024-08-22 10:11:00 +02:00
n4ze3m
eed0f7c689 chore: Update Twitter handle in AboutApp component 2024-08-21 23:14:22 +05:30
n4ze3m
9679f92821 feat: Add support for handling chat input keydown events 2024-08-20 20:22:01 +05:30
n4ze3m
35b8579028 feat: Add Number of Retrieved Documents on RAG 2024-08-20 18:32:01 +05:30
n4ze3m
564b137e66 chore: Update default file upload limit labels and placeholders for multiple locales 2024-08-20 18:07:22 +05:30
n4ze3m
4ef17ff479 feat: support for GPU layer 2024-08-20 16:11:50 +05:30
n4ze3m
00735cddad feat: Update context menu options with localized titles 2024-08-20 15:36:59 +05:30
n4ze3m
d5a0136837 chore: Update wxt npm dependency to version 0.19.6 2024-08-17 13:55:54 +05:30
n4ze3m
5557ef3ab5 refactor: Remove unused import in PlaygroundForm component 2024-08-07 22:16:48 +05:30
n4ze3m
8bbb3c14f8 refactor: Improve textarea focus behavior in PlaygroundForm component 2024-08-07 22:14:49 +05:30
n4ze3m
f6d7020fe0 feat: Add AI-based title generation feature 2024-08-06 23:59:54 +05:30
n4ze3m
44da2db97e feat: Add segmented control for custom and copilot prompts in PromptBody component 2024-08-06 23:32:31 +05:30
Muhammed Nazeem
fa42f71821
Merge pull request #165 from asedmammad/feat/add-persian-i18n
Add Persian (Farsi) language
2024-08-06 21:01:41 +05:30
Ased Mammad
f1214f314d i18n: Add persian (farsi) 2024-08-06 17:20:15 +03:30
n4ze3m
eccf8f8a88 feat: Enable title generation in GeneralSettings component 2024-08-05 00:49:27 +05:30
n4ze3m
48a4af50ee feat: Add context menu options for summarizing, rephrasing, translating, and explaining text selections in background.ts 2024-08-04 18:40:48 +05:30
n4ze3m
36fc8b6be1 feat: Add segmented control for custom and copilot prompts in PromptBody component 2024-08-04 18:12:09 +05:30
n4ze3m
6c44fcfca7 feat: Remove 'managePrompts.columns.actions' title from PromptBody component 2024-08-04 18:03:51 +05:30
n4ze3m
2cc880c722 feat: Add missing text placeholder in prompt help messages for different locales 2024-08-04 16:47:28 +05:30
n4ze3m
1bb6d3a89a feat: Add tag colors for custom and copilot prompts in PromptBody component 2024-08-04 11:23:29 +05:30
n4ze3m
80413a3c26 feat: Add segmented control for custom and copilot prompts in PromptBody component 2024-08-04 00:08:10 +05:30
n4ze3m
58304d9ca7 feat: Update translations for copilot context menu options 2024-08-03 23:51:17 +05:30
n4ze3m
ac9c9ca887 feat: copilot context menu for tool 2024-08-03 23:00:57 +05:30
n4ze3m
9c7ebc8778 fix: delete model error notification 2024-07-23 21:13:09 +05:30
n4ze3m
df3484bdeb feat: Truncate long titles in PromptBody component and improve rendering of system and quick prompts 2024-07-23 11:14:45 +05:30
n4ze3m
b12cf55a47 chore: Update SelectedKnowledge component styling and truncate long titles 2024-07-23 00:37:22 +05:30
n4ze3m
440ecf86b2 feat: Refactor useMessage hook for website embedding options and improvements 2024-07-23 00:31:15 +05:30
n4ze3m
57c02bc1b1 feat: Add sidepanelRag settings for Copilot chat with website 2024-07-23 00:28:12 +05:30
n4ze3m
9521707160 feat: Update useMessage hook with website embedding options and improvements 2024-07-22 00:36:27 +05:30