575 Commits

Author SHA1 Message Date
n4ze3m
405adc0d31 Merge remote-tracking branch 'origin/next' into openai 2024-10-13 12:36:21 +05:30
Muhammed Nazeem
18c3673a96
Merge pull request #208 from Abubakar115e/main
Support for Danish and Norwegian language support.
2024-10-13 12:35:10 +05:30
n4ze3m
4b4036e0b0 Refactor: OpenAI settings UI & language
Update the user interface for the OpenAI settings to be more informative and consistent. Improved language around "OpenAI API Settings" to be more accurate and less technical. Also added a helpful tip for using LM Studio as a provider.
2024-10-12 23:49:12 +05:30
n4ze3m
30eb320c19 Fix: Improve settings layout and models refresh
Refine settings layout for better visual flow, enlarge settings sidebar for easier viewing, and adjust model refresh logic for more responsive updates.

Refactor: Add more visual weight to the settings panel and optimize model refresh logic.

Refactor: Enhance the visual appeal of settings panel by increasing its width and improving model refresh behavior for better user experience.
2024-10-12 23:39:31 +05:30
n4ze3m
768ff2e555 feat: Improve model selection and embedding
Refactor embedding models and their handling to improve performance and simplify the process.
Add a new model selection mechanism,  and enhance the UI for model selection, offering clearer and more user-friendly options for embedding models.
Refactor embeddings to use a common model for page assist and RAG, further improving performance and streamlining the workflow.
2024-10-12 23:32:00 +05:30
n4ze3m
ba071ffeb1 add embedding support 2024-10-12 21:12:45 +05:30
n4ze3m
1300945b75 Fix: Prevent model selection modal from appearing for LM Studio provider
When using the LM Studio provider, the model selection modal was incorrectly appearing. This commit prevents the modal from appearing when the provider is set to LM Studio. This ensures that the user experience is consistent across all providers.
2024-10-12 19:28:08 +05:30
n4ze3m
ddb8993f17 feat: Support LMStudio models
Adds support for LMStudio models, allowing users to access and use them within the application. This involves:

- Adding new functions to `db/models.ts` to handle LMStudio model IDs and fetch their information from the OpenAI API.
- Modifying the `ollamaFormatAllCustomModels` function to include LMStudio models in the list of available models.
- Introducing a timeout mechanism in `libs/openai.ts` to prevent API requests from hanging.

This change enhances the model selection experience, providing users with a wider range of models to choose from.
2024-10-12 19:05:21 +05:30
n4ze3m
f1e40d5908 feat: Add OpenAI provider support 2024-10-12 18:28:29 +05:30
n4ze3m
acce9b97f6 feat: Improve UI for loading OpenAI models
Make the loading state of OpenAI models more visually appealing and user-friendly by replacing the default `Spin` component with a more contextually relevant loading animation within a centered container. This provides a better visual cue to users while models are being fetched.
2024-10-12 16:54:46 +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
Abubakar115e
d2c5785aac Added more language to support auto browser recognition 2024-10-11 17:36:04 +02:00
Abubakar115e
41b11e8210 Merge branch 'main' of https://github.com/Abubakar115e/page-assist 2024-10-11 17:33:45 +02:00
Abubakar115e
6fc29310ba spell issues 2024-10-11 17:31:35 +02:00
Abubakar115e
ec33015039 Maybe it works? 2024-10-10 21:28:04 +02:00
Abubakar115e
718e1c8501 Spell 2024-10-10 17:39:01 +02:00
Abubakar115e
d3ccbbfbe3 spell fix 2024-10-10 17:38:16 +02:00
Abubakar115e
46d2e6a75b Norwegian langauge support, but I need to do some small fixes 2024-10-10 17:29:08 +02:00
Abubakar115e
832c565303 n4ze3m you can now merge the two git branches 2024-10-06 09:05:51 +02:00
Abubakar115e
43a88ab83c Everythings works for Danish now 2024-10-06 08:54:33 +02:00
Abubakar115e
7b26e64dac Danish language support is fully functioning 2024-10-06 08:46:24 +02:00
Abubakar115e
4363ac1b9c Added support for Danish Language 2024-10-06 08:21:29 +02:00
n4ze3m
3d8c8671e1 Merge remote-tracking branch 'origin/next' into openai 2024-10-02 20:10:21 +05:30
Muhammed Nazeem
2a2309d44c
Merge pull request #196 from n4ze3m/next
v1.2.4
2024-10-02 18:07:06 +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
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
d7510333a7 Bump version to 1.3.0
Prepares the project for the next release with updated version information.
2024-09-29 23:59:41 +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
Muhammed Nazeem
70fc095edd
Merge pull request #183 from n4ze3m/next
v1.2.3
2024-09-15 12:11:10 +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
Muhammed Nazeem
0542b8a6d3
Merge pull request #174 from n4ze3m/next
v1.2.2
2024-08-31 23:47:38 +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