Skip to content
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

Light/dark mode UI overhaul #2629

Merged
merged 59 commits into from
Nov 18, 2024
Merged

Light/dark mode UI overhaul #2629

merged 59 commits into from
Nov 18, 2024

Conversation

shatfield4
Copy link
Collaborator

@shatfield4 shatfield4 commented Nov 14, 2024

Pull Request Type

  • ✨ feat
  • πŸ› fix
  • ♻️ refactor
  • πŸ’„ style
  • πŸ”¨ chore
  • πŸ“ docs

Relevant Issues

resolves #1864

What is in this change?

  • Implement light and dark modes

Additional Information

Developer Validations

  • I ran yarn lint from the root of the repo & committed changes
  • Relevant documentation has been updated
  • I have tested my code functionality
  • Docker build succeeds locally

shatfield4 and others added 30 commits September 27, 2024 16:54
rely on css for conditional styles
new sidebar colors
* setup generic tailwind theme + ability to add new themes

* add theme context

* use correct colors from design for sidebar + fix padding
settings sidebar ui updates
* Support XLSX files (#2403)

* support xlsx files

* lint

* create seperate docs for each xlsx sheet

* lint

* use node-xlsx pkg for parsing xslx files

* lint

* update error handling

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>

* wip chat window

* ux+ux improvements and update new colors

* chat window dark mode

* remove comment

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>
* dark mode welcome page styles + refactor

* remove AI_BACKGROUND_COLOR and USER_BACKGROUND_COLOR constants
)

* dark mode ui for admin and tools pages + mobile view improvements

* lint

* ai provider pages + options darkmode ui

* placeholder generic class

* appearance settings styles

* ai providers mobile margin

* dark mode styles for agent skills + experimental features

* mobile styles on security settings

* fine tune flow ui dark mode

* workspace settings page

* lint
dark mode onboarding
* document watch + privacy pages ui + mobile modal darkmode

* lint
* multi-user auth screen ui update

* dark mode login screen + recovery key modals

* remove unneeded import
update workspace preset dark mode modal
document pinning modal ui update
experimental agreement modal dark mode
serp options dark mode
@timothycarambat timothycarambat merged commit 727d802 into master Nov 18, 2024
1 check passed
@timothycarambat timothycarambat deleted the light-mode-1 branch November 18, 2024 23:40
lohawk-azalea pushed a commit to azalea-gograbcode/anything-llm that referenced this pull request Dec 23, 2024
* patch scrollbar on msgs
resolves Mintplex-Labs#2190

* remove system setting cap on messages (use at own risk)

* Bug/make swagger json output openapi 3 compliant (Mintplex-Labs#2219)

update source to ensure swagger.json is openapi 3.0.0 compliant

* Feature/use escape key to close documents modal (Mintplex-Labs#2222)

* Add ability to use Esc keypress to close modal for documents

* move escape close to hook

---------

Co-authored-by: Mr Simon C <iamontheinternet@yahoo.com>

* Feature/add searchapi web browsing (Mintplex-Labs#2224)

* Add SearchApi to web browsing

* UI modifications for SearchAPI

---------

Co-authored-by: Sebastjan Prachovskij <sebastjan.prachovskij@gmail.com>

* fixed the typo in LLMs (Mintplex-Labs#2225)

(not a big deal, just to avoid someone pointing it out)

* Ollama sequential embedding (Mintplex-Labs#2230)

* ollama: Switch from parallel to sequential chunk embedding

* throw error on empty embeddings

---------

Co-authored-by: John Blomberg <john.jb.blomberg@gmail.com>

* remove log

* remove Jazzicons & Add default pfps (Mintplex-Labs#2233)

remove Jazzicons
update pfps

* update docs showing no need for manual port forwarding of Server in G… (Mintplex-Labs#2247)

update docs showing no need for manual port forwarding of Server in GHCodespaces

* Add verbose logging to GH loader
connect Mintplex-Labs#2243

* match user prompts exactly not partially (Mintplex-Labs#2245)

* Milvus bug fix (Mintplex-Labs#2183)

* patch no text results for milvus chunks

* wrap addDocumentToNamespace in try catch for handling milvus errors

* lint

* revert milvus db changes

* add try catch to handle grpc error from milvus

* Fix UI for slash cmd presets (Mintplex-Labs#2260)

* fix ui for slash cmd presets

* hide scroll

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>

* Add support for custom agent skills via plugins (Mintplex-Labs#2202)

* Add support for custom agent skills via plugins
Update Admin.systemPreferences to updated endpoint (legacy has deprecation notice

* lint

* dev build

* patch safeJson
patch label loading

* allow plugins with no config options

* lint

* catch invalid setupArgs in frontend

* update link to docs page for agent skills

* remove unneeded files

---------

Co-authored-by: shatfield4 <seanhatfield5@gmail.com>

* update 128k label for Azure models
resolves Mintplex-Labs#2264

* Add Gemini `exp` models (Mintplex-Labs#2268)

Add Gemini  models
resolves Mintplex-Labs#2263

* Update OpenAI models and prices Mintplex-Labs#2261 (Mintplex-Labs#2269)

* Update OpenAI models

* Sort OpenAI models by created timestamp in ascending order

* Update OpenAI models price

* uncheck fallback listing (even if old)
closes Mintplex-Labs#2261

* linting

---------

Co-authored-by: Yaner <1468275133@qq.com>

* UI Cleanup (Mintplex-Labs#2270)

Remove FineTuningBanner
remove AgentAlert for first time users

* Patch missing folder autogenerate for plugins (Mintplex-Labs#2273)

* bump ref to browser ext

* bump Perplexity models (Mintplex-Labs#2275)

* Make `userId` actually optional for workspaceThread endpoint (Mintplex-Labs#2276)

* update doc links and readme

* Support `@agent` custom skills (Mintplex-Labs#2280)

* Support `@agent` custom skills

* move import

* Patch UI bug with agent skill web-search and sql-connector (Mintplex-Labs#2282)

* Patch UI bug with agent skill

* wrap call in try/catch for failures
res?. optional call for settings since null is default

* uncheck

* Patch 11Labs selection UI bug (Mintplex-Labs#2284)

* Patch 11Labs selection UI bug

* remove log

* 1943 add fireworksai support (Mintplex-Labs#2300)

* Issue Mintplex-Labs#1943: Add support for LLM provider - Fireworks AI

* Update UI selection boxes
Update base AI keys for future embedder support if needed
Add agent capabilites for FireworksAI

* class only return

---------

Co-authored-by: Aaron Van Doren <vandoren96+1@gmail.com>

* Appearance setting for show/hide scroll bar on chat window (Mintplex-Labs#2187)

* implement appearance setting for show/hide scrollbar

* put back comments

* revert backend for show_scrollbar

* show scrollbar save to localstorage

* old model function

* lint

* edit

---------

Co-authored-by: Timothy Carambat <rambat1010@gmail.com>

* Fix gitlab data connector for self-hosted instances (Mintplex-Labs#2315) (Mintplex-Labs#2316)

* Fix gitlab data connector for self-hosted instances (Mintplex-Labs#2315)

* Linting fix.

* Add more verbose error messages in embed chat (Mintplex-Labs#2306)

* publish embed updates

* server sided error messages

* publish embed chat widget

* sync submodule

* unset change

* update embed to merged changes for error

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>

* Load all branches in gitlab data connector (Mintplex-Labs#2325)

* Fix gitlab data connector for self-hosted instances (Mintplex-Labs#2315)

* Linting fix.

* Load all branches in the GitLab data connector Mintplex-Labs#2319

* Mintplex-Labs#2319 lint fixes.

* update fetch on fail

---------

Co-authored-by: BΕ‚aΕΌej Owczarczyk <blazeyy@gmail.com>

* Add ability to copy/paste images, files, and text from web, local, or otherwise (Mintplex-Labs#2326)

* Fix custom domain in confluence (Mintplex-Labs#2328)

confluence custom domain fix

* Enable Mistral Multimodal (Mintplex-Labs#2343)

* Enable Mistral Multimodal

* remove console

* Added JSONSchema for `plugin.json` files (Mintplex-Labs#2344)

Added JSONSchema for agent skill plugin manifest files

Signed-off-by: Jaid <6216144+Jaid@users.noreply.github.com>

* Make streaming behavior more natural (Mintplex-Labs#2336)

* fix scrolling behavior + add cursor to streaming chats

* lint

* linting

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>

* Dont overwrite content in input on paste
linting

* Add select/unselect all context menu to directory component (Mintplex-Labs#2337)

add select/unselect all context menu to directory component

* PR#2355 Continued + expanded scope (Mintplex-Labs#2365)

* Mintplex-Labs#2317 Fetch pinned documents once per folder to reduce the number of queries.

* Reorder the lines to keeps const declarations together.

* Add some comments to functions
move pinned document fetch for folder to function
move watched documents per-folder to also function the same
remove unused function in documents model

---------

Co-authored-by: BΕ‚aΕΌej Owczarczyk <blazeyy@gmail.com>

* Export embedded chat history (Mintplex-Labs#2329)

export embedded chat history

Co-authored-by: Timothy Carambat <rambat1010@gmail.com>

* Bulk document removal from workspace

* wip improve remove document ux

* fix border ui bugs when adding files to workspace

* sort workspacedirectory put adding files at top

* fix workspace file row ui shifting

* fix selected items bug when adding another item with items already selected on workspace

* fix tooltip

* lint

* refactor

* fix bug where unadding single item while selected would stay selected

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>

* Workspace agent autoselection (Mintplex-Labs#2357)

* refactor agent to add fallback to workspace, then to chat provider/model

* commenting
update logic for bedrock and fireworks fallbacks

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>

* Support attachments in developer API (Mintplex-Labs#2373)

* support attachments in developer api

* lint

---------

Co-authored-by: Timothy Carambat <rambat1010@gmail.com>

* 1417 completion timeout (Mintplex-Labs#2374)

* Refactor handleDefaultStreamResponseV2 function for better error handling

* run yarn lint

* small error handling changes

* update error handling flow and scope of vars

* add back space

---------

Co-authored-by: Roman <rrojaski@gmail.com>

* Support more Confluence URL formats (Mintplex-Labs#2118)

* support more confluence url formats

* use pattern matching for confluence urls and manual splitting as fallback

* rework entire Confluence flow to prevent issues with custom, local, and cloud spaces

* remove dep

---------

Co-authored-by: Timothy Carambat <rambat1010@gmail.com>

* Add dropdown for confluence connector deployment (Mintplex-Labs#2376)

* Added an option to fetch issues from gitlab. Made the file fetching a… (Mintplex-Labs#2335)

* Added an option to fetch issues from gitlab. Made the file fetching asynchornous to improve performance. Mintplex-Labs#2334

* Fixed a typo in loadGitlabRepo.

* Convert issues to markdown.

* Fixed an issue with time estimate field names in issueToMarkdown.

* handle rate limits more gracefully + update checkbox to toggle switch

* lint

---------

Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
Co-authored-by: shatfield4 <seanhatfield5@gmail.com>

* 1959 filetype filters (Mintplex-Labs#2378)

* Updated the `GitHubRepoLoader` class to use the new import syntax and adjust the `recursiveLoader` method accordingly.

* add @langchain/community to collector package.json

* fix: Improve handling of complex ignore patterns in GitLabRepoLoader

* refactor: use ignore package for simplified ignore logic

* run yarn lint

* add @langchain/community@^0.2.23

* remove unused dep
lint

---------

Co-authored-by: Emil Rofors (aider) <emirof@gmail.com>

* Support DeepSeek (Mintplex-Labs#2377)

* add deepseek support

* lint

* update deepseek context length

* add deepseek to onboarding

---------

Co-authored-by: Timothy Carambat <rambat1010@gmail.com>

* Once again, modify Confluence to support every esoteric combination and undocumented way of running Confluence ever devised
resolves Mintplex-Labs#2379

* Patch bug with pasted text not being detected (Mintplex-Labs#2386)

* [FEAT] Add Llama 3.2 models to Fireworks AI's LLM selection dropdown (Mintplex-Labs#2384)

Add Llama 3.2 3B and 1B models to Fireworks AI LLM selection

* Added voyage-3 and voyage-3-lite. (Mintplex-Labs#2394)

* Add 3GB file size limit to body parser middlewares (Mintplex-Labs#2390)

* Tavily search web search agent support (Mintplex-Labs#2395)

* support tavily search web search agent

* lint

* remove unneeded comments

* Add exception handling for special case files like `Dockerfile` and `Jenkinsfile` (Mintplex-Labs#2410)

* Support XLSX files (Mintplex-Labs#2403)

* support xlsx files

* lint

* create seperate docs for each xlsx sheet

* lint

* use node-xlsx pkg for parsing xslx files

* lint

* update error handling

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>

* hide config for agent skills to manager (perm not allowed) (Mintplex-Labs#2469)

* Integrate Apipie support directly (Mintplex-Labs#2470)

resolves Mintplex-Labs#2464
resolves Mintplex-Labs#989
Note: Streaming not supported

* LiteLLM agent support (Mintplex-Labs#2460)

* litellm agent support

* lint

* add LiteLLM provider config

---------

Co-authored-by: Timothy Carambat <rambat1010@gmail.com>

* Pasting text bug fix (Mintplex-Labs#2425)

pasting text bug fix

Co-authored-by: Timothy Carambat <rambat1010@gmail.com>

* Fix file name/folder name truncation (Mintplex-Labs#2456)

fix filename/foldername truncation

Co-authored-by: Timothy Carambat <rambat1010@gmail.com>

* Daily message limit per user (Mintplex-Labs#2417)

* set message limit per user

* remove old limit user messages + unused admin page

* fix daily message validation

* refactor message limit input
refactor canSendChat on user to a method on user model

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>

* Add backfilling on `query` for chat widget to improve UX (Mintplex-Labs#2482)

* Support free-form input for workspace model for providers with no `/models` endpoint (Mintplex-Labs#2397)

* support generic openai workspace model

* Update UI for free form input for some providers

---------

Co-authored-by: Timothy Carambat <rambat1010@gmail.com>

* OpenAI o1 model support (Mintplex-Labs#2427)

* support openai o1 models

* Prevent O1 use for agents
getter for isO1Model;

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>

* Tts open ai compatible endpoints (Mintplex-Labs#2487)

* Update OpenAI TTS config to allow a custom BaseURL

* uncheck config file

* break openai generic TTS into its own provider

* add space

* hide TTS on user msg

---------

Co-authored-by: Adam <phazei@gmail.com>

* Handle Bedrock models that cannot use `system` prompts (Mintplex-Labs#2489)

* Handle non-ascii characters in single and bulk link scraper URLs (Mintplex-Labs#2495)

handle non-ascii characters in urls

* linting

* Passthrough agentModel for LMStudio (Mintplex-Labs#2499)

* Patch `DNDFilePicker` useEffect callback (Mintplex-Labs#2506)

* Add Groq vision preview support (Mintplex-Labs#2511)

Adds support for only the llama3.2 vision models on groq. This comes with many conditionals and nuances to handle as Groqs vision implemention is quite bad right now

* Feature/thread creation slug name (Mintplex-Labs#2512)

* thread creation additional params name and slug, with api

* typo fix

* Rebuild openai Swagger docs
Handle validations for fields to prevent invalid field inputs for .new
Enforce sluggification of `slug` to prevent breaking of URL structs

---------

Co-authored-by: abrakadobr <abrakadobr@gmail.com>

* Enable the ability to disable the chat history UI (Mintplex-Labs#2501)

* Enable the ability to disable the chat history UI

* forgot files

* Fix tooling examples (Mintplex-Labs#2513)

* Fix incorrect json API description.

* small edits and validity checks

* remove console.logs

* unset and recheck changes

---------

Co-authored-by: Adam <phazei@gmail.com>

* Rework failover agent invocation selection for agent and ephemmeral agent (Mintplex-Labs#2515)

* Rework failover agent invocation selection for agent and ephemmeral agent

* update order of check

* update order of check

* lint

* Github data connector improvements (Mintplex-Labs#2439)

* fix tree/blob github urls from branches not being loaded

* improve ux of github data connector

* lint

* patch Github URL parser to just validate with `URL` native parser

* uncheck LocalStorage of PAT for security reasons

---------

Co-authored-by: Timothy Carambat <rambat1010@gmail.com>

* Add Grok/XAI support for LLM & agents (Mintplex-Labs#2517)

* Add Grok/XAI support for LLM & agents

* forgot files

* bump readme

* Alignment crime fixed (Mintplex-Labs#2528)

fix alignment crime

* Add filtering to sessionID for workspace chats (Mintplex-Labs#2531)

* Patch `v1/document/upload` filename charset encoding (Mintplex-Labs#2535)

* add `ino` filetype to text/plain support

* patch bad reference for `EphemeralAgentHandler`

* Simple SSO feature for login flows from external services (Mintplex-Labs#2553)

* Simple SSO feature for login flows from external services

* linting

* add `sessionToken` validation connection auth for AWSbedrock (Mintplex-Labs#2554)

* Add index leftover from prisma migration from PR Mintplex-Labs#2553

* Feature/update api example outputs (Mintplex-Labs#2547)

* /v1/workspace/{slug} actually returns an array - update example output

* update swagger example to show array output

* Add optional limit and orderBy to dev api chat endpoint (Mintplex-Labs#2559)

add optional limit and orderBy to dev api chat endpoint

* Allow 127.0.0.1 as valid URL for scraping (Mintplex-Labs#2560)

* allow 127.0.0.1 as valid url for scraping

* update comments and lint

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>

* 2488 novita ai llm integration (Mintplex-Labs#2582)

* feat: add new model provider: Novita AI

* feat: finished novita AI

* fix: code lint

* remove unneeded logging

* add back log for novita stream not self closing

* Clarify ENV vars for LLM/embedder seperation for future
Patch ENV check for workspace/agent provider

---------

Co-authored-by: Jason <ggbbddjm@gmail.com>
Co-authored-by: shatfield4 <seanhatfield5@gmail.com>

* Add header static class for metadata assembly (Mintplex-Labs#2567)

* Add header static class for metadata assembly

* update comments

* patch header parsing for links

* DuckDuckGo web search agent skill support (Mintplex-Labs#2584)

* duckduckgo web search agent skill support

* move ddg to first option in dropdown menu

* lint

* add duckduckgo option stating no config required

* bump @anthropic-ai/sdk to 0.32.1

* bump Anthropic models

* Patch VoyageAI implementation from LC
resolves Mintplex-Labs#2593

* Added translation dutch (nl) (Mintplex-Labs#2595)

* Create common.js

Dutch translation

* Update resources.js

Add NL

* Update GitLab PAT token url (Mintplex-Labs#2598)

Update gitlab PAT token url for Gitlab

* Fix the problem of web-searching can not complete searching sessions when using bing search. (Mintplex-Labs#2611)

Fix the problem of web-searching can not complete searching sessions.

* Handle OpenAI whisper transcription edge case (Mintplex-Labs#2621)

remove openai whisper transcription provider response_format option

* Fix chat window scrollbar appearance option (Mintplex-Labs#2589)

* wip fix chat window scrollbar

* fix chat/default chat window scrollbare option

* lint

* small lint and refactor

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>

* linting

* Add undo/redo functionality Mintplex-Labs#2591 (Mintplex-Labs#2623)

* initial work - undo works except typed keys

* working but clunky code

* single letter and paste with no selection working

* add comments and keep the previous selection

* optimizations + add redo feature

* linting

---------

Co-authored-by: Mr Simon C <iamontheinternet@yahoo.com>
Co-authored-by: shatfield4 <seanhatfield5@gmail.com>

* Frontend performance improvements (Mintplex-Labs#2627)

* Frontend performance improvements

* test docker build

* Patch bad models endpoint path in LM Studio embedding engine (Mintplex-Labs#2628)

* patch bad models endpoint path in lm studio embedding engine

* convert to OpenAI wrapper compatibility

* add URL force parser/validation for LMStudio connections

* remove comment

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>

* update onboarding survery endpoint

* Add external app section in README
closes Mintplex-Labs#2639

* Bump TogetherAI models (Mintplex-Labs#2645)

* bump together ai models

* Run post-bump command

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>

* Light/dark mode UI overhaul (Mintplex-Labs#2629)

* Refactor workspace sidebar component styles (Mintplex-Labs#2380)

rely on css for conditional styles

* New sidebar colors (Mintplex-Labs#2381)

new sidebar colors

* Main container color update (Mintplex-Labs#2382)

* Dark mode setup themes (Mintplex-Labs#2411)

* setup generic tailwind theme + ability to add new themes

* add theme context

* use correct colors from design for sidebar + fix padding

* Settings sidebar UI updates (Mintplex-Labs#2416)

settings sidebar ui updates

* fix sidebar resizing/truncate issue on hover

* Dark mode chat window (Mintplex-Labs#2443)

* Support XLSX files (Mintplex-Labs#2403)

* support xlsx files

* lint

* create seperate docs for each xlsx sheet

* lint

* use node-xlsx pkg for parsing xslx files

* lint

* update error handling

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>

* wip chat window

* ux+ux improvements and update new colors

* chat window dark mode

* remove comment

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>

* Dark mode welcome page (Mintplex-Labs#2444)

* dark mode welcome page styles + refactor

* remove AI_BACKGROUND_COLOR and USER_BACKGROUND_COLOR constants

* Dark mode UI for admin and tools pages + mobile view improvements (Mintplex-Labs#2454)

* dark mode ui for admin and tools pages + mobile view improvements

* lint

* ai provider pages + options darkmode ui

* placeholder generic class

* appearance settings styles

* ai providers mobile margin

* dark mode styles for agent skills + experimental features

* mobile styles on security settings

* fine tune flow ui dark mode

* workspace settings page

* lint

* Dark mode onboarding (Mintplex-Labs#2461)

dark mode onboarding

* update all modals + normalize styles (Mintplex-Labs#2471)

* lint

* Dark mode privacy & experimental pages (Mintplex-Labs#2479)

* document watch + privacy pages ui + mobile modal darkmode

* lint

* Dark mode login screens (Mintplex-Labs#2483)

* multi-user auth screen ui update

* dark mode login screen + recovery key modals

* remove unneeded import

* Workspace preset commands modals dark mode (Mintplex-Labs#2484)

update workspace preset dark mode modal

* Document pinning modal ui update (Mintplex-Labs#2490)

document pinning modal ui update

* Experimental agreement modal dark mode (Mintplex-Labs#2491)

experimental agreement modal dark mode

* Serp options dark mode (Mintplex-Labs#2492)

serp options dark mode

* field fixes

* attempt light mode wip

* setting sidebar

* Toasts and threads

* main page content and privacy page

* force rewrite for light

* add border for light mode rightside content

* more fixes

* wip

* wip

* wip light mode implementation

* wip dark light mode file picker

* document picker light mode ui

* slight ui tweaks

* light mode fine tuning flow

* light mode tweaks + qa fixes

* fix md rendering of light mode + tooltip fixes

* lint

* qa bug fixes

* Add developer hook for theme
move provider to outmost layer

* qa light mode bug fixes

* Linting and hotfixes for UI

* Light mode to dev

* accept invite light mode ui fix

* Fix onboarding inputs in dark mode

* fix close icons
last minute items

* patch z-index on tooltips

* patch light mode citations

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>

* update uploader status containers for new theme

* show error in upload

* add back timeout for documents to fade out

* UI light QA

* update light/dark codeblock styles for visibility
patch embed modal text invisible
patch toggle colors

* remove dupe key in ModelMap

* refresh theme without reloading page

* Pr 2660 branch (Mintplex-Labs#2662)

* Add a basic Traditional Chinese(zh_TW) locale

* patch lang code

---------

Co-authored-by: Peter Dave Hello <hsu@peterdavehello.org>

* Add more expiermental models from Gemini (Mintplex-Labs#2663)

* Add plaintext file extensions (Mintplex-Labs#2664)

* TogetherAI Llama 3.2 vision models support (Mintplex-Labs#2666)

* togetherai llama 3.2 vision models support

* remove console log

* fix listing to reflect what is on the chart

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>

* Add gemini-exp-1121
resolves Mintplex-Labs#2657

* Mistral embedding engine support (Mintplex-Labs#2667)

* add mistral embedding engine support

* remove console log + fix data handling onboarding

* update data handling description

---------

Co-authored-by: Timothy Carambat <rambat1010@gmail.com>

* Pr 2653 branch (Mintplex-Labs#2672)

* feat: initial setup for Dependabot

* remove embed folder check

---------

Co-authored-by: Philipp Eckel <philipp.eckel@intive.com>

* feat: support setting maxConcurrentChunks for Generic OpenAI embedder (Mintplex-Labs#2655)

* exposes `maxConcurrentChunks` parameter for the generic openai embedder through configuration. This allows setting a batch size for endpoints which don't support the default of 500

* Update new field to new UI
make getting to ensure proper type and format

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>

* Adjustable font size in chat input (Mintplex-Labs#2692)

* adjustable prompt input text sizing

* dev build

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>

* ✨ feat: Add Vietnamese translations and configuration (Mintplex-Labs#2641)

* Create common.js

update file common.js language vietnam

* Update resources.js

* Update common.js

* Update resources.js

* Update common.js

* Update resources.js

---------

Co-authored-by: Timothy Carambat <rambat1010@gmail.com>

* patch baseURL in builder for logo

* linting

* add gemini-exp-1121 to expiermental set

* fix mistral key on embedder selection

* Fix typo with GCP deploy guideline (Mintplex-Labs#2718)

* Fix markdown issue where type is missing in backticks (Mintplex-Labs#2719)

* Normalize Input Fields (Mintplex-Labs#2720)

* WIP field normalization

* more norms

* fix advanced setting fields hover onlight mode

* Community hub integration (Mintplex-Labs#2555)

* wip hub connection page fe + backend

* lint

* implement backend for local hub items + placeholder endpoints to fetch hub app data

* fix hebrew translations

* revamp community integration flow

* change sidebar

* Auto import if id in URL param
remove preview in card screen and instead go to import flow

* get user's items + team items from hub + ui improvements to hub settings

* lint

* fix merge conflict

* refresh hook for community items

* add fallback for user items

* Disable bundle items by default on all instances

* remove translations (will complete later)

* loading skeleton

* Make community hub endpoints admin only
show visibility on items
combine import/apply for items to they are event logged for review

* improve middleware and import flow

* community hub ui updates

* Adjust importing process

* community hub to dev

* Add webscraper preload into imported plugins

* add runtime property to plugins

* Fix button status on imported skill change
show alert on skill change
Update markdown type and theme on import of agent skill

* update documentaion paths

* remove unused import

* linting

* review loading state

---------

Co-authored-by: Timothy Carambat <rambat1010@gmail.com>

* Patch light mode on Community Hub import flow

* Community hub integration UX improvements (Mintplex-Labs#2727)

* add empty states to your account hub page + disconnect button for api key

* lint

* lint

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>

* patch button normalization for desktop builds

* Add Support for NVIDIA NIM (Mintplex-Labs#2766)

* Add Support for NVIDIA NIM

* update README

* linting

* persist token window for NIM and not only on model change

* patch docs with proper input for OpenAI compatible embeddings
resolves Mintplex-Labs#2801

* update chat model filters for openai (Mintplex-Labs#2803)

* add gemini 1206 and gemini-2.0-flash exp models
connect Mintplex-Labs#2788

* Fixed a typo in README (Mintplex-Labs#2805)

* Fix scraping failed bug in link/bulk link scrapers (Mintplex-Labs#2807)

* fix scraping failed bug in link/bulk link scrapers

* reset submodule

* swap to networkidle2 as a safe mix for SPA and API-loaded pages, but also not hang on request heavy pages

* lint

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>

* Fix timestamp bug in embed widget (Mintplex-Labs#2806)

* fix timestamp bug in embed widget

* bump embed for formatDate fallback

* bump embed module

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>

* silence dependabot for now

* patch gemini-2.0-key

* Redirect to default thread on thread deletion (Mintplex-Labs#2808)

* redirect to default thread on thread deletion

* reset submodule

* handle redirect on bulk delete thread

* redirect on bulk thread delete only if deleted thread is selected

* redirect only on single delete of active thread

* lint

* patch threadSlug for clarity

---------

Co-authored-by: Timothy Carambat <rambat1010@gmail.com>

* Add support for hiding sidebar (Mintplex-Labs#2809)

* Add support for hiding sidebar
Support cmd/ctrl + shift +s for quick hide/show

* patch sidebar padding on collapse

* update Key for sidebar setting

* Add vector search API endpoint (Mintplex-Labs#2815)

* Add vector search API endpoint

* Add missing import

* Modify the data that is returned

* Change similarityThreshold to scoreThreshold

As this is what is actually returned by the search

* Removing logging (oops!)

* chore: regen swagger docs for new endpoint
fix: update function to sanity check values to prevent crashes during search

---------

Co-authored-by: Scott Bowler <scott@dcsdigital.co.uk>

* patch ZH typo (Mintplex-Labs#2816)

* add Gitlab to watchable documents (Mintplex-Labs#2817)

* Fix(2753): Replace React Router Navigate with window.location for SSO state refresh (Mintplex-Labs#2818)

* fix(2753): update SSO redirect to use window.location.replace

* fix(2753): remove unused import

---------

Co-authored-by: Timothy Carambat <rambat1010@gmail.com>

* Pin all docker-scout CI versions to 1.15.1 for now

* APIPie LLM provider improvements (Mintplex-Labs#2695)

* fix apipie streaming/sort by chat models

* lint

* linting

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>

* Add thread name to workspaces get endpoint (Mintplex-Labs#2822)

add thread name to workspaces get endpoint

Co-authored-by: Timothy Carambat <rambat1010@gmail.com>

* repatch scout cli

* Add new workspace user management endpoint (Mintplex-Labs#2842)

deprecate old endpoint which users workspace ID vs slug
resolves Mintplex-Labs#2838

* Add attachments to GenericOpenAI prompt (Mintplex-Labs#2831)

* added attachments to genericopenai prompt

* add devnote

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>

* Purge cached docs and remove docs from all workspaces on vectorDB/embedder changes (Mintplex-Labs#2819)

* wip remove all docs clear vector db on embedder/vector db change

* purge all cached docs and remove docs from workspaces on vectordb/embedder change

* lint

* remove unneeded console log

* remove reset vector stores endpoint and move to server side updateENV with postUpdate check

* reset embed module

* remove unused import

* simplify deletion process
rescoped document deletion to be more general for speed, everything needs to be reset anyway
fixed issue where unembedded docs not in any workspaces, but cached, were not removed

* add back missing readme file
update warning text modals

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>

* remove dependabot

* LLM performance metric tracking (Mintplex-Labs#2825)

* WIP performance metric tracking

* fix: patch UI trying to .toFixed() null metric
Anthropic tracking migraiton
cleanup logs

* Apipie implmentation, not tested

* Cleanup Anthropic notes, Add support for AzureOpenAI tracking

* bedrock token metric tracking

* Cohere support

* feat: improve default stream handler to track for provider who are actually OpenAI compliant in usage reporting
add deepseek support

* feat: Add FireworksAI tracking reporting
fix: improve handler when usage:null is reported (why?)

* Add token reporting for GenericOpenAI

* token reporting for koboldcpp + lmstudio

* lint

* support Groq token tracking

* HF token tracking

* token tracking for togetherai

* LiteLLM token tracking

* linting + Mitral token tracking support

* XAI token metric reporting

* native provider runner

* LocalAI token tracking

* Novita token tracking

* OpenRouter token tracking

* Apipie stream metrics

* textwebgenui token tracking

* perplexity token reporting

* ollama token reporting

* lint

* put back comment

* Rip out LC ollama wrapper and use official library

* patch images with new ollama lib

* improve ollama offline message

* fix image handling in ollama llm provider

* lint

* NVIDIA NIM token tracking

* update openai compatbility responses

* UI/UX show/hide metrics on click for user preference

* update bedrock client

---------

Co-authored-by: shatfield4 <seanhatfield5@gmail.com>

* Append writable fields to dev API new workspace endpoint (Mintplex-Labs#2843)

* add writible fields to dev api new workspace endpoint

* lint

* implement validations for workspace model

* update swagger comments

* simplify validations for workspace on frontend and API

* cleanup validations

---------

Co-authored-by: Timothy Carambat <rambat1010@gmail.com>

* Enable `default` roles to be able to use `attachments` but not upload documents (Mintplex-Labs#2860)

* Enable default users to be able to add attachments, but not files to chats

* Add support for gemini authenticated models endpoint (Mintplex-Labs#2868)

* Add support for gemini authenticated models endpoint
add customModels entry
add un-authed fallback to default listing
separate models by expiermental status
resolves Mintplex-Labs#2866

* add back improved logic for apiVersion decision making

* Remove fine-tuning flow (Mintplex-Labs#2872)

remove fine-tuning flow

* fix wrong metadata assignment in MilvusProvider (Mintplex-Labs#2870)

fixed wrong metadata assignment

* update ollama performance mode (Mintplex-Labs#2874)

* Fix light mode table colors (Mintplex-Labs#2873)

* fix light mode table colors

* fix table styles from being overwritten in other sections that are not chat messages

---------

Co-authored-by: Timothy Carambat <rambat1010@gmail.com>

* more table styles for lightmode

* Fix styles of ChangeWarningModal (Mintplex-Labs#2876)

fix styles of ChangeWarningModal

* sync-fork-202412

* sync-fork-202412

---------

Signed-off-by: Jaid <6216144+Jaid@users.noreply.github.com>
Co-authored-by: timothycarambat <rambat1010@gmail.com>
Co-authored-by: Mr Simon C <iamontheinternet@yahoo.com>
Co-authored-by: Sebastjan Prachovskij <sebastjan.prachovskij@gmail.com>
Co-authored-by: amrrs <1littlecoder@gmail.com>
Co-authored-by: John Blomberg <john.jb.blomberg@gmail.com>
Co-authored-by: Sean Hatfield <seanhatfield5@gmail.com>
Co-authored-by: Yaner <1468275133@qq.com>
Co-authored-by: Aaron Van Doren <vandoren96+1@gmail.com>
Co-authored-by: Blazej Owczarczyk <blazeyy@gmail.com>
Co-authored-by: Jaid <6216144+Jaid@users.noreply.github.com>
Co-authored-by: Roman <rrojaski@gmail.com>
Co-authored-by: Emil Rofors (aider) <emirof@gmail.com>
Co-authored-by: a4v2d4 <61302808+a4v2d4@users.noreply.github.com>
Co-authored-by: Adam <phazei@gmail.com>
Co-authored-by: abrakadobr <abrakadobr@gmail.com>
Co-authored-by: Location <59411633+James-Lu-none@users.noreply.github.com>
Co-authored-by: Jason <ggbbddjm@gmail.com>
Co-authored-by: Melroy <39052594+MelroyB@users.noreply.github.com>
Co-authored-by: Gabriel Le Breton <lebreton.gabriel@gmail.com>
Co-authored-by: WinSun <35953131+fiyen@users.noreply.github.com>
Co-authored-by: Peter Dave Hello <hsu@peterdavehello.org>
Co-authored-by: Philipp Eckel <philipp.eckel@intive.com>
Co-authored-by: hdelossantos <hdelossantos@users.noreply.github.com>
Co-authored-by: Debugs <56821442+bibo318@users.noreply.github.com>
Co-authored-by: Tuan Nguyen <tuannguyen091095@gmail.com>
Co-authored-by: Logan Reeder <148260300+logscore@users.noreply.github.com>
Co-authored-by: Scott Bowler <scott@dcsdigital.co.uk>
Co-authored-by: Andy Santana <andysantana0106@gmail.com>
Co-authored-by: wolfganghuse <wolfgang.huse@nutanix.com>
Co-authored-by: Bahtiar Ariyanki <bahtiarariyanki@Bahtiars-MacBook-Air.local>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEAT]: Light theme option
2 participants