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

Downstream #12

Merged
merged 253 commits into from
Apr 11, 2024
Merged

Downstream #12

merged 253 commits into from
Apr 11, 2024
This pull request is big! We’re only showing the most recent 250 commits.

Commits on Jan 26, 2024

  1. Configuration menu
    Copy the full SHA
    fcbaa74 View commit details
    Browse the repository at this point in the history
  2. 🧹 Clean Up OpenAI Config and Show 'Set Azure Key' for Plugins (danny-…

    …avila#1649)
    
    * refactor(gptPlugins): prevent edge case where exact word `azure` could be found in azure api Key detection when not an azure key
    
    * refactor(SetKeyDialog): cleanup OpenAI config, show \'set azure key\' when `PLUGINS_USE_AZURE` env var is enabled
    danny-avila authored Jan 26, 2024
    Configuration menu
    Copy the full SHA
    0edfa04 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c470147 View commit details
    Browse the repository at this point in the history

Commits on Jan 27, 2024

  1. 📋 feat: Log Custom Config File and Add Known Model Limits to Custom E…

    …ndpoint (danny-avila#1657)
    
    * refactor(custom): add all recognized models to maxTokensMap for custom endpoint
    
    * feat(librechat.yaml): log the custom config file on initial load
    
    * fix(OpenAIClient): pass endpointType/endpoint to `getModelMaxTokens` call
    danny-avila authored Jan 27, 2024
    Configuration menu
    Copy the full SHA
    f7f7f92 View commit details
    Browse the repository at this point in the history

Commits on Jan 30, 2024

  1. Configuration menu
    Copy the full SHA
    35e611f View commit details
    Browse the repository at this point in the history
  2. 🌍 : Update Japanese translation (danny-avila#1666)

    * Language translation: japanese
    
    * Language translation: japanese
    Kakenyan authored Jan 30, 2024
    Configuration menu
    Copy the full SHA
    c4fd8a3 View commit details
    Browse the repository at this point in the history
  3. 🔝fix: Re-order System Message to Top for Mistral API Payloads (danny-…

    …avila#1678)
    
    * fix: re-order System Message if Mistral AI API as it only allows System Message at start of Payload
    
    * fix: re-introduce singular system message change role to `user` if `system`
    danny-avila authored Jan 30, 2024
    Configuration menu
    Copy the full SHA
    9fad1b2 View commit details
    Browse the repository at this point in the history
  4. 🛡️ : Security Enhancements (danny-avila#1681)

    * fix: sanitize HTTP params and do not send whole error objects backs
    
    * fix: prevent path traversal
    
    * fix: send custom error message for tokenizer route
    
    * chore: handle info exposure vector
    
    * chore(oauth): skip check due to false positive as oauth routes are rate-limited
    
    * chore(app): disable `x-powered-by`
    
    * chore: disable false positives or flagging of hardcoded secrets when they are fake values
    
    * chore: add path traversal safety check
    danny-avila authored Jan 30, 2024
    Configuration menu
    Copy the full SHA
    972402e View commit details
    Browse the repository at this point in the history

Commits on Jan 31, 2024

  1. 📝 docs update: remove ChatGPTbrowser and other small fixes (danny-avi…

    …la#1686)
    
    * 🧼 docs: remove references to ChatGPTbrowser and PandoraNext
    
    * docs: clean up .env file
    
    Update OpenAI models with the list of automatically fetched models, update Plugin models with the list of models supporting functions, comment out ToC in custom_config.md since it conflicts with mkdock right sidebar ToC
    
    * 🖋️ docs: fix formatting in linux_install.md
    
    * docs: update example model lists in dotenv.md
    
    * docs: update breaking_changesv.md
    fuegovic authored Jan 31, 2024
    Configuration menu
    Copy the full SHA
    b37f55c View commit details
    Browse the repository at this point in the history
  2. 🤖 docs: add copilot-gpt4-service AI setup info (danny-avila#1695)

    Adds information and setup details for [aaamon's copilot-gpt4-service](https://github.com/aaamoon/copilot-gpt4-service) to Unofficial APIs section of the documentation.
    
    Utilizes Github's Copilot to access OpenAI api.
    zimmra authored Jan 31, 2024
    Configuration menu
    Copy the full SHA
    a922037 View commit details
    Browse the repository at this point in the history

Commits on Feb 1, 2024

  1. 🥷 docs: Ninja - ChatGPT-browser reverse proxy (danny-avila#1697)

    * 🥷  docs: Ninja ChatGPT-browser reverse proxy
    
    * 🥷  docs: breaking changes
    fuegovic authored Feb 1, 2024
    Configuration menu
    Copy the full SHA
    2b48708 View commit details
    Browse the repository at this point in the history
  2. 🌍 : Update German Translations (danny-avila#1683)

    Co-authored-by: marlonka <marloc55@yahoo.de>
    marlonka and marloc55 authored Feb 1, 2024
    Configuration menu
    Copy the full SHA
    f1d974c View commit details
    Browse the repository at this point in the history

Commits on Feb 2, 2024

  1. 🪙 feat: Use OpenRouter Model Data for Token Cost and Context (danny-a…

    …vila#1703)
    
    * feat: use openrouter data for model token cost/context
    
    * chore: add ttl for tokenConfig and refetch models if cache expired
    danny-avila authored Feb 2, 2024
    Configuration menu
    Copy the full SHA
    30e143e View commit details
    Browse the repository at this point in the history
  2. 🚀 feat: Support for GPT-3.5 Turbo/0125 Model (danny-avila#1704)

    * 🚀 feat: Support for GPT-3.5 Turbo/0125 Model
    
    * ci: fix tx test
    danny-avila authored Feb 2, 2024
    Configuration menu
    Copy the full SHA
    8479ac7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5f6d431 View commit details
    Browse the repository at this point in the history
  4. 🖌️feat: ScrolltoBottom & Mobile Improvements; Translation Update (dan…

    …ny-avila#1651)
    
    * 🖌️feat: Scrolltobottom Style
    
    * 🖌️feat: ScrolltoBottom Style
    
    * 📱Settings tab now centered on mobile / selection bug fixed 🐞, 🌍 Updated Translation
    
    * 🛠️fix: Adjust the width of the settings dialog and address the issue of not seeing selection on the desktop.
    
    * 🎨 Update settings tabs background color for dark mode.
    Adjusts background color dynamically based on screen size.
    
    * 🛠️fix: Reverted changes in ScrolltoBottom file
    itzraiss authored Feb 2, 2024
    Configuration menu
    Copy the full SHA
    296967e View commit details
    Browse the repository at this point in the history

Commits on Feb 3, 2024

  1. Configuration menu
    Copy the full SHA
    7934cc5 View commit details
    Browse the repository at this point in the history
  2. 🖊️ README.md: update button layout (danny-avila#1709)

    change size and position of the one click deployment buttons
    fuegovic authored Feb 3, 2024
    Configuration menu
    Copy the full SHA
    13b2d6e View commit details
    Browse the repository at this point in the history

Commits on Feb 4, 2024

  1. ♾️ style: Infinite Scroll Nav and Sort Convos by Date/Usage (danny-av…

    …ila#1708)
    
    * Style: Infinite Scroll and Group convos by date
    
    * Style: Infinite Scroll and Group convos by date- Redesign NavBar
    
    * Style: Infinite Scroll and Group convos by date- Redesign NavBar - Clean code
    
    * Style: Infinite Scroll and Group convos by date- Redesign NavBar - Redesign NewChat Component
    
    * Style: Infinite Scroll and Group convos by date- Redesign NavBar - Redesign NewChat Component
    
    * Style: Infinite Scroll and Group convos by date- Redesign NavBar - Redesign NewChat Component
    
    * Including OpenRouter and Mistral icon
    
    * refactor(Conversations): cleanup use of utility functions and typing
    
    * refactor(Nav/NewChat): use localStorage `lastConversationSetup` to determine the endpoint to use, as well as icons -> JSX components, remove use of `endpointSelected`
    
    * refactor: remove use of `isFirstToday`
    
    * refactor(Nav): remove use of `endpointSelected`, consolidate scrolling logic to its own hook `useNavScrolling`, remove use of recoil `conversation`
    
    * refactor: Add spinner to bottom of list, throttle fetching, move query hooks to client workspace
    
    * chore: sort by `updatedAt` field
    
    * refactor: optimize conversation infinite query, use optimistic updates, add conversation helpers for managing pagination, remove unnecessary operations
    
    * feat: gen_title route for generating the title for the conversation
    
    * style(Convo): change hover bg-color
    
    * refactor: memoize groupedConversations and return as array of tuples, correctly update convos pre/post message stream, only call genTitle if conversation is new, make `addConversation` dynamically either add/update depending if convo exists in pages already, reorganize type definitions
    
    * style: rename Header NewChat Button -> HeaderNewChat, add NewChatIcon, closely match main Nav New Chat button to ChatGPT
    
    * style(NewChat): add hover bg color
    
    * style: cleanup comments, match ChatGPT nav styling, redesign search bar, make part of new chat sticky header, move Nav under same parent as outlet/mobilenav, remove legacy code, search only if searchQuery is not empty
    
    * feat: add tests for conversation helpers and ensure no duplicate conversations are ever grouped
    
    * style: hover bg-color
    
    * feat: alt-click on convo item to open conversation in new tab
    
    * chore: send error message when `gen_title` fails
    
    ---------
    
    Co-authored-by: Walber Cardoso <walbercardoso@gmail.com>
    danny-avila and walbercardoso authored Feb 4, 2024
    Configuration menu
    Copy the full SHA
    74459d6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    335980a View commit details
    Browse the repository at this point in the history
  3. 🐳 fix: Update .devcontainer Files (danny-avila#1712)

    * fix: modify the base docker image for devcontainer
    
    * fix: restore package-lock.json from main
    ryohei-kamiya authored Feb 4, 2024
    Configuration menu
    Copy the full SHA
    d25ff76 View commit details
    Browse the repository at this point in the history
  4. 📱 style: Settings UI Enhancements for Mobile (danny-avila#1721)

    * Fix the interface for the mobile version.
    
    * Make uniform margins for buttons.
    machinsoft authored Feb 4, 2024
    Configuration menu
    Copy the full SHA
    e7f6b22 View commit details
    Browse the repository at this point in the history
  5. 🐳 docs: How to Authenticate MongoDB (danny-avila#1724)

    * refactor: remove `--noauth` flag from `mongod` command
    
    * docs: add mongodb auth instructions
    
    * Update manage_your_database.md
    
    * chore: add example
    
    * Update manage_your_database.md
    danny-avila authored Feb 4, 2024
    Configuration menu
    Copy the full SHA
    7b38586 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    c31d5d9 View commit details
    Browse the repository at this point in the history

Commits on Feb 5, 2024

  1. 🐳 docs: Add deploy to Zeabur button and guide (danny-avila#1727)

    * 🐳 docs: Add deploy to Zeabur button in README.md
    
    * 🐳 docs: Add deploy to Zeabur guide in docs
    yuaanlin authored Feb 5, 2024
    Configuration menu
    Copy the full SHA
    d1cf02b View commit details
    Browse the repository at this point in the history
  2. 🖋️ docs: Formatting Fix (danny-avila#1726)

    * 🍃 docs: Formatting Fix
    
    * 🖋️ docs: Formatting Fix
    
    * 🖋️ docs: Formatting Fix
    fuegovic authored Feb 5, 2024
    Configuration menu
    Copy the full SHA
    b5c2fb9 View commit details
    Browse the repository at this point in the history
  3. 🔒✉️ feat: allow only certain domain (danny-avila#1562)

    * feat: allow only certain domain
    
    * Update dotenv.md
    
    * refactor( registrationController) & handle ALLOWED_REGISTRATION_DOMAINS not specified
    
    * cleanup and moved to AuthService for better  error handling
    
    * refactor: replace environment variable with librechat config item, add typedef for custom config, update docs for new registration object and allowedDomains values
    
    * ci(AuthService): test for `isDomainAllowed`
    
    ---------
    
    Co-authored-by: Danny Avila <messagedaniel@protonmail.com>
    berry-13 and danny-avila authored Feb 5, 2024
    Configuration menu
    Copy the full SHA
    25da906 View commit details
    Browse the repository at this point in the history
  4. 🔄🔐 refactor: auth; style: match OpenAI; feat: custom social login ord…

    …er (danny-avila#1421)
    
    * refactor(Login & Registration)
    
    * fix(Registration) test errors
    
    * refactor(LoginForm & ResetPassword)
    
    * fix(LoginForm): display 'undefined' when loading page; style(SocialButton): match OpenAI's graphics
    
    * some refactor and style update for social logins
    
    * style: width like OpenAI; feat: custom social login order; refactor: alphabetical socials
    
    * fix(Registration & Login) test
    
    * Update .env.example
    
    * Update .env.example
    
    * Update dotenv.md
    
    * refactor: remove `SOCIAL_LOGIN_ORDER` for `socialLogins` configured from `librechat.yaml`
    - initialized by AppService, attached as app.locals property
    - rename socialLoginOrder and loginOrder to socialLogins app-wide for consistency
    - update types and docs
    - initialize config variable as array and not singular string to parse
    - bump data-provider to 0.3.9
    
    ---------
    
    Co-authored-by: Danny Avila <messagedaniel@protonmail.com>
    berry-13 and danny-avila authored Feb 5, 2024
    Configuration menu
    Copy the full SHA
    a2c35e8 View commit details
    Browse the repository at this point in the history
  5. 🔧 fix: socialLogins default value (danny-avila#1730)

    * fix: socialLogins default value
    
    * ci: add test for `AppService`
    danny-avila authored Feb 5, 2024
    Configuration menu
    Copy the full SHA
    f30d6bd View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    b151cd9 View commit details
    Browse the repository at this point in the history

Commits on Feb 7, 2024

  1. Configuration menu
    Copy the full SHA
    7188cbd View commit details
    Browse the repository at this point in the history
  2. ✏️ update dotenv.md (danny-avila#1740)

    update the note about rebuilding LibreChat after configuration changes since the .env file is now mounted into the volume
    fuegovic authored Feb 7, 2024
    Configuration menu
    Copy the full SHA
    7f2264f View commit details
    Browse the repository at this point in the history

Commits on Feb 8, 2024

  1. Configuration menu
    Copy the full SHA
    d06e5d2 View commit details
    Browse the repository at this point in the history
  2. 👤 feat: User ID in Model Query; chore: cleanup ModelService (danny-av…

    …ila#1753)
    
    * feat: send the LibreChat user ID as a query param when fetching the list of models
    
    * chore: update bun
    
    * chore: change bun command for building data-provider
    
    * refactor: prefer use of `getCustomConfig` to access custom config, also move to `server/services/Config`
    
    * refactor: make endpoints/custom option for the config optional, add userIdQuery, and use modelQueries log store in ModelService
    
    * refactor(ModelService): use env variables at runtime, use default models from data-provider, and add tests
    
    * docs: add `userIdQuery`
    
    * fix(ci): import changed
    danny-avila authored Feb 8, 2024
    Configuration menu
    Copy the full SHA
    ff05715 View commit details
    Browse the repository at this point in the history

Commits on Feb 9, 2024

  1. 🦙 docs: Ollama Docs Update (danny-avila#1756)

    * Update to use docker-compose.overridge.yml
    
    Add GPU Acceleration links
    
    * Update litellm.md
    bsu3338 authored Feb 9, 2024
    Configuration menu
    Copy the full SHA
    927ce53 View commit details
    Browse the repository at this point in the history
  2. 🧩 feat: Support Alternate API Keys for Plugins (danny-avila#1760)

    * refactor(DALL-E): retrieve env variables at runtime and not from memory
    
    * feat(plugins): add alternate env variable handling to allow setting one api key for multiple plugins
    
    * docs: update docs
    danny-avila authored Feb 9, 2024
    Configuration menu
    Copy the full SHA
    39caeb2 View commit details
    Browse the repository at this point in the history

Commits on Feb 10, 2024

  1. Configuration menu
    Copy the full SHA
    92a41fb View commit details
    Browse the repository at this point in the history
  2. ⬤ style: Circular Streaming Cursor (danny-avila#1736)

    * Updated Style Cursor like ChatGPT
    
    * style(Markdown.tsx): add space before cursor when there is text
    
    * fix: revert OpenAIClient.tokens.js change
    
    * fix:(Markdown.tsx): revert change of unused file
    
    * fix(convos.spec.ts): test fix
    
    * chore: remove raw HTML for cursor animations
    
    ---------
    
    Co-authored-by: Danny Avila <danacordially@gmail.com>
    Co-authored-by: Danny Avila <messagedaniel@protonmail.com>
    3 people authored Feb 10, 2024
    Configuration menu
    Copy the full SHA
    a2e85b7 View commit details
    Browse the repository at this point in the history
  3. 🔌 fix: Minor Plugins Improvements (danny-avila#1766)

    * fix(PluginsClient): don't invoke `getFunctionModelName` when using Azure OpenAI
    
    * fix: plugins styling fix with new cursor
    
    * ci(PluginsClient): test azure exception for getFunctionModelName
    danny-avila authored Feb 10, 2024
    Configuration menu
    Copy the full SHA
    d2494e6 View commit details
    Browse the repository at this point in the history

Commits on Feb 11, 2024

  1. Configuration menu
    Copy the full SHA
    50adb1b View commit details
    Browse the repository at this point in the history
  2. 🖌️ style: Update conversation history groups (danny-avila#1770)

    * style: Add month groups to conversation history
    
    * style: Change "Last x days" to "Previous x days" to match ChatGPT
    
    * style: Add "Yesterday" to conversation groups to match ChatGPT
    
    * fix: use startOfDay for Yesterday conversation group
    
    * fix: Output month name instead of number in conversation group name
    
    * test: Validate new conversation groups are created properly
    
    * fix: Formatting of month category string was wrong
    trevorswanson authored Feb 11, 2024
    Configuration menu
    Copy the full SHA
    14b61fc View commit details
    Browse the repository at this point in the history
  3. 🎉 happy birthday LibreChat (danny-avila#1768)

    * happy birthday LibreChat
    
    * Refactor endpoint condition in Landing component
    
    * Update birthday message in Eng.tsx
    
    * fix(/config): avoid nesting ternaries
    
    * refactor(/config): check birthday
    
    ---------
    
    Co-authored-by: Danny Avila <messagedaniel@protonmail.com>
    berry-13 and danny-avila authored Feb 11, 2024
    Configuration menu
    Copy the full SHA
    a91042b View commit details
    Browse the repository at this point in the history

Commits on Feb 12, 2024

  1. Configuration menu
    Copy the full SHA
    5ccdec7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d8d79ab View commit details
    Browse the repository at this point in the history
  3. 📝 docs: clarifications - override file & balance/token count (danny-a…

    …vila#1783)
    
    * 📝 docs: override file clarification
    
    * 📝 docs: override file clarification
    
    * 📝 docs: balance & token count clarification
    fuegovic authored Feb 12, 2024
    Configuration menu
    Copy the full SHA
    7ff2418 View commit details
    Browse the repository at this point in the history

Commits on Feb 13, 2024

  1. Configuration menu
    Copy the full SHA
    6ccf4d6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    050eeb1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    cd27864 View commit details
    Browse the repository at this point in the history

Commits on Feb 14, 2024

  1. ✨ feat: Assistants API, General File Support, Side Panel, File Explor…

    …er (danny-avila#1696)
    
    * feat: assistant name/icon in Landing & Header
    
    * feat: assistname in textarea placeholder, and use `Assistant` as default name
    
    * feat: display non-image files in user messages
    
    * fix: only render files if files.length is > 0
    
    * refactor(config -> file-config): move file related configuration values to separate module, add excel types
    
    * chore: spreadsheet file rendering
    
    * fix(Landing): dark mode style for Assistant Name
    
    * refactor: move progress incrementing to own hook, start smaller, cap near limit \(1\)
    
    * refactor(useContentHandler): add empty Text part if last part was completed tool or image
    
    * chore: add accordion trigger border styling for dark mode
    
    * feat: Assistant Builder model selection
    
    * chore: use Spinner when Assistant is mutating
    
    * fix(get/assistants): return correct response object `AssistantListResponse`
    
    * refactor(Spinner): pass size as prop
    
    * refactor: make assistant crud mutations optimistic, add types for options
    
    * chore: remove assistants route and view
    
    * chore: move assistant builder components to separate directory
    
    * feat(ContextButton): delete Assistant via context button/dialog, add localization
    
    * refactor: conditionally show use and context menu buttons, add localization for create assistant
    
    * feat: save side panel states to localStorage
    
    * style(SidePanel): improve avatar menu and assistant select styling for dark mode
    
    * refactor: make NavToggle reusable for either side (left or right), add SidePanel Toggle with ability to close it completely
    
    * fix: resize handle and navToggle behavior
    
    * fix(/avatar/:assistant_id): await `deleteFile` and assign unique name to uploaded image
    
    * WIP: file UI components from PR danny-avila#576
    
    * refactor(OpenAIMinimalIcon): pass className
    
    * feat: formatDate helper fn
    
    * feat: DataTableColumnHeader
    
    * feat: add row selection, formatted row values, number of rows selected
    
    * WIP: add files to Side panel temporarily
    
    * feat: `LB_QueueAsyncCall`: Leaky Bucket queue for external APIs, use in `processDeleteRequest`
    
    * fix(TFile): correct `source` type with `FileSources`
    
    * fix(useFileHandling): use `continue` instead of return when iterating multiple files, add file type to extendedFile
    
    * chore: add generic setter type
    
    * refactor(processDeleteRequest): settle promises to prevent rejections from processing deletions, log errors
    
    * feat: `useFileDeletion` to reuse file deletion logic
    
    * refactor(useFileDeletion): make `setFiles` an optional param and use object as param
    
    * feat: useDeleteFilesFromTable
    
    * feat: use real `files` data and add deletion action to data table
    
    * fix(Table): make headers sticky
    
    * feat: add dynamic filtering for columns; only show to user Host or OpenAI storage type
    
    * style(DropdownMenu): replace `slate` with `gray`
    
    * style(DataTable): apply dark mode themes and other misc styling
    
    * style(Columns): add color to OpenAI Storage option
    
    * refactor(FileContainer): make file preview reusable
    
    * refactor(Images): make image preview reusable
    
    * refactor(FilePreview): make file prop optional for FileIcon and FilePreview, fix relative style
    
    * feat(Columns): add file/image previews, set a minimum size to show for file size in bytes
    
    * WIP: File Panel with real files and formatted
    
    * feat: open files dialog from panel
    
    * style: file data table mobile and general column styling fixes
    
    * refactor(api/files): return files sorted by the most recently updated
    
    * refactor: provide fileMap through context to prevent re-selecting files to map in different areas; remove unused imports commented out in PanelColumns
    
    * refactor(ExtendFile): make File type optional, add `attached` to prevent attached files from being deleted on remove, make Message.files a partial TFile type
    
    * feat: attach files through file panel
    
    * refactor(useFileHandling): move files to the start of cache list when uploaded
    
    * refactor(useDeleteFilesMutation): delete files from cache when successfully deleted from server
    
    * fix(FileRow): handle possible edge case of duplication due to attaching recently uploaded file
    
    * style(SidePanel): make resize grip border transparent, remove unnecessary styling on close sidepanel button
    
    * feat: action utilities and tests
    
    * refactor(actions): add `ValidationResult` type and change wording for no server URL found
    
    * refactor(actions): check for empty server URL
    
    * fix(data-provider): revert tsconfig to fix type issue resolution
    
    * feat(client): first pass of actions input for assistants
    
    * refactor(FunctionSignature): change method to output object instead of string
    
    * refactor(models/Assistant): add actions field to schema, use searchParams object for methods, and add `getAssistant`
    
    * feat: post actions input first pass
    - create new Action document
    - add actions to Assistant DB document
    - create /action/:assistant_id POST route
    - pass more props down from PanelSwitcher, derive assistant_id from switcher
    - move privacy policy to ActionInput
    - reset data on input change/validation
    - add `useUpdateAction`
    - conform FunctionSignature type to FunctionTool
    - add action, assistant doc, update hook related types
    
    * refactor: optimize assistant/actions relationship
    - past domain in metadata as hostname and not a URL
    - include domain in tool name
    - add `getActions` for actions retrieval by user
    - add `getAssistants` for assistant docs retrieval by user
    - add `assistant_id` to Action schema
    - move actions to own module as a subroute to `api/assistants`
    - add `useGetActionsQuery` and `useGetAssistantDocsQuery` hooks
    - fix Action type def
    
    * feat: show assistant actions in assistant builder
    
    * feat: switch to actions on action click, editing action styling
    
    * fix: add Assistant state for builder panel to allow immediate selection of newly created assistants as well as retaining the current assistant when switching to a different panel within the builder
    
    * refactor(SidePanel/NavToggle): offset less from right when SidePanel is completely collapsed
    
    * chore: rename `processActions` -> `processRequiredActions`
    
    * chore: rename Assistant API Action to RequiredAction
    
    * refactor(actions): avoid nesting actual API params under generic `requestBody` to optimize LLM token usage
    
    * fix(handleTools): avoid calling `validTool` if not defined, add optional param to skip the loading of specs, which throws an error in the context of assistants
    
    * WIP: working first pass of toolCalls generated from openapi specs
    
    * WIP: first pass ToolCall styling
    
    * feat: programmatic iv encryption/decryption helpers
    
    * fix: correct ActionAuth types/enums, and define type for AuthForm
    
    * feat: encryption/decryption helpers for Action AuthMetadata
    
    * refactor(getActions): remove sensitive fields from query response
    
    * refactor(POST/actions): encrypt and remove sensitive fields from mutation response
    
    * fix(ActionService): change ESM import to CJS
    
    * feat: frontend auth handling for actions + optimistic update on action update/creation
    
    * refactor(actions): use the correct variables and types for setAuth method
    
    * refactor: POST /:assistant_id action can now handle updating an existing action, add `saved_auth_fields` to determine when user explicitly saves new auth creds. only send auth metadata if user explicitly saved fields
    
    * refactor(createActionTool): catch errors and send back meaningful error message, add flag to `getActions` to determine whether to retrieve sensitive values or not
    
    * refactor(ToolService): add `action` property to ToolCall PartMetadata to determine if the tool call was an action, fix parsing function name issue with actionDelimiter
    
    * fix(ActionRequest): use URL class to correctly join endpoint parts for `execute` call
    
    * feat: delete assistant actions
    
    * refactor: conditionally show Available actions
    
    * refactor: show `retrieval` and `code_interpreter` as Capabilities, swap `Switch` for `Checkbox`
    
    * chore: remove shadow-stroke from messages
    
    * WIP: first pass of Assistants Knowledge attachments
    
    * refactor: remove AssistantsProvider in favor of FormProvider, fix selectedAssistant re-render bug, map Assistant file_ids to files via fileMap, initialize Knowledge component with mapped files if any exist
    
    * fix: prevent deleting files on assistant file upload
    
    * chore: remove console.log
    
    * refactor(useUploadFileMutation): update files and assistants cache on upload
    
    * chore: disable oauth option as not supported yet
    
    * feat: cancel assistant runs
    
    * refactor: initialize OpenAI client with helper function, resolve all related circular dependencies
    
    * fix(DALL-E): initialization
    
    * fix(process): openai client initialization
    
    * fix: select an existing Assistant when the active one is deleted
    
    * chore: allow attaching files for assistant endpoint, send back relevant OpenAI error message when uploading, deconstruct openAI initialization correctly, add `message_file` to formData when a file is attached to the message but not the assistant
    
    * fix: add assistant_id on newConvo
    
    * fix(initializeClient): import fix
    
    * chore: swap setAssistant for setOption in useEffect
    
    * fix(DALL-E): add processFileURL to loadTools call
    
    * chore: add customConfig to debug logs
    
    * feat: delete threads on convo delete
    
    * chore: replace Assistants icon
    
    * chore: remove console.dir() in `abortRun`
    
    * feat(AssistantService): accumulate text values from run in openai.responseText
    
    * feat: titling for assistants endpoint
    
    * chore: move panel file components to appropriate directory, add file checks for attaching files, change icon for Attach Files
    
    * refactor: add localizations to tools, plugins, add condition for adding/remove user plugins so tool selections don't affect this value
    
    * chore: disable `import from url` action for now
    
    * chore: remove textMimeTypes from default fileConfig for now
    
    * fix: catch tool errors and send as outputs with error messages
    
    * fix: React warning about button as descendant of button
    
    * style: retrieval and cancelled icon
    
    * WIP: pass isSubmitting to Parts, use InProgressCall to display cancelled tool calls correctly, show domain/function name
    
    * fix(meilisearch): fix `postSaveHook` issue where indexing expects a mongo document, and join all text content parts for meili indexing
    
    * ci: fix dall-e tests
    
    * ci: fix client tests
    
    * fix: button types in actions panel
    
    * fix: plugin auth form persisting across tool selections
    
    * fix(ci): update AppService spec with `loadAndFormatTools`
    
    * fix(clearConvos): add id check earlier on
    
    * refactor(AssistantAvatar): set previewURL dynamically when emtadata.avatar changes
    
    * feat(assistants): addTitle cache setting
    
    * fix(useSSE): resolve rebase conflicts
    
    * fix: delete mutation
    
    * style(SidePanel): make grip visible on active and hover, invisible otherwise
    
    * ci: add data-provider tests to workflow, also update eslint/tsconfig to recognize specs, and add `text/csv` to fileConfig
    
    * fix: handle edge case where auth object is undefined, and log errors
    
    * refactor(actions): resolve  schemas, add tests for resolving refs, import specs from separate file for tests
    
    * chore: remove comment
    
    * fix(ActionsInput): re-render bug when initializing states with action fields
    
    * fix(patch/assistant): filter undefined tools
    
    * chore: add logging for errors in assistants routes
    
    * fix(updateAssistant): map actions to functions to avoid overwriting
    
    * fix(actions): properly handle GET paths
    
    * fix(convos): unhandled delete thread exception
    
    * refactor(AssistantService): pass both thread_id and conversationId when sending intermediate assistant messages, remove `mapMessagesToSteps` from AssistantService
    
    * refactor(useSSE): replace all messages with runMessages and pass latestMessageId to abortRun; fix(checkMessageGaps): include tool calls when  syncing messages
    
    * refactor(assistants/chat): invoke `createOnTextProgress` after thread creation
    
    * chore: add typing
    
    * style: sidepanel styling
    
    * style: action tool call domain styling
    
    * feat(assistants): default models, limit retrieval to certain models, add env variables to to env.example
    
    * feat: assistants api key in EndpointService
    
    * refactor: set assistant model to conversation on assistant switch
    
    * refactor: set assistant model to conversation on assistant select from panel
    
    * fix(retrieveAndProcessFile): catch attempt to download file with `assistant` purpose which is not allowed; add logging
    
    * feat: retrieval styling, handling, and logging
    
    * chore: rename ASSISTANTS_REVERSE_PROXY to ASSISTANTS_BASE_URL
    
    * feat: FileContext for file metadata
    
    * feat: context file mgmt and filtering
    
    * style(Select): hover/rounded changes
    
    * refactor: explicit conversation switch, endpoint dependent, through `useSelectAssistant`, which does not create new chat if current endpoint is assistant endpoint
    
    * fix(AssistantAvatar): make empty previewURL if no avatar present
    
    * refactor: side panel mobile styling
    
    * style: merge tool and action section, optimize mobile styling for action/tool buttons
    
    * fix: localStorage issues
    
    * fix(useSelectAssistant): invoke react query hook directly in select hook as Map was not being updated in time
    
    * style: light mode fixes
    
    * fix: prevent sidepanel nav styling from shifting layout up
    
    * refactor: change default layout (collapsed by default)
    
    * style: mobile optimization of DataTable
    
    * style: datatable
    
    * feat: client-side hide right-side panel
    
    * chore(useNewConvo): add partial typing for preset
    
    * fix(useSelectAssistant): pass correct model name by using template as preset
    
    * WIP: assistant presets
    
    * refactor(ToolService): add native solution for `TavilySearchResults` and log tool output errors
    
    * refactor: organize imports and use native TavilySearchResults
    
    * fix(TavilySearchResults): stringify result
    
    * fix(ToolCall): show tool call outputs when not an action
    
    * chore: rename Prompt Prefix to custom instructions (in user facing text only)
    
    * refactor(EditPresetDialog): Optimize setting title by debouncing, reset preset on dialog close to avoid state mixture
    
    * feat: add `presetOverride` to overwrite active conversation settings when saving a Preset (relevant for client side updates only)
    
    * feat: Assistant preset settings (client-side)
    
    * fix(Switcher): only set assistant_id and model if current endpoint is Assistants
    
    * feat: use `useDebouncedInput` for updating conversation settings, starting with EditPresetDialog title setting and Assistant instructions setting
    
    * feat(Assistants): add instructions field to settings
    
    * feat(chat/assistants): pass conversation settings to run body
    
    * wip: begin localization and only allow actions if the assistant is created
    
    * refactor(AssistantsPanel): knowledge localization, allow tools on creation
    
    * feat: experimental: allow 'priming' values before assistant is created, that would normally require an assistant_id to be defined
    
    * chore: trim console logs and make more meaningful
    
    * chore: toast messages
    
    * fix(ci): date test
    
    * feat: create file when uploading Assistant Avatar
    
    * feat: file upload rate limiting from custom config with dynamic file route initialization
    
    * refactor: use file upload limiters on post routes only
    
    * refactor(fileConfig): add endpoints field for endpoint specific fileconfigs, add mergeConfig function, add tests
    
    * refactor: fileConfig route, dynamic multer instances used on all '/' and '/images' POST routes, data service and query hook
    
    * feat: supportedMimeTypesSchema, test for array of regex
    
    * feat: configurable file config limits
    
    * chore: clarify assistants file knowledge prereq.
    
    * chore(useTextarea): default to localized 'Assistant' if assistant name is empty
    
    * feat: configurable file limits and toggle file upload per endpoint
    
    * fix(useUploadFileMutation): prevent updating assistant.files cache if file upload is a message_file attachment
    
    * fix(AssistantSelect): set last selected assistant only when timeout successfully runs
    
    * refactor(queries): disable assistant queries if assistants endpoint is not enabled
    
    * chore(Switcher): add localization
    
    * chore: pluralize `assistant` for `EModelEndpoint key and value
    
    * feat: show/hide assistant UI components based on endpoint availability; librechat.yaml config for disabling builder section and setting polling/timeout intervals
    
    * fix(compactEndpointSchemas): use EModelEndpoint for schema access
    
    * feat(runAssistant): use configured values from `librechat.yaml` for `pollIntervalMs` and `timeout`
    
    * fix: naming issue
    
    * wip: revert landing
    
    * 🎉 happy birthday LibreChat (danny-avila#1768)
    
    * happy birthday LibreChat
    
    * Refactor endpoint condition in Landing component
    
    * Update birthday message in Eng.tsx
    
    * fix(/config): avoid nesting ternaries
    
    * refactor(/config): check birthday
    
    ---------
    
    Co-authored-by: Danny Avila <messagedaniel@protonmail.com>
    
    * fix: landing
    
    * fix: landing
    
    * fix(useMessageHelpers): hardcoded check to use EModelEndpoint instead
    
    * fix(ci): convo test revert to main
    
    * fix(assistants/chat): fix issue where assistant_id was being saved as model for convo
    
    * chore: added logging, promises racing to prevent longer timeouts, explicit setting of maxRetries and timeouts, robust catching of invalid abortRun params
    
    * refactor: use recoil state for `showStopButton` and only show for assistants endpoint after syncing conversation data
    
    * refactor: optimize abortRun strategy using localStorage, refactor `abortConversation` to use async/await and await the result, refactor how the abortKey cache is set for runs
    
    * fix(checkMessageGaps): assign `assistant_id` to synced messages if defined; prevents UI from showing blank assistant for cancelled messages
    
    * refactor: re-order sequence of chat route, only allow aborting messages after run is created, cancel abortRun if there was a cancelling error (likely due already cancelled in chat route), and add extra logging
    
    * chore(typedefs): add httpAgent type to OpenAIClient
    
    * refactor: use custom implementation of retrieving run with axios to allow for timing out run query
    
    * fix(waitForRun): handle timed out run retrieval query
    
    * refactor: update preset conditions:
    - presets will retain settings when a different endpoint is selected; for existing convos, either when modular or is assistant switch
    - no longer use `navigateToConvo` on preset select
    
    * fix: temporary calculator hack as expects string input when invoked
    
    * fix: cancel abortRun only when cancelling error is a result of the run already being cancelled
    
    * chore: remove use of `fileMaxSizeMB` and total counterpart (redundant)
    
    * docs: custom config documentation update
    
    * docs: assistants api setup and dotenv, new custom config fields
    
    * refactor(Switcher): make Assistant switcher sticky in SidePanel
    
    * chore(useSSE): remove console log of data and message index
    
    * refactor(AssistantPanel): button styling and add secondary select button to bottom of panel
    
    * refactor(OpenAIClient): allow passing conversationId to RunManager through titleConvo and initializeLLM to properly record title context tokens used in cases where conversationId was not defined by the client
    
    * feat(assistants): token tracking for assistant runs
    
    * chore(spendTokens): improve logging
    
    * feat: support/exclude specific assistant Ids
    
    * chore: add update `librechat.example.yaml`, optimize `AppService` handling, new tests for `AppService`, optimize missing/outdate config logging
    
    * chore: mount docker logs to root of project
    
    * chore: condense axios errors
    
    * chore: bump vite
    
    * chore: vite hot reload fix using latest version
    
    * chore(getOpenAIModels): sort instruct models to the end of models list
    
    * fix(assistants): user provided key
    
    * fix(assistants): user provided key, invalidate more queries on revoke
    
    ---------
    
    Co-authored-by: Marco Beretta <81851188+Berry-13@users.noreply.github.com>
    danny-avila and berry-13 authored Feb 14, 2024
    Configuration menu
    Copy the full SHA
    ecd63eb View commit details
    Browse the repository at this point in the history
  2. 🔧 fix(data-provider): add openapi-types dependency (danny-avila#1797)

    * fix(data-provider): add openapi-types dependency
    
    * chore: Bump version to 0.4.1 in package.json
    danny-avila authored Feb 14, 2024
    Configuration menu
    Copy the full SHA
    d947244 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    04af1ca View commit details
    Browse the repository at this point in the history
  4. 📝 docs: Enhance LibreChat Docker deployment guide (danny-avila#1796)

    - Revise the description for clarity and conciseness.
    - Provide a direct comparison between the advanced Docker Compose deployment and the simpler `docker-compose.override.yml` setup.
    - Update screenshot link for visual reference.
    CXwudi authored Feb 14, 2024
    Configuration menu
    Copy the full SHA
    c7020e8 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    9d3215d View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    60b1d13 View commit details
    Browse the repository at this point in the history

Commits on Feb 15, 2024

  1. 👥 fix: Reinstate Default Social Login Values (danny-avila#1811)

    * fix: social logins accidentally removed default in AppService, reinstated and added test
    
    * chore: move birthday to OTHER section and make disabled by default
    danny-avila authored Feb 15, 2024
    Configuration menu
    Copy the full SHA
    637a1a4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fe0ef2c View commit details
    Browse the repository at this point in the history

Commits on Feb 16, 2024

  1. fix: necessary font changes (danny-avila#1818)

    * fix: necessary font changes
    
    * chore: minor bump
    danny-avila authored Feb 16, 2024
    Configuration menu
    Copy the full SHA
    9806424 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    29ee442 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b7aebf6 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    0da30b9 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    ce1cdea View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    d1eb7fc View commit details
    Browse the repository at this point in the history

Commits on Feb 19, 2024

  1. 🔀 fix: Endpoint Type Mismatch when Switching Conversations (danny-avi…

    …la#1834)
    
    * refactor(useUpdateUserKeysMutation): only invalidate the endpoint whose key is being updated by user
    
    * fix(assistants): await `getUserKeyExpiry` call
    
    * chore: fix spinner loading color
    
    * refactor(initializeClient): make known which endpoint api Key is missing
    
    * fix: prevent an `endpointType` mismatch by making it impossible to assign when the `endpointsConfig` doesn't have a `type` defined, also prefer `getQueryData` call to useQuery in useChatHelpers
    danny-avila authored Feb 19, 2024
    Configuration menu
    Copy the full SHA
    5291d18 View commit details
    Browse the repository at this point in the history
  2. 📝 docs: add env changes to breaking_changes.md and minor fixes (danny…

    …-avila#1812)
    
    * 📝 docs: add env changes to breacking_changes.md
    
    * 📝 docs: replace example in docker_override.md
    
    * 📝 docs: fix images in zeabur.md
    fuegovic authored Feb 19, 2024
    Configuration menu
    Copy the full SHA
    7442955 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    63a5039 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ee97179 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    d8038e3 View commit details
    Browse the repository at this point in the history

Commits on Feb 20, 2024

  1. 🛡️ feat: Model Validation Middleware (danny-avila#1841)

    * refactor: add ViolationTypes enum and add new violation for illegal model requests
    
    * feat: validateModel middleware to protect the backend against illicit requests for unlisted models
    danny-avila authored Feb 20, 2024
    Configuration menu
    Copy the full SHA
    a8a19c6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    64e8139 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    542494f View commit details
    Browse the repository at this point in the history
  4. 🛠️ refactor: Model Loading and Custom Endpoint Error Handling (danny-…

    …avila#1849)
    
    * fix: handle non-assistant role ChatCompletionMessage error
    
    * refactor(ModelController): decouple res.send from loading/caching models
    
    * fix(custom/initializeClient): only fetch custom endpoint models if models.fetch is true
    
    * refactor(validateModel): load models if modelsConfig is not yet cached
    
    * docs: update on file upload rate limiting
    danny-avila authored Feb 20, 2024
    Configuration menu
    Copy the full SHA
    dd8038b View commit details
    Browse the repository at this point in the history

Commits on Feb 21, 2024

  1. 🐛 fix: Preserve Default Model in Message Requests (danny-avila#1857)

    * fix: do not remove default model from message request
    
    * chore: bump data-provider
    danny-avila authored Feb 21, 2024
    Configuration menu
    Copy the full SHA
    1284466 View commit details
    Browse the repository at this point in the history

Commits on Feb 22, 2024

  1. 🐋 Feat: docker pre-built image by default (danny-avila#1860)

    * 🐋 Feat: docker pre-built image by default
    
    * 🐋 Feat: docker LibreChat ports from .env
    fuegovic authored Feb 22, 2024
    Configuration menu
    Copy the full SHA
    4012dea View commit details
    Browse the repository at this point in the history

Commits on Feb 23, 2024

  1. Configuration menu
    Copy the full SHA
    5f6d1f3 View commit details
    Browse the repository at this point in the history
  2. ✏️docs: add tavily to env.example and dotenv.md (danny-avila#1866)

    * update .env.example
    
    add "TAVILY_API_KEY=" to .env.example
    
    * update dotenv.md
    
    add Tavily to dotenv.md
    fuegovic authored Feb 23, 2024
    Configuration menu
    Copy the full SHA
    ece5d9f View commit details
    Browse the repository at this point in the history
  3. 🗨️ fix: Prevent Resetting Title to 'New Chat' on Follow-Up Message (d…

    …anny-avila#1870)
    
    * fix: prevent reseting title to 'New Chat' on follow up message
    
    * chore(useSSE): remove empty line
    danny-avila authored Feb 23, 2024
    Configuration menu
    Copy the full SHA
    6a25dd3 View commit details
    Browse the repository at this point in the history
  4. 🐋 docs: update breaking_changes.md (danny-avila#1864)

    add note about the use of the pre-built image in docker-compose.yml
    fuegovic authored Feb 23, 2024
    Configuration menu
    Copy the full SHA
    5445d55 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    f431c8f View commit details
    Browse the repository at this point in the history
  6. 📒 docs: Add newline for list to be correctly rendered in UI (danny-av…

    …ila#1873)
    
    Currently in the documentation page the bullet list is not rendered correctly. (See first paragraph on this docs page: https://docs.librechat.ai/install/configuration/litellm.html)
    arnoan authored Feb 23, 2024
    Configuration menu
    Copy the full SHA
    c1a4733 View commit details
    Browse the repository at this point in the history

Commits on Feb 26, 2024

  1. 🔧 feat: optional librechat.yaml path via environment variable (danny-…

    …avila#1858)
    
    Co-authored-by: afel <andreas.feldl@netlight.com>
    ndrsfel and afel authored Feb 26, 2024
    Configuration menu
    Copy the full SHA
    7a55132 View commit details
    Browse the repository at this point in the history
  2. 🅰️ feat: Azure Config to Allow Different Deployments per Model (danny…

    …-avila#1863)
    
    * wip: first pass for azure endpoint schema
    
    * refactor: azure config to return groupMap and modelConfigMap
    
    * wip: naming and schema changes
    
    * refactor(errorsToString): move to data-provider
    
    * feat: rename to azureGroups, add additional tests, tests all expected outcomes, return errors
    
    * feat(AppService): load Azure groups
    
    * refactor(azure): use imported types, write `mapModelToAzureConfig`
    
    * refactor: move `extractEnvVariable` to data-provider
    
    * refactor(validateAzureGroups): throw on duplicate groups or models; feat(mapModelToAzureConfig): throw if env vars not present, add tests
    
    * refactor(AppService): ensure each model is properly configured on startup
    
    * refactor: deprecate azureOpenAI environment variables in favor of librechat.yaml config
    
    * feat: use helper functions to handle and order enabled/default endpoints; initialize azureOpenAI from config file
    
    * refactor: redefine types as well as load azureOpenAI models from config file
    
    * chore(ci): fix test description naming
    
    * feat(azureOpenAI): use validated model grouping for request authentication
    
    * chore: bump data-provider following rebase
    
    * chore: bump config file version noting significant changes
    
    * feat: add title options and switch azure configs for titling and vision requests
    
    * feat: enable azure plugins from config file
    
    * fix(ci): pass tests
    
    * chore(.env.example): mark `PLUGINS_USE_AZURE` as deprecated
    
    * fix(fetchModels): early return if apiKey not passed
    
    * chore: fix azure config typing
    
    * refactor(mapModelToAzureConfig): return baseURL and headers as well as azureOptions
    
    * feat(createLLM): use `azureOpenAIBasePath`
    
    * feat(parsers): resolveHeaders
    
    * refactor(extractBaseURL): handle invalid input
    
    * feat(OpenAIClient): handle headers and baseURL for azureConfig
    
    * fix(ci): pass `OpenAIClient` tests
    
    * chore: extract env var for azureOpenAI group config, baseURL
    
    * docs: azureOpenAI config setup docs
    
    * feat: safe check of potential conflicting env vars that map to unique placeholders
    
    * fix: reset apiKey when model switches from originally requested model (vision or title)
    
    * chore: linting
    
    * docs: CONFIG_PATH notes in custom_config.md
    danny-avila authored Feb 26, 2024
    Configuration menu
    Copy the full SHA
    097a978 View commit details
    Browse the repository at this point in the history
  3. 🖌️ style: auth dark theme (danny-avila#1862)

    * Remove minLength validation and update login link style
    
    * Add theme selector component and update login form styles
    
    * Update styling in Login and LoginForm components
    
    * Update ResetPassword component styles and text color
    
    * Refactor login component and add theme selector
    
    * Add ThemeSelector component to Registration, RequestPasswordReset, and ResetPassword pages
    
    * chore(Login.tsx): remove unused `useCallback`
    
    * chore(Login.tsx) import order
    
    * Update ResetPassword.tsx import order
    
    * Update RequestPasswordReset.tsx import order
    
    * Update Registration.tsx import order
    
    ---------
    
    Co-authored-by: Danny Avila <messagedaniel@protonmail.com>
    berry-13 and danny-avila authored Feb 26, 2024
    Configuration menu
    Copy the full SHA
    b4dc8cc View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    49744d1 View commit details
    Browse the repository at this point in the history
  5. 🌍 : Update Portuguese Translations (danny-avila#1867)

    * 🌍 : Update Portuguese Translations
    
    * 🌍 : Fix Portuguese Translations
    
    * fix(Br): lint errors
    
    ---------
    
    Co-authored-by: Berry-13 <81851188+Berry-13@users.noreply.github.com>
    itzraiss and berry-13 authored Feb 26, 2024
    Configuration menu
    Copy the full SHA
    6d6b3c9 View commit details
    Browse the repository at this point in the history

Commits on Feb 27, 2024

  1. 🅰️ feat: Azure AI Studio, Models as a Service Support (danny-avila#1902)

    * feat(data-provider): add Azure serverless inference handling through librechat.yaml
    
    * feat(azureOpenAI): serverless inference handling in api
    
    * docs: update docs with new azureOpenAI endpoint config fields and serverless inference endpoint setup
    
    * chore: remove unnecessary checks for apiKey as schema would not allow apiKey to be undefined
    
    * ci(azureOpenAI): update tests for serverless configurations
    danny-avila authored Feb 27, 2024
    Configuration menu
    Copy the full SHA
    08d4b3c View commit details
    Browse the repository at this point in the history
  2. 🛠️ chore: Abort AI Requests on Close & Remove Verbose Logs for Plugins (

    danny-avila#1914)
    
    * chore: remove verbose logging of ChatOpenAI
    
    * feat: abort AI requests on request close
    danny-avila authored Feb 27, 2024
    Configuration menu
    Copy the full SHA
    04eeb59 View commit details
    Browse the repository at this point in the history
  3. 🤖 docs: Add Groq and other Compatible AI Endpoints (danny-avila#1915)

    * chore: bump bun dependencies
    
    * feat: make `groq` a known endpoint
    
    * docs: compatible ai endpoints
    
    * Update ai_endpoints.md
    
    * Update ai_endpoints.md
    danny-avila authored Feb 27, 2024
    Configuration menu
    Copy the full SHA
    5d88749 View commit details
    Browse the repository at this point in the history
  4. 🍞 fix: Minor fixes and improved Bun support (danny-avila#1916)

    * fix(bun): fix bun compatibility to allow gzip header: oven-sh/bun#267 (comment)
    
    * chore: update custom config examples
    
    * fix(OpenAIClient.chatCompletion): remove redundant call of stream.controller.abort() as `break` aborts the request and prevents abort errors when not called redundantly
    
    * chore: bump bun.lockb
    
    * fix: remove result-thinking class when message is no longer streaming
    
    * fix(bun): improve Bun support by forcing use of old method in bun env, also update old methods with new customizable params
    
    * fix(ci): pass tests
    danny-avila authored Feb 27, 2024
    Configuration menu
    Copy the full SHA
    c37d556 View commit details
    Browse the repository at this point in the history
  5. 🔗 feat: NavLinks customization for Help & Faq URL (danny-avila#1872)

    * help and faq
    
    * fix: using only one var
    
    * revert(types.ts): showHelpAndFaq
    
    * Update dotenv.md
    
    * Update dotenv.md
    berry-13 authored Feb 27, 2024
    Configuration menu
    Copy the full SHA
    156abe2 View commit details
    Browse the repository at this point in the history

Commits on Feb 28, 2024

  1. 🤖feat: add multiple known endpoints (danny-avila#1917)

    * feat: add known endpoints
    
    * docs: add known endpoints
    
    * update ai_endpoints.md
    
    remove the groq icon from the example
    
    * Update ai_endpoints.md
    
    ---------
    
    Co-authored-by: Danny Avila <messagedaniel@protonmail.com>
    fuegovic and danny-avila authored Feb 28, 2024
    Configuration menu
    Copy the full SHA
    53ae2d7 View commit details
    Browse the repository at this point in the history
  2. 🔗 feat: User Provided Base URL for OpenAI endpoints (danny-avila#1919)

    * chore: bump browserslist-db@latest
    
    * refactor(EndpointService): simplify with `generateConfig`, utilize optional baseURL for OpenAI-based endpoints, use `isUserProvided` helper fn wherever needed
    
    * refactor(custom/initializeClient): use standardized naming for common variables
    
    * feat: user provided baseURL for openAI-based endpoints
    
    * refactor(custom/initializeClient): re-order operations
    
    * fix: knownendpoints enum definition and add FetchTokenConfig, bump data-provider
    
    * refactor(custom): use tokenKey dependent on userProvided conditions for caching and fetching endpointTokenConfig, anticipate token rates from custom config
    
    * refactor(custom): assure endpointTokenConfig is only accessed from cache if qualifies for fetching
    
    * fix(ci): update tests for initializeClient based on userProvideURL changes
    
    * fix(EndpointService): correct baseURL env var for assistants: `ASSISTANTS_BASE_URL`
    
    * fix: unnecessary run cancellation on res.close() when response.run is completed
    
    * feat(assistants): user provided URL option
    
    * ci: update tests and add test for `assistants` endpoint
    
    * chore: leaner condition for request closing
    
    * chore: more descriptive error message to provide keys again
    danny-avila authored Feb 28, 2024
    Configuration menu
    Copy the full SHA
    2f92b54 View commit details
    Browse the repository at this point in the history
  3. 🌍 feat: Extend regex to support international usernames (danny-avila#…

    …1918)
    
    * 🌍 Extend regex to support international usernames
    
    * update validators.spec.js
    fuegovic authored Feb 28, 2024
    Configuration menu
    Copy the full SHA
    057fcf6 View commit details
    Browse the repository at this point in the history
  4. 🛠️ fix: RunManager, AssistantService and useContentHandler Issues (da…

    …nny-avila#1920)
    
    * fix(useContentHandler): retain undefined parts and handle them within `ContentParts` rendering
    
    * fix(AssistantService/in_progress): skip empty messages
    
    * refactor(RunManager): create highly specific `seenSteps` Set keys for RunSteps with use of `getDetailsSignature` and `getToolCallSignature`,to ensure changes from polling are always captured
    danny-avila authored Feb 28, 2024
    Configuration menu
    Copy the full SHA
    388dc17 View commit details
    Browse the repository at this point in the history

Commits on Feb 29, 2024

  1. 🐳 experimental: Dev Image Workflow & Remove Unused Code (danny-avila#…

    …1928)
    
    * chore: remove unused code in progressCallback, as well as handle reply.trim(), post `getCompletion`
    
    * chore(Dockerfile): remove curl installation
    
    * experimental: dev image parallelized with matrix strategy and building for amd64/arm64 support
    
    * make platforms explicit
    danny-avila authored Feb 29, 2024
    Configuration menu
    Copy the full SHA
    9380332 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ed7d7c2 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1caa31b View commit details
    Browse the repository at this point in the history

Commits on Mar 1, 2024

  1. 🔎docs: update meilisearch instruction (danny-avila#1930)

    * 🔎docs: update meilisearch in mac_install.md
    
    Update the Meilisearch .env variables in `mac_install.md`
    
    * 🔎🐧
    fuegovic authored Mar 1, 2024
    Configuration menu
    Copy the full SHA
    de0cee3 View commit details
    Browse the repository at this point in the history
  2. 📝 feat: Improved Textarea Functionality (danny-avila#1942)

    * feat: paste plain text from apps with rich paste data, improved edit message textarea, improved height resizing for long text
    
    * feat(EditMessage): autofocus
    
    * chore: retain user text color when entering edit mode
    danny-avila authored Mar 1, 2024
    Configuration menu
    Copy the full SHA
    c52ea94 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ef86b25 View commit details
    Browse the repository at this point in the history
  4. 🖥️ feat: Match STDOUT Logs with Debug File Logs (danny-avila#1944)

    * chore: improve token balance logging post-request
    
    * feat: match stdout logging with file debug logging when using DEBUG_CONSOLE
    danny-avila authored Mar 1, 2024
    Configuration menu
    Copy the full SHA
    b2ef75e View commit details
    Browse the repository at this point in the history

Commits on Mar 2, 2024

  1. 📚 docs: Separate LiteLLM and Ollama Documentation (danny-avila#1948)

    * Separate LiteLLM and Ollama Documentation
    
    * Clarify Ollama Setup
    
    * Fix litellm config
    bsu3338 authored Mar 2, 2024
    Configuration menu
    Copy the full SHA
    78f5285 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7d633f4 View commit details
    Browse the repository at this point in the history

Commits on Mar 4, 2024

  1. 🔧 fix(EditMessage): duplicate text when pasting (danny-avila#1970)

    * fix(EditMessage): duplicate text when pasting on chromium
    
    * add back paste data handling, prevent default behavior
    
    ---------
    
    Co-authored-by: Danny Avila <messagedaniel@protonmail.com>
    berry-13 and danny-avila authored Mar 4, 2024
    Configuration menu
    Copy the full SHA
    2da0a76 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    62834e1 View commit details
    Browse the repository at this point in the history
  3. 🧩 fix(Plugins): Keep User agentModel and Model Validation (danny-av…

    …ila#1972)
    
    * fix: do not override model
    
    * temp fix for secondary model validation
    danny-avila authored Mar 4, 2024
    Configuration menu
    Copy the full SHA
    8bef084 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    eccf7bb View commit details
    Browse the repository at this point in the history
  5. 🌍 : Add Hebrew Translation (danny-avila#1953)

    * feat: add hebrew
    
    * fix: review issues
    
    * fix language options
    ido777 authored Mar 4, 2024
    Configuration menu
    Copy the full SHA
    7c85b35 View commit details
    Browse the repository at this point in the history

Commits on Mar 5, 2024

  1. Configuration menu
    Copy the full SHA
    2ea6e8c View commit details
    Browse the repository at this point in the history
  2. 🧪 fix(ci): update failing initializeClient tests with new expected …

    …values (danny-avila#1982)
    
    * fix(ci): update failing tests with new expected values from `getUserKey`
    
    * refactor: safer optional chaining, and ensure apiKey is defined
    danny-avila authored Mar 5, 2024
    Configuration menu
    Copy the full SHA
    7a6a41a View commit details
    Browse the repository at this point in the history
  3. 🔎 update meilisearch to v1.6 / 0.37.0 (danny-avila#1981)

    * 🔎 update meilisearch to v1.6 / 0.37.0
    
    * 🔎 update meilisearch to v1.6 / 0.37.0
    fuegovic authored Mar 5, 2024
    Configuration menu
    Copy the full SHA
    a33db54 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b023c56 View commit details
    Browse the repository at this point in the history

Commits on Mar 6, 2024

  1. 🤖 feat(Anthropic): Claude 3 & Vision Support (danny-avila#1984)

    * chore: bump anthropic SDK
    
    * chore: update anthropic config settings (fileSupport, default models)
    
    * feat: anthropic multi modal formatting
    
    * refactor: update vision models and use endpoint specific max long side resizing
    
    * feat(anthropic): multimodal messages, retry logic, and messages payload
    
    * chore: add more safety to trimming content due to whitespace error for assistant messages
    
    * feat(anthropic): token accounting and resending multiple images in progress
    
    * chore: bump data-provider
    
    * feat(anthropic): resendImages feature
    
    * chore: optimize Edit/Ask controllers, switch model back to req model
    
    * fix: false positive of invalid model
    
    * refactor(validateVisionModel): use object as arg, pass in additional/available models
    
    * refactor(validateModel): use helper function, `getModelsConfig`
    
    * feat: add modelsConfig to endpointOption so it gets passed to all clients, use for properly validating vision models
    
    * refactor: initialize default vision model and make sure it's available before assigning it
    
    * refactor(useSSE): avoid resetting model if user selected a new model between request and response
    
    * feat: show rate in transaction logging
    
    * fix: return tokenCountMap regardless of payload shape
    danny-avila authored Mar 6, 2024
    Configuration menu
    Copy the full SHA
    8263ddd View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    14dd3dd View commit details
    Browse the repository at this point in the history
  3. 🔎 feat: Traversaal Search Tool (danny-avila#1991)

    * wip: Traversaal Search Tool
    
    * fix(traversaal): properly handle tool error, show error to LLM, log
    
    * feat(traversaal): finish implementation of structured tool
    
    * chore: change traversaal order
    danny-avila authored Mar 6, 2024
    Configuration menu
    Copy the full SHA
    959d615 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2733c5e View commit details
    Browse the repository at this point in the history
  5. 🖌️ style: Update Light/Dark UI Themes (danny-avila#1754)

    * BIG UI UPDATE
    
    * fix: search bar, dialog template, new chat icon, convo icon and delete/rename button
    
    * moved some color config and a lot of files
    
    * small text fixes and tailwind config refactor
    
    * Update localization and UI styles
    
    * Update styles and add user-select:none to Tooltip component
    
    * Update mobile.css styles for navigation mask and background color
    
    * Update component imports and styles
    
    * Update DeleteButton imports and references
    
    * Update UI components
    
    * Update tooltip delay duration
    
    * Fix styling and update text in various components
    
    * fixed assistant style
    
    * minor style fixes
    
    * revert: removed CreationHeader & CreationPanel
    
    * style: match new styling for SidePanel
    
    * style: match bg-gray-800 to ChatGPT (#212121)
    
    * style: remove slate for gray where applicable to match new light theme
    
    ---------
    
    Co-authored-by: Danny Avila <messagedaniel@protonmail.com>
    berry-13 and danny-avila authored Mar 6, 2024
    Configuration menu
    Copy the full SHA
    911babd View commit details
    Browse the repository at this point in the history
  6. 📝 docs update: Anthropic models + Traversaal (danny-avila#1995)

    * 📝 docs update: Anthropic models + Traversaal
    
    * 📝 docs update: Anthropic models
    fuegovic authored Mar 6, 2024
    Configuration menu
    Copy the full SHA
    ab263c7 View commit details
    Browse the repository at this point in the history
  7. 🖌️ style: update dialog position (danny-avila#1999)

    * style(ChatForm): update styling and fixed style bug
    
    * style:(Dialog): reduced max height  style(Settings): fixed dialog position height
    
    * style(Settings): fixed large screen  position
    berry-13 authored Mar 6, 2024
    Configuration menu
    Copy the full SHA
    b2ab6fd View commit details
    Browse the repository at this point in the history
  8. 🔧 style: Improve UI and UX with Style Fixes and Code Refactors (danny…

    …-avila#2002)
    
    * refactor(useSSE): add useCallback to all event handlers
    
    * chore: remove modelName in defaultAssistantFormValues
    
    * fix(SidePanel): fix layout shift on chrome my removing sidenav scrollbar
    
    * style(ChatForm): match ChatGPT textarea effect styling
    
    * style: fix flickering of old background color on refresh
    danny-avila authored Mar 6, 2024
    Configuration menu
    Copy the full SHA
    ab66747 View commit details
    Browse the repository at this point in the history

Commits on Mar 7, 2024

  1. 📝 docs: additions to deployment guide (danny-avila#2001)

    * docs: add intro to deployment guide
    
    * doc: update intro
    
    * doc: Add NGINX deployment guide and update reverse proxy link
    
    * doc:: add  reverse proxy pages and weight for the pages
    
    * doc: Update NGINX configuration file
    
    * doc: imporve new doc
    
    * Doc: fix file names
    
    * doc: fix references names + improve the introduction with chatgpt :-)
    
    * doc: update introduction  guide headings
    ido777 authored Mar 7, 2024
    Configuration menu
    Copy the full SHA
    11bca13 View commit details
    Browse the repository at this point in the history
  2. 💾 chore: Update .env.example (danny-avila#2004)

    * Update .env.example
    
    Make assistants show in the UI by default
    
    * Update dotenv.md
    fuegovic authored Mar 7, 2024
    Configuration menu
    Copy the full SHA
    fbdf1d1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a5f4292 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d4fe8fc View commit details
    Browse the repository at this point in the history
  5. 👥 fix(assistants): Improve Error handling (danny-avila#2012)

    * feat: make assistants endpoint appendable since message state is not managed by LibreChat
    
    * fix(ask): search currentMessages for thread_id if it's not defined
    
    * refactor(abortMiddleware): remove use of `overrideProps` and spread unknown fields instead
    
    * chore: remove console.log in `abortConversation`
    
    * refactor(assistants): improve error handling/cancellation flow
    danny-avila authored Mar 7, 2024
    Configuration menu
    Copy the full SHA
    18edd26 View commit details
    Browse the repository at this point in the history
  6. 🖼️ fix: Clipboard Files & File Name Issues (danny-avila#2015)

    * fix: ensure image handling fetchs image to base64 for multiple images
    
    * fix: append file_id's when writing uploaded files
    
    * feat: timestamp files uploaded from clipboard
    
    * chore: add a different fileid+name separator
    danny-avila authored Mar 7, 2024
    Configuration menu
    Copy the full SHA
    40e884b View commit details
    Browse the repository at this point in the history

Commits on Mar 8, 2024

  1. Configuration menu
    Copy the full SHA
    5d0d02f View commit details
    Browse the repository at this point in the history

Commits on Mar 9, 2024

  1. Configuration menu
    Copy the full SHA
    db870e5 View commit details
    Browse the repository at this point in the history
  2. 🔧 fix(ThemeContext): Listen for Theme Changes (danny-avila#2037)

    * fix(ThemeContext): listen for changes
    
    * fix(Dropdown): theme auto-update not working
    berry-13 authored Mar 9, 2024
    Configuration menu
    Copy the full SHA
    6fcaeaa View commit details
    Browse the repository at this point in the history

Commits on Mar 11, 2024

  1. ✏️ docs: Railway, Traefik, and Improvements (danny-avila#2060)

    * docs: documentation guidelines
    
    * docs: deploy documentation update
    fuegovic authored Mar 11, 2024
    Configuration menu
    Copy the full SHA
    2f88c5c View commit details
    Browse the repository at this point in the history
  2. 📧 update email templates (danny-avila#2057)

    * 📧 chore: update email templates
    
    * 📧 update password reset confirmation
    fuegovic authored Mar 11, 2024
    Configuration menu
    Copy the full SHA
    f489aee View commit details
    Browse the repository at this point in the history
  3. ✍️ refactor(Textarea): Optimize Text Input & Enhance UX (danny-avila#…

    …2058)
    
    * refactor(useDebouncedInput): make object as input arg and accept setter
    
    * refactor(ChatForm/Textarea): consolidate textarea/form logic to one component, use react-hook-form, programmatically click send button instead of passing submitMessage, forwardRef and memoize SendButton
    
    * refactor(Textarea): use Controller field value to avoid manual update of ref
    
    * chore: remove forms provider
    
    * chore: memoize AttachFile
    
    * refactor(ChatForm/SendButton): only re-render SendButton when there is text input
    
    * chore: make iconURL bigger
    
    * chore: optimize Root/Nav
    
    * refactor(SendButton): memoize disabled prop based on text
    
    * chore: memoize Nav and ChatForm
    
    * chore: remove textarea ref text on submission
    
    * feat(EditMessage): Make Esc exit the edit mode and dismiss changes when editing a message
    
    * style(MenuItem): Display the ☑️  icon only on the selected model
    danny-avila authored Mar 11, 2024
    Configuration menu
    Copy the full SHA
    f307488 View commit details
    Browse the repository at this point in the history
  4. 🔧 style(SidePanel): Center buttons when collapsed (danny-avila#2045)

    * feat: Improve Google search plugin to assistants
    
    * 🔧 fix(Nav SidePanel): Center buttons when collapsed
    walbercardoso authored Mar 11, 2024
    Configuration menu
    Copy the full SHA
    2e77813 View commit details
    Browse the repository at this point in the history
  5. 🖌️ style: Minor UI Updates (danny-avila#2011)

    * UI Design update
    
    * Add an error icon next to the avatar.
    
    * fix
    
    * Change the style of buttons
    
    * fix: avatar
    machinsoft authored Mar 11, 2024
    Configuration menu
    Copy the full SHA
    f5a754c View commit details
    Browse the repository at this point in the history
  6. 🌐 feat: librechat.yaml from URL (danny-avila#2064)

    * feat: librechat.yaml from URL
    
    * doc update: librechat.yaml from URL
    
    * update dotenv.md - typo
    
    * Update loadCustomConfig.js
    
    * ci: specs for loadCustomConfig
    
    * fix(processFileURL): safe destructuring of saveURL result
    
    ---------
    
    Co-authored-by: fuegovic <fueg@live.ca>
    Co-authored-by: Fuegovic <32828263+fuegovic@users.noreply.github.com>
    3 people authored Mar 11, 2024
    Configuration menu
    Copy the full SHA
    ebcca16 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    0bd8c2b View commit details
    Browse the repository at this point in the history
  8. 🧊 style: Adjust Endpoint Icons (danny-avila#2070)

    * 🧊 style: Adjust Endpoint Icons
    
    * Update MessageParts.tsx
    danny-avila authored Mar 11, 2024
    Configuration menu
    Copy the full SHA
    d1c37e8 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    0f417aa View commit details
    Browse the repository at this point in the history

Commits on Mar 13, 2024

  1. Configuration menu
    Copy the full SHA
    1b8c0f0 View commit details
    Browse the repository at this point in the history

Commits on Mar 14, 2024

  1. 🔧 fix: Convo Corners & Updated Colors (danny-avila#2046)

    * 🔧 fix: Convo Corners & Updated Colors
    
    * refactored code
    
    * chore: JSON.parse with a try/catch block, removed useless useEffect & and restored Focus
    
    * restored typescript
    
    * import all back
    itzraiss authored Mar 14, 2024
    Configuration menu
    Copy the full SHA
    f27e7c7 View commit details
    Browse the repository at this point in the history
  2. ⛔ style: Auth Error and Preset Items Styling (danny-avila#2069)

    * Change the style of the error message.
    
    * ui preset items
    
    * fix style
    
    * Change the color of the border and adjust the background of the selected input
    machinsoft authored Mar 14, 2024
    Configuration menu
    Copy the full SHA
    cba135d View commit details
    Browse the repository at this point in the history
  3. 🌍 : Update Russian Translation (danny-avila#2061)

    * feat(chore): add missing translations in Ru.tsx
    
    * feat(chore): add missing translation for My Files menu and headers
    
    * change com_ui_my_files to com_ui_nav_files
    
    * move useLocalize above utils
    
    * feat(chore): add missing translation for My Files menu and headers
    virtuman authored Mar 14, 2024
    Configuration menu
    Copy the full SHA
    d4190c9 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    1b243c6 View commit details
    Browse the repository at this point in the history
  5. 🅰️ feat: Azure OpenAI Assistants API Support (danny-avila#1992)

    * chore: rename dir from `assistant` to plural
    
    * feat: `assistants` field for azure config, spread options in AppService
    
    * refactor: rename constructAzureURL param for azure as `azureOptions`
    
    * chore: bump openai and bun
    
    * chore(loadDefaultModels): change naming of assistant -> assistants
    
    * feat: load azure settings with currect baseURL for assistants' initializeClient
    
    * refactor: add `assistants` flags to groups and model configs, add mapGroupToAzureConfig
    
    * feat(loadConfigEndpoints): initialize assistants endpoint if azure flag `assistants` is enabled
    
    * feat(AppService): determine assistant models on startup, throw Error if none
    
    * refactor(useDeleteAssistantMutation): send model along with assistant id for delete mutations
    
    * feat: support listing and deleting assistants with azure
    
    * feat: add model query to assistant avatar upload
    
    * feat: add azure support for retrieveRun method
    
    * refactor: update OpenAIClient initialization
    
    * chore: update README
    
    * fix(ci): tests passing
    
    * refactor(uploadOpenAIFile): improve logging and use more efficient REST API method
    
    * refactor(useFileHandling): add model to metadata to target Azure region compatible with current model
    
    * chore(files): add azure naming pattern for valid file id recognition
    
    * fix(assistants): initialize openai with first available assistant model if none provided
    
    * refactor(uploadOpenAIFile): add content type for azure, initialize formdata before azure options
    
    * refactor(sleep): move sleep function out of Runs and into `~/server/utils`
    
    * fix(azureOpenAI/assistants): make sure to only overwrite models with assistant models if `assistants` flag is enabled
    
    * refactor(uploadOpenAIFile): revert to old method
    
    * chore(uploadOpenAIFile): use enum for file purpose
    
    * docs: azureOpenAI update guide with more info, examples
    
    * feat: enable/disable assistant capabilities and specify retrieval models
    
    * refactor: optional chain conditional statement in loadConfigModels.js
    
    * docs: add assistants examples
    
    * chore: update librechat.example.yaml
    
    * docs(azure): update note of file upload behavior in Azure OpenAI Assistants
    
    * chore: update docs and add descriptive message about assistant errors
    
    * fix: prevent message submission with invalid assistant or if files loading
    
    * style: update Landing icon & text when assistant is not selected
    
    * chore: bump librechat-data-provider to 0.4.8
    
    * fix(assistants/azure): assign req.body.model for proper azure init to abort runs
    danny-avila authored Mar 14, 2024
    Configuration menu
    Copy the full SHA
    5cd5c3b View commit details
    Browse the repository at this point in the history

Commits on Mar 15, 2024

  1. Configuration menu
    Copy the full SHA
    f769077 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8881346 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f848d75 View commit details
    Browse the repository at this point in the history
  4. 🪙 feat: Assistants Token Balance & other improvements (danny-avila#2114)

    * chore: add assistants to supportsBalanceCheck
    
    * feat(Transaction): getTransactions and refactor export of model
    
    * refactor: use enum: ViolationTypes.TOKEN_BALANCE
    
    * feat(assistants): check balance
    
    * refactor(assistants): only add promptBuffer if new convo (for title), and remove endpoint definition
    
    * refactor(assistants): Count tokens up to the current context window
    
    * fix(Switcher): make Select list explicitly controlled
    
    * feat(assistants): use assistant's default model when no model is specified instead of the last selected assistant, prevent assistant_id from being recorded in non-assistant endpoints
    
    * chore(assistants/chat): import order
    
    * chore: bump librechat-data-provider due to changes
    danny-avila authored Mar 15, 2024
    Configuration menu
    Copy the full SHA
    a9d2d3f View commit details
    Browse the repository at this point in the history

Commits on Mar 16, 2024

  1. Configuration menu
    Copy the full SHA
    39042f8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2f90c87 View commit details
    Browse the repository at this point in the history
  3. 🔧 feat: Share Assistant Actions between Users (danny-avila#2116)

    * fix: remove unique field from assistant_id, which can be shared between different users
    
    * refactor: remove unique user fields from actions/assistant queries
    
    * feat: only allow user who saved action to delete it
    
    * refactor: allow deletions for anyone with builder access
    
    * refactor: update user.id when updating assistants/actions records, instead of searching with it
    
    * fix: stringify response data in case it's an object
    
    * fix: correctly handle path input
    
    * fix(decryptV2): handle edge case where value is already decrypted
    danny-avila authored Mar 16, 2024
    Configuration menu
    Copy the full SHA
    a8cdd34 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    89f6b35 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    7cddd94 View commit details
    Browse the repository at this point in the history

Commits on Mar 18, 2024

  1. 🪰 fix: Azure Parsing and Assistants Payload (danny-avila#2133)

    * fix(azure): fix regex to prevent edge cases
    
    * fix(assistants): pass relevant endpoint options to avoid sending them to API
    danny-avila authored Mar 18, 2024
    Configuration menu
    Copy the full SHA
    f51ac74 View commit details
    Browse the repository at this point in the history

Commits on Mar 19, 2024

  1. 🔍 feat: Filter MultiSelect and SelectDropDown (+variants) + CSS fixes…

    … for Scrollbar (danny-avila#2138)
    
    * Initial implementation of MultiSearch. Added implementation to MultiSelect and SelectDropDown and variants
    
    * Update scrollbar styles to prevent breakages on Chrome
    
    * Revert changes to vite.config.ts (redundant for now)
    
    * chore(New Chat): organize imports
    
    * style(scrollbar-transparent): use webkit as standard, expected behavior
    
    * chore: useCallback for mouse enter/leave
    
    * fix(Footer): resolve map key error
    
    * chore: memoize Conversations
    
    * style(MultiSearch): improve multisearch styling
    
    * style: dark mode search input
    
    * fix: react warnings due to unrecognize html props
    
    * chore: debounce OpenAI settings inputs
    
    * fix(useDebouncedInput): only use event value as newValue if not object
    
    ---------
    
    Co-authored-by: Flynn <gpg@flyn.ca>
    danny-avila and f1yn authored Mar 19, 2024
    Configuration menu
    Copy the full SHA
    382b303 View commit details
    Browse the repository at this point in the history
  2. 📋 chore: add requirements.txt to documentation (danny-avila#2122)

    * chore: add requirements.txt to documentation, to ease maintenance
    
    * docs: Update documentation_guidelines.md
    ido777 authored Mar 19, 2024
    Configuration menu
    Copy the full SHA
    d8304ec View commit details
    Browse the repository at this point in the history
  3. 🔧 style(fix): Convo Title Fade Effect (danny-avila#2117)

    * feat: Improve Google search plugin to assistants
    
    * 🔧 fix(Nav SidePanel): Center buttons when collapsed
    
    * 🔧(fix) Convo title fade effect
    
    * 🔧(fix) Convo title fade effect / remove deletion
    
    * 🔧(fix) Convo title fade effect / remove deletion .env.example
    
    * 🔧(fix) Convo title fade effect
    
    ---------
    
    Co-authored-by: Danny Avila <messagedaniel@protonmail.com>
    walbercardoso and danny-avila authored Mar 19, 2024
    Configuration menu
    Copy the full SHA
    1796821 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    86db0a1 View commit details
    Browse the repository at this point in the history
  5. 🎨 style: HoverButton UI adjustment, change code font (danny-avila#2017)

    * style: HoverButton UI adjustment
    
    * style: make Consolas as default code font
    
    ---------
    
    Co-authored-by: Danny Avila <messagedaniel@protonmail.com>
    SailFlorve and danny-avila authored Mar 19, 2024
    Configuration menu
    Copy the full SHA
    af347cc View commit details
    Browse the repository at this point in the history

Commits on Mar 20, 2024

  1. 🗃️ feat: General File Support for OpenAI, Azure, Custom, Anthropic an…

    …d Google (RAG) (danny-avila#2143)
    
    * refactor: re-purpose `resendImages` as `resendFiles`
    
    * refactor: re-purpose `resendImages` as `resendFiles`
    
    * feat: upload general files
    
    * feat: embed file during upload
    
    * feat: delete file embeddings on file deletion
    
    * chore(fileConfig): add epub+zip type
    
    * feat(encodeAndFormat): handle non-image files
    
    * feat(createContextHandlers): build context prompt from file attachments and successful RAG
    
    * fix: prevent non-temp files as well as embedded files to be deleted on new conversation
    
    * fix: remove temp_file_id on usage, prevent non-temp files as well as embedded files to be deleted on new conversation
    
    * fix: prevent non-temp files as well as embedded files to be deleted on new conversation
    
    * feat(OpenAI/Anthropic/Google): basic RAG support
    
    * fix: delete `resendFiles` only when true (Default)
    
    * refactor(RAG): update endpoints and pass JWT
    
    * fix(resendFiles): default values
    
    * fix(context/processFile): query unique ids only
    
    * feat: rag-api.yaml
    
    * feat: file upload improved ux for longer uploads
    
    * chore: await embed call and catch embedding errors
    
    * refactor: store augmentedPrompt in Client
    
    * refactor(processFileUpload): throw error if not assistant file upload
    
    * fix(useFileHandling): handle markdown empty mimetype issue
    
    * chore: necessary compose file changes
    danny-avila authored Mar 20, 2024
    Configuration menu
    Copy the full SHA
    f7761df View commit details
    Browse the repository at this point in the history
  2. 📧 fix: Correct Handling of Self-Signed Certificates in sendEmail (d…

    …anny-avila#2148)
    
    - note: To put it in a different way, if you put rejectUnauthorized: true, it means that self-signed certificates should not be allowed. This means, that EMAIL_ALLOW_SELFSIGNED is set to false
    danny-avila authored Mar 20, 2024
    Configuration menu
    Copy the full SHA
    e4ac580 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4f17d97 View commit details
    Browse the repository at this point in the history
  4. 🔬 chore: Add Circular Dependency Check to backend-review (danny-avi…

    …la#2149)
    
    * 🔬 chore: Add Circular Dependency check to `backend-review`
    
    * chore: touch random file for workflow trigger
    
    * chore: workflow step order
    
    * chore: update workflow to create empty auth.json file
    
    * fix: attempt empty auth.json creation
    
    * chore: add test_bundle ESLint ignore pattern
    danny-avila authored Mar 20, 2024
    Configuration menu
    Copy the full SHA
    9bab595 View commit details
    Browse the repository at this point in the history

Commits on Mar 21, 2024

  1. 🔧 style(fix): Convo Fade Effect (danny-avila#2147)

    * 🔧 (fix) Convo Fade Effect
    
    * 🔧style(fix): Convo Fade Effect (danny-avila#2117)
    
    * 🔧 style(fix): Convo Fade Effect (danny-avila#2117)
    walbercardoso authored Mar 21, 2024
    Configuration menu
    Copy the full SHA
    e95c0aa View commit details
    Browse the repository at this point in the history
  2. 🖌️ style: Improve Dark Theme Accessibility (danny-avila#2125)

    * style: all landing page components
    
    * chore: converted all slate to gray, since slate doesnt work
    
    * style: assistant panel
    
    * style: basic UI components, userprovided, preset
    
    * style: update in multiple components
    
    * fix(PluginStoreDialog): justify-center
    
    * fixed some minor Ui styles
    
    * style(MultiSearch): update dark bg
    
    * style: update Convo styling
    
    * style: lower textarea max height slightly
    
    ---------
    
    Co-authored-by: Danny Avila <messagedaniel@protonmail.com>
    berry-13 and danny-avila authored Mar 21, 2024
    Configuration menu
    Copy the full SHA
    30f6d90 View commit details
    Browse the repository at this point in the history
  3. 🔧 fix(menu): Menu Item Filter Improvements (danny-avila#2153)

    * small-fix: Ensure that fake seperators in model lists do not show in search
    
    * Ensure Plugin search uses correct placeholder and key filtering in search
    f1yn authored Mar 21, 2024
    Configuration menu
    Copy the full SHA
    f521040 View commit details
    Browse the repository at this point in the history
  4. 🚀 feat: Add ShuttleAI as Known Endpoint (danny-avila#2152)

    Added new Official Known Endpoint (ShuttleAI)
    herumes authored Mar 21, 2024
    Configuration menu
    Copy the full SHA
    1ee2c32 View commit details
    Browse the repository at this point in the history
  5. 🌑 style(File Manager): Localize and Update Dark Mode Stylings (danny-…

    …avila#2155)
    
    * 🌑 style: Update Dark Mode Stylings for File Manager
    
    * 🌐 feat: localize file manager text
    
    * 🌐 feat: file panel table localization
    danny-avila authored Mar 21, 2024
    Configuration menu
    Copy the full SHA
    e0dd038 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    a673f62 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    09de9a2 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    3f77fe1 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    25a0487 View commit details
    Browse the repository at this point in the history

Commits on Mar 22, 2024

  1. Configuration menu
    Copy the full SHA
    ed64c76 View commit details
    Browse the repository at this point in the history
  2. 🚀 feat: Assistants Streaming (danny-avila#2159)

    * chore: bump openai to 4.29.0 and npm audit fix
    
    * chore: remove unnecessary stream field from ContentData
    
    * feat: new enum and types for AssistantStreamEvent
    
    * refactor(AssistantService): remove stream field and add conversationId to text ContentData
    > - return `finalMessage` and `text` on run completion
    > - move `processMessages` to services/Threads to avoid circular dependencies with new stream handling
    > - refactor(processMessages/retrieveAndProcessFile): add new `client` field to differentiate new RunClient type
    
    * WIP: new assistants stream handling
    
    * chore: stores messages to StreamRunManager
    
    * chore: add additional typedefs
    
    * fix: pass req and openai to StreamRunManager
    
    * fix(AssistantService): pass openai as client to `retrieveAndProcessFile`
    
    * WIP: streaming tool i/o, handle in_progress and completed run steps
    
    * feat(assistants): process required actions with streaming enabled
    
    * chore: condense early return check for useSSE useEffect
    
    * chore: remove unnecessary comments and only handle completed tool calls when not function
    
    * feat: add TTL for assistants run abort cacheKey
    
    * feat: abort stream runs
    
    * fix(assistants): render streaming cursor
    
    * fix(assistants): hide edit icon as functionality is not supported
    
    * fix(textArea): handle pasting edge cases; first, when onChange events wouldn't fire; second, when textarea wouldn't resize
    
    * chore: memoize Conversations
    
    * chore(useTextarea): reverse args order
    
    * fix: load default capabilities when an azure is configured to support assistants, but `assistants` endpoint is not configured
    
    * fix(AssistantSelect): update form assistant model on assistant form select
    
    * fix(actions): handle azure strict validation for function names to fix crud for actions
    
    * chore: remove content data debug log as it fires in rapid succession
    
    * feat: improve UX for assistant errors mid-request
    
    * feat: add tool call localizations and replace any domain separators from azure action names
    
    * refactor(chat): error out tool calls without outputs during handleError
    
    * fix(ToolService): handle domain separators allowing Azure use of actions
    
    * refactor(StreamRunManager): types and throw Error if tool submission fails
    danny-avila authored Mar 22, 2024
    Configuration menu
    Copy the full SHA
    f427ad7 View commit details
    Browse the repository at this point in the history
  3. 📂 feat: RAG Improvements (danny-avila#2169)

    * feat: new vector file processing strategy
    
    * chore: remove unused client files
    
    * chore: remove more unused client files
    
    * chore: remove more unused client files and move used to new dir
    
    * chore(DataIcon): add className
    
    * WIP: Model Endpoint Settings Update, draft additional context settings
    
    * feat: improve parsing for augmented prompt, add full context option
    
    * chore: remove volume mounting from rag.yml as no longer necessary
    danny-avila authored Mar 22, 2024
    Configuration menu
    Copy the full SHA
    45a95ac View commit details
    Browse the repository at this point in the history

Commits on Mar 23, 2024

  1. 📚 docs: Fix Broken Links (danny-avila#2171)

    Fix broken links to the custom config file on `timeoutMs` and `supportedIds`.
    fkohrt authored Mar 23, 2024
    Configuration menu
    Copy the full SHA
    8e78164 View commit details
    Browse the repository at this point in the history

Commits on Mar 24, 2024

  1. 🎉 feat: Optimizations and Anthropic Title Generation (danny-avila#2184)

    * feat: add claude-3-haiku-20240307 to default anthropic list
    
    * refactor: optimize `saveMessage` calls mid-stream via throttling
    
    * chore: remove addMetadata operations and consolidate in BaseClient
    
    * fix(listAssistantsForAzure): attempt to specify correct model mapping as accurately as possible (danny-avila#2177)
    
    * refactor(client): update last conversation setup with current assistant model, call newConvo again when assistants load to allow fast initial load and ensure assistant model is always the default, not the last selected model
    
    * refactor(cache): explicitly add TTL of 2 minutes when setting titleCache and add default TTL of 10 minutes to abortKeys cache
    
    * feat(AnthropicClient): conversation titling using Anthropic Function Calling
    
    * chore: remove extraneous token usage logging
    
    * fix(convos): unhandled edge case for conversation grouping (undefined conversation)
    
    * style: Improved style of Search Bar after recent UI update
    
    * chore: remove unused code, content part helpers
    
    * feat: always show code option
    danny-avila authored Mar 24, 2024
    Configuration menu
    Copy the full SHA
    1f0fb49 View commit details
    Browse the repository at this point in the history

Commits on Mar 25, 2024

  1. 👓 feat: Vision Support for Assistants (danny-avila#2195)

    * refactor(assistants/chat): use promises to speed up initialization, initialize shared variables, include `attachedFileIds` to streamRunManager
    
    * chore: additional typedefs
    
    * fix(OpenAIClient): handle edge case where attachments promise is resolved
    
    * feat: createVisionPrompt
    
    * feat: Vision Support for Assistants
    danny-avila authored Mar 25, 2024
    Configuration menu
    Copy the full SHA
    798e876 View commit details
    Browse the repository at this point in the history
  2. 🔧 fix(assistants): Vision minor fix & Add Docs (danny-avila#2196)

    * 👓 fix(assistants): Only Retrieve Assistant Data for Vision Requests if attachments exist in Host Storage
    
    * docs: add  capability
    danny-avila authored Mar 25, 2024
    Configuration menu
    Copy the full SHA
    f86d80d View commit details
    Browse the repository at this point in the history
  3. 🧑‍💻docs: Update General Docs and Contribution Guidelines (danny-avila…

    …#2194)
    
    * doc upddate: documentation_guidelines.md
    
    * doc upddate: how_to_contribute.md
    
    * doc upddate: testing.md / how_to_contribute.md
    
    * doc upddate: translation_contribution.md/testing.md/how_to_contribute.md
    
    * doc upddate: coding_conventions.md
    
    * fix formatting: how_to_contribute.md
    
    * fix formatting (again) : how_to_contribute.md
    fuegovic authored Mar 25, 2024
    Configuration menu
    Copy the full SHA
    a4f4ec8 View commit details
    Browse the repository at this point in the history
  4. 🌟 fix: Handle Assistants Edge Cases, Improve Filter Styling (danny-av…

    …ila#2201)
    
    * fix(assistants): default query to limit of 100 and `desc` order
    
    * refactor(useMultiSearch): use object as params and fix styling for assistants
    
    * feat: informative message for thread initialization failing due to long message
    danny-avila authored Mar 25, 2024
    Configuration menu
    Copy the full SHA
    8fc5234 View commit details
    Browse the repository at this point in the history
  5. 🐞 fix(client): Prevent Async Reset of Latest Message (danny-avila#2203)

    * refactor: use debug statement runStepCompleted message
    
    * fix(ChatRoute): prevent use of `newConversation` from reseting `latestMessage`, which would fire asynchronously and finalize after `latestMessage` was already correctly set
    danny-avila authored Mar 25, 2024
    Configuration menu
    Copy the full SHA
    3ef4613 View commit details
    Browse the repository at this point in the history
  6. 📖 docs: Add details for Azure OpenAI Assistants (danny-avila#2173)

    The default `.env` contains the line `ASSISTANTS_API_KEY=user_provided`. When pre-configuring Azure OpenAI models, this setting makes it impossible to use assistants due to a missing user provided key. Only by commenting the line out the Azure setup works.
    fkohrt authored Mar 25, 2024
    Configuration menu
    Copy the full SHA
    cb62847 View commit details
    Browse the repository at this point in the history

Commits on Mar 26, 2024

  1. 🎨 style: Refine SidePanel and Textarea Styling (danny-avila#2209)

    * experimental: use TextareaAutosize wrapper with useLayoutEffect to hopefully fix random textarea jankiness
    
    * fix(Textarea): force a resize when placeholder text changes
    
    * style(ScrollToBottom): update styling for scroll button
    
    * style: memoize values and improve side panel toggle states
    
    * refactor(SidePanel): more control for toggle states, new hide panel button, and improve toggle state logic
    
    * chore: hide resizable panel handle on smaller screens
    danny-avila authored Mar 26, 2024
    Configuration menu
    Copy the full SHA
    718572b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f55bd3d View commit details
    Browse the repository at this point in the history
  3. 🧹 chore: Update Docker Docs & Make cache field Optional for Custom …

    …Config (danny-avila#2211)
    
    * docs: updating docker
    
    * fix(customConfig): make `cache` field optional as intended (though not recommended for local setups)
    danny-avila authored Mar 26, 2024
    Configuration menu
    Copy the full SHA
    5c3c280 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2259bf8 View commit details
    Browse the repository at this point in the history
  5. 🔍 chore: Clean Up Documentation (danny-avila#2217)

    * fix(initializeClient.spec.js): remove condition failing test on local installations
    
    * docs: remove comments and invalid html as is required by embeddings generator and add new documentation guidelines
    danny-avila authored Mar 26, 2024
    Configuration menu
    Copy the full SHA
    7f83a06 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    ea54cf0 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    5df0ec0 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    182c9f7 View commit details
    Browse the repository at this point in the history
  9. 🔗 docs: Fix Link to Code of Conduct (danny-avila#2206)

    Fix link to Code of Conduct
    s2terminal authored Mar 26, 2024
    Configuration menu
    Copy the full SHA
    57d1f12 View commit details
    Browse the repository at this point in the history

Commits on Mar 27, 2024

  1. 💽 feat: Add CONSOLE_JSON for deploying to GCP K8S env (danny-avila#2146)

    * Add CONSOLE_JSON
    
    * Update example env
    
    * Moved to utils
    idachev authored Mar 27, 2024
    Configuration menu
    Copy the full SHA
    d4b0af3 View commit details
    Browse the repository at this point in the history
  2. 🔎 chore: bump meilisearch v1.7 / v0.38.0 (danny-avila#2175)

    * 🔎 chore: bump meilisearch v1.7 / v0.38.0
    
    * ✏️ breaking_changes.md
    fuegovic authored Mar 27, 2024
    Configuration menu
    Copy the full SHA
    b5d25f5 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    84656b9 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    7945fea View commit details
    Browse the repository at this point in the history

Commits on Mar 29, 2024

  1. ⬇️ feat: Assistant File Downloads (danny-avila#2234)

    * WIP: basic route for file downloads and file strategy for generating readablestream to pipe as res
    
    * chore(DALLE3): add typing for OpenAI client
    
    * chore: add `CONSOLE_JSON` notes to dotenv.md
    
    * WIP: first pass OpenAI Assistants File Output handling
    
    * feat: first pass assistants output file download from openai
    
    * chore: yml vs. yaml variation to .gitignore for `librechat.yml`
    
    * refactor(retrieveAndProcessFile): remove redundancies
    
    * fix(syncMessages): explicit sort of apiMessages to fix message order on abort
    
    * chore: add logs for warnings and errors, show toast on frontend
    
    * chore: add logger where console was still being used
    danny-avila authored Mar 29, 2024
    Configuration menu
    Copy the full SHA
    a00756c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3a1d071 View commit details
    Browse the repository at this point in the history
  3. 🌍 : Updated & Added new Portuguese and Spanish Translations (danny-av…

    …ila#2228)
    
    * 🌍 : Updated & Added news Portuguese and Spanish Translations
    
    * fix: \' to "
    
    * fix(Br.tsx): revert Snyk placeholders
    
    * fix(Es.tsx): revert Snyk placeholders
    
    ---------
    
    Co-authored-by: Danny Avila <danacordially@gmail.com>
    itzraiss and danny-avila authored Mar 29, 2024
    Configuration menu
    Copy the full SHA
    59a8165 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    0a8118d View commit details
    Browse the repository at this point in the history
  5. ⚓ refactor(loadConfigModels): Stricter Default Model Fallback (danny-…

    …avila#2239)
    
    * chore: add TEndpoint type/typedef
    
    * refactor(loadConfigModels.spec): stricter default model matching (fails with current impl.)
    
    * refactor(loadConfigModels): return default models on endpoint basis and not fetch basis
    
    * refactor: rename `uniqueKeyToNameMap` to `uniqueKeyToEndpointsMap` for clarity
    danny-avila authored Mar 29, 2024
    Configuration menu
    Copy the full SHA
    dec7879 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    bc2a628 View commit details
    Browse the repository at this point in the history
  7. 🔧 fix: Improve Assistants File Citation & Download Handling (danny-av…

    …ila#2248)
    
    * fix(processMessages): properly handle assistant file citations and add sources list
    
    * feat: improve file download UX by making any downloaded files accessible within the app post-download
    
    * refactor(processOpenAIImageOutput): correctly handle two different outputs for images since OpenAI generates a file in their storage, shares filepath for image rendering
    
    * refactor: create `addFileToCache` helper to use across frontend
    
    * refactor: add ImageFile parts to cache on processing content stream
    danny-avila authored Mar 29, 2024
    Configuration menu
    Copy the full SHA
    6a6b2e7 View commit details
    Browse the repository at this point in the history

Commits on Mar 30, 2024

  1. 🐳 feat: RAG for Default Docker Compose Files + Docs Update (danny-avi…

    …la#2246)
    
    * refactor(deploy-compose.yml): use long-syntax to avoid implicit folder creation of librechat.yaml
    
    * refactor(docker-compose.override.yml.example): use long-syntax to avoid implicit folder creation of librechat.yaml
    
    * chore: add simple health check for RAG_API_URL
    
    * chore: improve axios error handling, adding `logAxiosError`
    
    * chore: more informative message detailing RAG_API_URL path
    
    * feat: add rag_api and vectordb to default compose file
    
    * chore(rag.yml): update standalone rag compose file to use RAG_PORT
    
    * chore: documentation updates
    
    * docs: Update rag_api.md with images
    
    * Update rag_api.md
    
    * Update rag_api.md, assistants clarification
    
    * add RAG API note to breaking changes
    danny-avila authored Mar 30, 2024
    Configuration menu
    Copy the full SHA
    56ea0f9 View commit details
    Browse the repository at this point in the history

Commits on Mar 31, 2024

  1. 🎨 fix: Optimize StableDiffusion API Tool and Fix for Assistants Usage (

    …danny-avila#2253)
    
    * chore: update docs
    
    * fix(StableDiffusion): optimize API responses and file handling, return expected metadata for Assistants endpoint
    danny-avila authored Mar 31, 2024
    Configuration menu
    Copy the full SHA
    bb8a40d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4854b39 View commit details
    Browse the repository at this point in the history

Commits on Apr 1, 2024

  1. 🐞 fix: Handle Garbled Chinese Characters in File Upload (danny-avila#…

    …2261)
    
    Co-authored-by: 彭修照 <pengxiuzhao.uh@haier.com>
    pxz2016 and 彭修照 authored Apr 1, 2024
    Configuration menu
    Copy the full SHA
    cc92597 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d07396d View commit details
    Browse the repository at this point in the history
  3. 📋 fix: Ensure Textarea Resizes in Clipboard Edge Case (danny-avila#2268)

    * chore: ts-ignore fake conversation data used for testing
    
    * chore(useTextarea): import helper functions to declutter hook
    
    * fix(Textarea): reset textarea value explicitly by resetting `textAreaRef.current.value`
    danny-avila authored Apr 1, 2024
    Configuration menu
    Copy the full SHA
    aff219c View commit details
    Browse the repository at this point in the history
  4. ✨ v0.7.0 (danny-avila#2266)

    * ✨ v0.7.0
    
    * chore: gitignore
    
    * 🐳 ci: update release image workflows
    danny-avila authored Apr 1, 2024
    Configuration menu
    Copy the full SHA
    5c8b16f View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    038063d View commit details
    Browse the repository at this point in the history
  6. 🐳 hotfix: Necessary Dockerfile Update (danny-avila#2271)

    * chore: remove version comment from pre-commit shell script
    
    * chore: Dockerfile update
    danny-avila authored Apr 1, 2024
    Configuration menu
    Copy the full SHA
    8b3f80f View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    1605ef3 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    49753a3 View commit details
    Browse the repository at this point in the history

Commits on Apr 2, 2024

  1. 🛂 feat: Required OpenID Role (danny-avila#2279)

    * feat: add possibility to filter by roles for OpenID provider
    
    ---------
    
    Co-authored-by: Sirius <siriusfrk@gmail.com>
    danny-avila and siriusfreak authored Apr 2, 2024
    Configuration menu
    Copy the full SHA
    1bafe80 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    93af814 View commit details
    Browse the repository at this point in the history
  3. 🐋 fix(Dockerfile): Create Necessary Directories at Build time (danny-…

    …avila#2277)
    
    When creating volumes for /app/client/public/images and /app/api/logs
    docker will inherit the permissions from the existing directores in the
    image. Since they are missing it defaults to root, and since
    librechat now uses the "node" user instead of "root" storing images,
    files and logs will fail.
    
    Fix by creating those directories in the docker image with the node
    user, so that if docker creates the volumes the permissions are inherited
    and the directories are owned by "node" and not "root".
    lazka authored Apr 2, 2024
    Configuration menu
    Copy the full SHA
    30d084e View commit details
    Browse the repository at this point in the history
  4. 📖 docs: Note on 'host.docker.internal' for Ollama Config (danny-avila…

    …#2274)
    
    * docs: update URL to access ollama and comment on 'host.docker.internal'
    
    * Update ai_endpoints.md
    
    ---------
    
    Co-authored-by: Danny Avila <danacordially@gmail.com>
    kinnla and danny-avila authored Apr 2, 2024
    Configuration menu
    Copy the full SHA
    ed17e17 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    e66aa28 View commit details
    Browse the repository at this point in the history
  6. 🔨 fix(ToolService): remove userId filter from loadActionSets & Docs…

    … Update (danny-avila#2286)
    
    * fix(ToolService): remove userId filter from `loadActionSets`
    
    * docs: updates to rag_api and docker_override explaining key variable conflicts
    danny-avila authored Apr 2, 2024
    Configuration menu
    Copy the full SHA
    09da05a View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    9922baf View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    f146db5 View commit details
    Browse the repository at this point in the history
  9. 🛠️ fix: Correct Unwanted Newlines after Undo in Textarea (danny-avila…

    …#2289)
    
    * docs: edit docker_override note for deploy-compose
    
    * 🛠️  fix: Correct Unwanted Newlines after Undo in Textarea
    danny-avila authored Apr 2, 2024
    Configuration menu
    Copy the full SHA
    7bd03a6 View commit details
    Browse the repository at this point in the history
  10. 🔄 chore: converted translation files to .ts (danny-avila#2288)

    * chore: converted translation files to
    
    * chore(Sv.ts): removed  and the comment
    
    * chore: add  comment
    berry-13 authored Apr 2, 2024
    Configuration menu
    Copy the full SHA
    e3c236b View commit details
    Browse the repository at this point in the history

Commits on Apr 3, 2024

  1. 🔧 fix: Catch deleteVectors Errors & Update RAG API docs (danny-avil…

    …a#2299)
    
    * fix(deleteVectors): handle errors gracefully
    
    * chore: update docs based on new alternate env vars prefixed with RAG to avoid conflicts with LibreChat keys
    danny-avila authored Apr 3, 2024
    Configuration menu
    Copy the full SHA
    e418edd View commit details
    Browse the repository at this point in the history

Commits on Apr 4, 2024

  1. 🚥 docs: fixed Traefik web layout (danny-avila#2305)

    Fixed Traefik config for broken web rending
    ventz authored Apr 4, 2024
    Configuration menu
    Copy the full SHA
    94950b6 View commit details
    Browse the repository at this point in the history
  2. 🦙 docs: Update Ollama + LiteLLM Instructions (danny-avila#2302)

    * Update litellm.md
    
    * set OPENAI_API_KEY of litellm service (needs to be set if ollama's openai api compatibility is used)
    mariusgau authored Apr 4, 2024
    Configuration menu
    Copy the full SHA
    09cd1a7 View commit details
    Browse the repository at this point in the history
  3. 🐋 refactor(Dockerfile.multi): Optimize client build by caching npm in…

    …stall step (danny-avila#2275)
    
    * 🐋 fix(Dockerfile): Optimize client build by caching npm install step
    
    * 🐋 fix(Dockerfile): Possible interference from librechat-data-provider in client build
    ochen1 authored Apr 4, 2024
    Configuration menu
    Copy the full SHA
    d0d8e47 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    daa5f43 View commit details
    Browse the repository at this point in the history

Commits on Apr 5, 2024

  1. 🧠 feat: Cohere support as Custom Endpoint (danny-avila#2328)

    * chore: bump cohere-ai, fix firebase vulnerabilities by going down versions
    
    * feat: cohere rates and context windows
    
    * feat(createCoherePayload): transform openai payload for cohere compatibility
    
    * feat: cohere backend support
    
    * refactor(UnknownIcon): optimize icon render and add cohere
    
    * docs: add cohere to Compatible AI Endpoints
    
    * Update ai_endpoints.md
    danny-avila authored Apr 5, 2024
    Configuration menu
    Copy the full SHA
    cd7f3a5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fb80af0 View commit details
    Browse the repository at this point in the history
  3. 💽 refactor(client): Optimize ModelsConfig Query Cache (danny-avila#2330)

    * refactor(client): remove double caching of models via recoil to rely exclusively on react-query
    
    * chore(useConversation): add modelsQuery.data dep to callback
    danny-avila authored Apr 5, 2024
    Configuration menu
    Copy the full SHA
    f6a8488 View commit details
    Browse the repository at this point in the history
  4. 🚦 docs: Update traefik.md - Documentation Fix for edge case race co…

    …ndition (danny-avila#2322)
    
    Sometimes Traefik created a race condition where LibreChat was up on tcp/3080, and while Traefik was up on tcp/443, it could not route to the LibreChat container due to the multiple interfaces -- depending on how they came up. This is easily solved by simply using one interface.
    ventz authored Apr 5, 2024
    Configuration menu
    Copy the full SHA
    549026f View commit details
    Browse the repository at this point in the history
  5. 🚅 docs: Working Examples for LiteLLM, Docker, LibreChat and LiteLLM m…

    …odels for AWS, Azure, GCP (danny-avila#2323)
    
    Updated documentation with working config examples and clarifying many details.
    
    Added working examples for:
    * LiteLLM (litellm/litellm-config.yaml)
    * Docker (docker-compose.override.yml)
    * LibreChat (librechat.yaml)
    
    Added LiteLLM "ready to use" model for:
    * AWS Bedrock
    * Azure OpenAI
    * OpenAI
    * GCP
    ventz authored Apr 5, 2024
    Configuration menu
    Copy the full SHA
    e80debb View commit details
    Browse the repository at this point in the history
  6. 🚅 docs(ai_endpoints): Reflect correct LiteLLM baseURL when using dock…

    …er-compose (danny-avila#2324)
    
    Added note to LiteLLM baseURL to reflect docker-compose usage
    dlaporte authored Apr 5, 2024
    Configuration menu
    Copy the full SHA
    4767673 View commit details
    Browse the repository at this point in the history

Commits on Apr 6, 2024

  1. 🚧 refactor: Attempt Default Preset Fix & Other Changes (danny-avila#2342

    )
    
    * fix(useTextarea): trigger SendButton re-render on undo and clearing text
    
    * refactor(PresetItems): show pin icon for default preset
    
    * fix(ChatRoute): do not use conversation.model for useEffect, do not set default Preset if real model list is not yet fetched
    danny-avila authored Apr 6, 2024
    Configuration menu
    Copy the full SHA
    334b603 View commit details
    Browse the repository at this point in the history
  2. 📘 docs: Add Note to nginx.md (danny-avila#2341)

    added reference for the need to do 'sudo apt update'
    chrislbrown84 authored Apr 6, 2024
    Configuration menu
    Copy the full SHA
    0b16526 View commit details
    Browse the repository at this point in the history
  3. ⚠️ docs: Default Value Warnings & Docker Docs Update (danny-avila#2343)

    * feat(AppService): default secret value warnings
    
    * docs: update docker/ubuntu related guides
    danny-avila authored Apr 6, 2024
    Configuration menu
    Copy the full SHA
    caabab4 View commit details
    Browse the repository at this point in the history

Commits on Apr 7, 2024

  1. 🚀 feat: Enhance Message Editing with File Resubmission (danny-avila#2347

    )
    
    * chore: fix type issue with File Table fakeData
    
    * refactor: new lazy loading image strategy and load images/files as part of Message Container
    
    * feat: resubmit files when editing messages with attached files
    danny-avila authored Apr 7, 2024
    Configuration menu
    Copy the full SHA
    3411d7a View commit details
    Browse the repository at this point in the history

Commits on Apr 8, 2024

  1. 🐞 fix: Balance and Token Usage Improvements (danny-avila#2350)

    * fix(processModelData): handle `openrouter/auto` edge case
    
    * fix(Tx.create): prevent negative multiplier edge case and prevent balance from becoming negative
    
    * fix(NavLinks): render 0 balance properly
    
    * refactor(NavLinks): show only up to 2 decimal places for balance
    
    * fix(OpenAIClient/titleConvo): fix cohere condition and record token usage for `this.options.titleMethod === 'completion'`
    danny-avila authored Apr 8, 2024
    Configuration menu
    Copy the full SHA
    6f0eb35 View commit details
    Browse the repository at this point in the history

Commits on Apr 9, 2024

  1. 🎨 feat: Title Improvements (danny-avila#2363)

    * fix(assistants): keep generated title upon continued messages in active conversation
    
    * feat: update document.title on successful gentitle mutation
    danny-avila authored Apr 9, 2024
    Configuration menu
    Copy the full SHA
    cc71125 View commit details
    Browse the repository at this point in the history
  2. ⬇️ refactor: Assistant File Downloads (danny-avila#2364)

    * refactor(getFiledownload): explicit accept of `application/octet-stream`
    
    * chore: test compose file
    
    * chore: test compose file fix
    
    * chore(files/download): add more logs
    
    * Fix proxy_pass URLs in nginx.conf
    
    * fix: proxy_pass URLs in nginx.conf to fix file downloads from URL
    
    * chore: move test compose file to utils dir
    
    * refactor(useFileDownload): simplify API request by passing `file_id` instead of `filepath`
    danny-avila authored Apr 9, 2024
    Configuration menu
    Copy the full SHA
    cb64b84 View commit details
    Browse the repository at this point in the history
  3. 🌍: Update Chinese Translation (danny-avila#2351)

    Update Simplified Chinese Translation
    HundSimon authored Apr 9, 2024
    Configuration menu
    Copy the full SHA
    2240fee View commit details
    Browse the repository at this point in the history

Commits on Apr 10, 2024

  1. 👟 style: CodeAnalyze Animation (danny-avila#2348)

    * refactor(CodeAnaluzer SVG)
    
    * refactor(CodeAnalyzer SVG)
    
    * style: center terminal animation, reduce scaling
    
    ---------
    
    Co-authored-by: Danny Avila <messagedaniel@protonmail.com>
    Co-authored-by: Danny Avila <danny@librechat.ai>
    3 people authored Apr 10, 2024
    Configuration menu
    Copy the full SHA
    e4c07eb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f64a2cb View commit details
    Browse the repository at this point in the history
  3. 📦 feat: Model & Assistants Combobox for Side Panel (danny-avila#2380)

    * WIP: dynamic settings
    
    * WIP: update tests and validations
    
    * refactor(SidePanel): use hook for Links
    
    * WIP: dynamic settings, slider implemented
    
    * feat(useDebouncedInput): dynamic typing with generic
    
    * refactor(generate): add `custom` optionType to be non-conforming to conversation schema
    
    * feat: DynamicDropdown
    
    * refactor(DynamicSlider): custom optionType handling and useEffect for conversation updates elsewhere
    
    * refactor(Panel): add more test cases
    
    * chore(DynamicSlider): note
    
    * refactor(useDebouncedInput): import defaultDebouncedDelay from ~/common`
    
    * WIP: implement remaining ComponentTypes
    
    * chore: add com_sidepanel_parameters
    
    * refactor: add langCode handling for dynamic settings
    
    * chore(useOriginNavigate): change path to '/c/'
    
    * refactor: explicit textarea focus on new convo, share textarea idea via ~/common
    
    * refactor: useParameterEffects: reset if convo or preset Ids change, share and maintain statefulness in side panel
    
    * wip: combobox
    
    * chore: minor styling for Select components
    
    * wip: combobox select styling for side panel
    
    * feat: complete combobox
    
    * refactor: model select for side panel switcher
    
    * refactor(Combobox): add portal
    
    * chore: comment out dynamic parameters panel for future PR and delete prompt files
    
    * refactor(Combobox): add icon field for options, change hover bg-color, add displayValue
    
    * fix(useNewConvo): proper textarea focus with setTimeout
    
    * refactor(AssistantSwitcher): use Combobox
    
    * refactor(ModelSwitcher): add textarea focus on model switch
    danny-avila authored Apr 10, 2024
    Configuration menu
    Copy the full SHA
    8e5f1ad View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    0fe47cf View commit details
    Browse the repository at this point in the history

Commits on Apr 11, 2024

  1. 👷 fix: Minor Fixes and Refactors (danny-avila#2388)

    * refactor(useTextarea): set Textarea disabled message due to key higher in priority
    
    * fix(SidePanel): intended behavior for non-user provided keys
    
    * fix: generate specs
    
    * style: update combobox styling as before, with better dynamic height
    
    * chore: remove unused import
    danny-avila authored Apr 11, 2024
    Configuration menu
    Copy the full SHA
    c19dfdd View commit details
    Browse the repository at this point in the history
  2. 🔒 feat: Authenticated Image Requests (danny-avila#2389)

    * 🔒 feat: Authenticated Image Requests
    
    * fix: reserved keyword `static`
    danny-avila authored Apr 11, 2024
    Configuration menu
    Copy the full SHA
    9277e2a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    36ca274 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    7e0048a View commit details
    Browse the repository at this point in the history