96 Commits

Author SHA1 Message Date
Nex Zhu
e8471f1802 feat: add IoD search 2025-02-14 18:17:12 +08:00
n4ze3m
084b859e3e feat: add option to remove reasoning tag from TTS output 2025-02-09 13:00:04 +05:30
n4ze3m
40698e02d7 feat: update version to 1.4.6 and enhance code block component with download and copy sticky support 2025-02-08 12:48:49 +05:30
n4ze3m
a46156847d feat: add bottom fade mask utility and enhance Playground layout 2025-02-07 23:49:40 +05:30
yz778
1b6d4a344a fix: fix some typos 2025-02-02 22:03:01 -08:00
n4ze3m
7264f30d81 fix: Remove reasoning tag from tts utterance 2025-02-02 14:51:52 +05:30
n4ze3m
80f5812355 fix: Adjust visibility styles for PlaygroundMessage component in preparation for v1.4.5 release 2025-02-01 12:30:05 +05:30
n4ze3m
342d544e30 feat: Add Baidu search engine 2025-02-01 11:22:12 +05:30
yz778
509a73238e Whitespace fix 2025-01-31 20:04:28 -08:00
yz778
be6b539787 fix: Fix layout shift cause by hovering over icons + misc items 2025-01-31 20:00:16 -08:00
n4ze3m
7b6b6751cc feat: Add error handling to fetch advanced Ollama settings data 2025-01-24 22:46:36 +05:30
n4ze3m
97daaf9dc2 feat: Add reasoning UI 2025-01-24 22:29:18 +05:30
n4ze3m
6be1b2b0de feat: Add DeepSeek provider and icon to the application 2025-01-19 12:33:26 +05:30
n4ze3m
84e123bf38 feat: Add aria-labels for accessibility in PlaygroundMessage component 2025-01-11 23:44:43 +05:30
n4ze3m
9674b842ef feat: Add Ollama model settings for tfsZ, numKeep, numThread, and useMlock 2025-01-05 15:11:43 +05:30
n4ze3m
1d9d704c76 feat: Add Mistral provider support
feat: Update manifest version to 1.4.1
2025-01-04 20:16:23 +05:30
n4ze3m
aa49f03f63 feat: Add support for minP, repeatLastN, and repeatPenalty model settings 2024-12-28 17:38:52 +05:30
n4ze3m
f8bd740cfa feat: Adjust UI styles in PlaygroundForm and PlaygroundMessage components 2024-12-21 20:40:57 +05:30
n4ze3m
772000bff4 feat: Add support for Google AI (Gemini) as a custom model provider 2024-12-21 18:13:21 +05:30
n4ze3m
43b4f076e9 feat: Add more options for chat messages to copy, download chat entirely 2024-12-14 18:30:27 +05:30
n4ze3m
d45b279348 feat: Add SaveButton component to CurrentChatModelSettings 2024-12-01 17:57:09 +05:30
n4ze3m
5687517238 feat: Add save functionality for system prompt and model settings 2024-12-01 15:52:52 +05:30
n4ze3m
6d80798da9 feat: Add useMMap option to model settings 2024-11-30 20:17:03 +05:30
n4ze3m
64e88bd493 feat: Add support for chat mode in MessageSource component
This commit extends the `MessageSource` component to support the `chat` mode in addition to the existing `rag` mode. This allows the component to handle and display messages from both chat and RAG (Rapid Automated Generation) sources.
2024-11-16 19:33:20 +05:30
n4ze3m
c6a62126dd feat: Add LlamaFile support
Add support for LlamaFile, a new model provider that allows users to interact with models stored in LlamaFile format. This includes:

- Adding an icon for LlamaFile in the provider selection menu.
- Updating the model provider selection to include LlamaFile.
- Updating the model handling logic to properly identify and process LlamaFile models.
- Updating the API providers list to include LlamaFile.

This enables users to leverage the capabilities of LlamaFile models within the application.
2024-11-10 14:02:44 +05:30
n4ze3m
8fbdfc35d3 feat(settings): Use selected system prompt in current chat model temp system fallback
Adds support for using the currently selected system prompt in the current model settings. This allows users to fine-tune their chat experience based on their preferred prompt.
2024-11-09 18:09:47 +05:30
n4ze3m
fd654cafdb feat: Add max tokens setting for model generations
Adds a new setting to control the maximum number of tokens generated by the model. This provides more control over the length of responses and can be useful for limiting the amount of text generated in certain situations.
2024-11-09 16:56:47 +05:30
n4ze3m
9f383a81b6 feat: Add generation info to messages
This commit introduces a new feature that displays generation information for each message in the chat.

The generation info is displayed in a popover and includes details about the model used, the prompt, and other relevant information. This helps users understand how their messages were generated and troubleshoot any issues that may arise.

The generation info is retrieved from the LLM response and is stored in the database alongside other message details.

This commit also includes translations for the generation info label in all supported languages.
2024-11-09 15:17:59 +05:30
n4ze3m
65ba2ff898 feat: add save and send functionality for user message
Adds a "Save" button to the edit message form in Playground, allowing users to save changes without immediately submitting them. This also introduces a new `isSend` flag to the `onEditFormSubmit` prop, enabling developers to control whether a message should be sent immediately or saved for later submission. This enhances flexibility and user control during the message editing process.
2024-11-03 23:38:41 +05:30
n4ze3m
9cc309e9fd feat: Add code download functionality
Adds a new "Download Code" button to the code block component, allowing users to download the code displayed for offline use.

This feature enhances user convenience and provides a more versatile experience for exploring and utilizing code snippets.
2024-10-26 15:37:02 +05:30
n4ze3m
a2f9002b81 feat: enhance playground UI
Refine the Playground's UI to improve user experience:

- Streamline chat window layout for better message readability
- Introduce a knowledge selection dropdown for easier context setting
- Improve image upload integration for a smoother workflow
- Optimize spacing and styling for a more polished visual appearance
2024-10-20 17:45:56 +05:30
n4ze3m
7be993c057 feat: Add HTML preview to code blocks
Adds an HTML preview feature to the code block component, allowing users to view the rendered output of their HTML code snippets. This improves the user experience by providing a more interactive and informative way to understand the code.
2024-10-19 23:54:09 +05:30
n4ze3m
d83ba79035 refactor add modal 2024-10-13 16:10:52 +05:30
n4ze3m
f1e40d5908 feat: Add OpenAI provider support 2024-10-12 18:28:29 +05:30
n4ze3m
ff371d6eef feat: Add OpenAI Provider Selection
Add a provider selection dropdown to the OpenAI settings, enabling users to choose from pre-configured options like "Azure" or "Custom." This streamlines setup and allows for more flexibility in configuring OpenAI API endpoints. The dropdown pre-populates base URLs and names based on the selected provider.

The dropdown also automatically populates base URLs and names based on the selected provider, further simplifying the configuration process.
2024-10-12 16:53:42 +05:30
n4ze3m
3d8c8671e1 Merge remote-tracking branch 'origin/next' into openai 2024-10-02 20:10:21 +05:30
n4ze3m
1ec44f047d feat(share): Add history title to share modal
Adds the title of the current chat history to the share modal. This makes it easier for users to share their conversations with others, as the title provides context for the conversation.

The title is fetched from the database and displayed in the share modal.
2024-10-02 13:55:38 +05:30
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
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
53d999a596 feat: Add system and quick prompts on side panel 2024-09-14 12:07:54 +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
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
Colin Campbell
ca2c127cbd headers-api-everywhere: Add headers to all api calls 2024-08-22 10:12:03 +02:00
n4ze3m
4ef17ff479 feat: support for GPU layer 2024-08-20 16:11:50 +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
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
d41ec2a89c feat: Add Chrome AI support 2024-06-30 20:45:06 +05:30
n4ze3m
52f9a2953a feat: Add custom headers support 2024-06-30 00:21:43 +05:30