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

Merge upstream #4

Merged
merged 359 commits into from
Apr 2, 2024
Merged

Merge upstream #4

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

Commits on Jan 15, 2024

  1. Configuration menu
    Copy the full SHA
    dfe45f8 View commit details
    Browse the repository at this point in the history
  2. 🐳 docs: Update dotenv.md (#1564)

    docker compose is now a plugin of docker
    ganeshkrishnan1 committed Jan 15, 2024
    Configuration menu
    Copy the full SHA
    4069404 View commit details
    Browse the repository at this point in the history

Commits on Jan 16, 2024

  1. 🎨: Updated Plugins Search Bar; 🌎: Added Translations (#1549)

    * 🎨: layout search bar plugins: updated  / 🌎: translation update
    
    * 🌎:Update Portuguese Translation
    
    * fix: Refactored 'pluginstoredialog' code.
    
    * chore(PopoverButtons): remove comments, re-organize imports
    
    * chore: linting and reorganize useState declarations
    
    * chore: linting and reorganize useState declarations
    
    ---------
    
    Co-authored-by: Danny Avila <[email protected]>
    Co-authored-by: Danny Avila <[email protected]>
    3 people committed Jan 16, 2024
    Configuration menu
    Copy the full SHA
    7b4e31e View commit details
    Browse the repository at this point in the history

Commits on Jan 17, 2024

  1. 🌏: Add indonesia translation (#1563)

    * Added Indonesian Language
    
    * added indonesian to eng.tsx and general.tsx
    wahitftry committed Jan 17, 2024
    Configuration menu
    Copy the full SHA
    963dbf3 View commit details
    Browse the repository at this point in the history
  2. 🪙 refactor: Update tokens.js for Added Context Buffer from Max (#1573)

    * Update tokens.js
    
    * chore: linting previous PR
    
    * chore: adjust token limits, add buffers
    
    * chore: linting
    
    * chore: adjust 32k gpt-4 limit
    danny-avila committed Jan 17, 2024
    Configuration menu
    Copy the full SHA
    638f924 View commit details
    Browse the repository at this point in the history

Commits on Jan 18, 2024

  1. ✏️ feat: LaTeX parsing for Messages (#1585)

    * feat: Beta features tab in Settings and LaTeX Parsing toggle
    
    * feat: LaTex parsing with spec
    danny-avila committed Jan 18, 2024
    Configuration menu
    Copy the full SHA
    a8d6bfd View commit details
    Browse the repository at this point in the history

Commits on Jan 19, 2024

  1. 🖼️ feat(DALL-E): Azure OpenAI Support & New Config Variables (#1586)

    * feat(DALL-E-3/DALL-E-2): Azure OpenAI support. New Version specific environment credentials:
     - DALLEx_SYSTEM_PROMPT=
     - DALLEx_AZURE_API_VERSION=
     - DALLEx_BASEURL=
     - DALLEx_API_KEY=
     - replace `x` with `3` or `2`
    
    * docs: update docs based on new env vars and Azure OpenAI support for DALL-E
    
    * docs: breaking change for user provided DALLE_API_KEY:
    - **DALL-E Update**: user-provided keys for DALL-E are now specific to each DALL-E version, i.e.:  and
    - Note:  will work for both DALL-E-3 and DALL-E-2 when the admin provides the credential; in other words, this may only affect your users if DALLE_API_KEY is not set in the  file. In this case, they will simply have to uninstall the plugin, and provide their API key again.
    
    * refactor: use process.env at runtime instead of from memory to fix testing DALLE3.spec.js, adjust test
    danny-avila committed Jan 19, 2024
    Configuration menu
    Copy the full SHA
    ab33392 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7e2e19a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a7c5457 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    83292a4 View commit details
    Browse the repository at this point in the history
  5. 🚆 docs: Add Sealos 1-Click Deployment (#1578)

    Add deploy on Sealos
    yangchuansheng committed Jan 19, 2024
    Configuration menu
    Copy the full SHA
    3df5853 View commit details
    Browse the repository at this point in the history
  6. 🖌️ feat: Optional Display Username in Messages, Send/Stop Button Styl…

    …e, Localization (#1592)
    
    * 👤add: Username instead of 'You' when sending messages.
    
    * 🌎: Added a new translation for 'You' and updated the existing translation for Spanish.
    
    * fix: remove "!"
    
    * Added: New setting Account for show username in messages
    chore (StopButon and SendButon): Updated to new style of ChatGPT
    chore Update and Added news translations: Spanish, English and Portuguese Brazilian
    
    * fix: message component definition and imports order, remove unnecessary useEffect and localStorage set, fix localStorage key in store
    
    * chore: update readme.md
    
    * chore: optimize condition for messageLabel
    
    * chore(Message.tsx): remove empty blocks
    
    ---------
    
    Co-authored-by: Raí Santos <[email protected]>
    danny-avila and itzraiss committed Jan 19, 2024
    Configuration menu
    Copy the full SHA
    f133bb9 View commit details
    Browse the repository at this point in the history
  7. 🌎 : Update Portuguese Translation (#1593)

    * 🌎: Update Portuguese Translation
    
    * 🌎: Update Portuguese Translation
    itzraiss committed Jan 19, 2024
    Configuration menu
    Copy the full SHA
    5c94f53 View commit details
    Browse the repository at this point in the history
  8. 🪶 feat: Add Support for Azure OpenAI Base URL (#1596)

    * refactor(extractBaseURL): add handling for all possible Cloudflare AI Gateway endpoints
    
    * chore: added endpointoption todo for updating type and optimizing handling app-wide
    
    * feat(azureUtils):
    - `genAzureChatCompletion`: allow optional client pass to update azure property
    - `constructAzureURL`: optionally replace placeholders for instance and deployment names of an azure baseURL
    - add tests for module
    
    * refactor(extractBaseURL): return entire input when cloudflare `azure-openai` suffix detected
    - also add more tests for both construct and extract URL
    
    * refactor(genAzureChatCompletion): only allow omitting instance name if baseURL is not set
    
    * refactor(initializeClient): determine `reverseProxyUrl` based on endpoint (azure or openai)
    
    * refactor: utitlize `constructAzureURL` when `AZURE_OPENAI_BASEURL` is set
    
    * docs: update docs on `AZURE_OPENAI_BASEURL`
    
    * fix(ci): update expected error message for `azureUtils` tests
    danny-avila committed Jan 19, 2024
    Configuration menu
    Copy the full SHA
    e73608b View commit details
    Browse the repository at this point in the history
  9. 🌎: Update Italian Translation (#1594)

    * translation update
    
    * translation updatre + new transaltions
    
    * Update language files for English and Italian
    berry-13 committed Jan 19, 2024
    Configuration menu
    Copy the full SHA
    9b7d719 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    130e346 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    5a74ac9 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    5ac89b8 View commit details
    Browse the repository at this point in the history

Commits on Jan 20, 2024

  1. 🐛 fix: Converted the getter name and description of Azure AI Sear…

    …ch Plugin to a property (#1599)
    zentooo committed Jan 20, 2024
    Configuration menu
    Copy the full SHA
    3ed6cef View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cf4cdf8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    42de461 View commit details
    Browse the repository at this point in the history

Commits on Jan 22, 2024

  1. Configuration menu
    Copy the full SHA
    a0dabcc View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    367c78f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    36560d5 View commit details
    Browse the repository at this point in the history

Commits on Jan 23, 2024

  1. Configuration menu
    Copy the full SHA
    5730028 View commit details
    Browse the repository at this point in the history
  2. 🔏 feat: Nginx SSL Secure Config (#1615)

    * Update nginx.conf
    
    Add Mozilla SSL Configuration Generator recommended options.
    
    * Update nginx.conf Remove Space
    bsu3338 committed Jan 23, 2024
    Configuration menu
    Copy the full SHA
    81ff598 View commit details
    Browse the repository at this point in the history

Commits on Jan 24, 2024

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

Commits on Jan 25, 2024

  1. 📖 docs: Update multilingual_information.md (#1622)

    * Update multilingual_information.md
    
    Some minor grammatical errors in the French translation
    
    * Update multilingual_information.md
    jo-s-eph committed Jan 25, 2024
    Configuration menu
    Copy the full SHA
    f0b30b8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d0730d2 View commit details
    Browse the repository at this point in the history

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 (#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 committed 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 (#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 committed 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 (#1666)

    * Language translation: japanese
    
    * Language translation: japanese
    Kakenyan committed 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 (#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 committed 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 (#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 committed 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 (#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 committed 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 (#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 committed 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 (#1697)

    * 🥷  docs: Ninja ChatGPT-browser reverse proxy
    
    * 🥷  docs: breaking changes
    fuegovic committed 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 (#1683)

    Co-authored-by: marlonka <[email protected]>
    marlonka and marloc55 committed 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 (#1703)

    * feat: use openrouter data for model token cost/context
    
    * chore: add ttl for tokenConfig and refetch models if cache expired
    danny-avila committed 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 (#1704)

    * 🚀 feat: Support for GPT-3.5 Turbo/0125 Model
    
    * ci: fix tx test
    danny-avila committed 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 (#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 committed 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 (#1709)

    change size and position of the one click deployment buttons
    fuegovic committed 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 (#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 <[email protected]>
    danny-avila and walbercardoso committed 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 (#1712)

    * fix: modify the base docker image for devcontainer
    
    * fix: restore package-lock.json from main
    ryohei-kamiya committed 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 (#1721)

    * Fix the interface for the mobile version.
    
    * Make uniform margins for buttons.
    machinsoft committed 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 (#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 committed 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 (#1727)

    * 🐳 docs: Add deploy to Zeabur button in README.md
    
    * 🐳 docs: Add deploy to Zeabur guide in docs
    yuaanlin committed 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 (#1726)

    * 🍃 docs: Formatting Fix
    
    * 🖋️ docs: Formatting Fix
    
    * 🖋️ docs: Formatting Fix
    fuegovic committed 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 (#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 <[email protected]>
    berry-13 and danny-avila committed 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 (#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 <[email protected]>
    berry-13 and danny-avila committed 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 (#1730)

    * fix: socialLogins default value
    
    * ci: add test for `AppService`
    danny-avila committed 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 (#1740)

    update the note about rebuilding LibreChat after configuration changes since the .env file is now mounted into the volume
    fuegovic committed 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 (#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 committed 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 (#1756)

    * Update to use docker-compose.overridge.yml
    
    Add GPU Acceleration links
    
    * Update litellm.md
    bsu3338 committed 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 (#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 committed 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 (#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 <[email protected]>
    Co-authored-by: Danny Avila <[email protected]>
    3 people committed 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 (#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 committed 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 (#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 committed 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 (#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 <[email protected]>
    berry-13 and danny-avila committed 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 (#1783)

    * 📝 docs: override file clarification
    
    * 📝 docs: override file clarification
    
    * 📝 docs: balance & token count clarification
    fuegovic committed 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 (#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 #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 (#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 <[email protected]>
    
    * 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 <[email protected]>
    danny-avila and berry-13 committed 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 (#1797)

    * fix(data-provider): add openapi-types dependency
    
    * chore: Bump version to 0.4.1 in package.json
    danny-avila committed 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 (#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 committed 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 (#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 committed 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 (#1818)

    * fix: necessary font changes
    
    * chore: minor bump
    danny-avila committed 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 (#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 committed 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 (#1812)

    * 📝 docs: add env changes to breacking_changes.md
    
    * 📝 docs: replace example in docker_override.md
    
    * 📝 docs: fix images in zeabur.md
    fuegovic committed 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 (#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 committed 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 (#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 committed 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 (#1857)

    * fix: do not remove default model from message request
    
    * chore: bump data-provider
    danny-avila committed 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 (#1860)

    * 🐋 Feat: docker pre-built image by default
    
    * 🐋 Feat: docker LibreChat ports from .env
    fuegovic committed 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 (#1866)

    * update .env.example
    
    add "TAVILY_API_KEY=" to .env.example
    
    * update dotenv.md
    
    add Tavily to dotenv.md
    fuegovic committed 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 (#…

    …1870)
    
    * fix: prevent reseting title to 'New Chat' on follow up message
    
    * chore(useSSE): remove empty line
    danny-avila committed 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 (#1864)

    add note about the use of the pre-built image in docker-compose.yml
    fuegovic committed 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 (#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 committed 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. 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 (#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 committed 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 (#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 <[email protected]>
    berry-13 and danny-avila committed 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 (#1867)

    * 🌍 : Update Portuguese Translations
    
    * 🌍 : Fix Portuguese Translations
    
    * fix(Br): lint errors
    
    ---------
    
    Co-authored-by: Berry-13 <[email protected]>
    itzraiss and berry-13 committed 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 (#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 committed 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 (

    #1914)
    
    * chore: remove verbose logging of ChatOpenAI
    
    * feat: abort AI requests on request close
    danny-avila committed 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 (#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 committed 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 (#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 committed 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 (#1872)

    * help and faq
    
    * fix: using only one var
    
    * revert(types.ts): showHelpAndFaq
    
    * Update dotenv.md
    
    * Update dotenv.md
    berry-13 committed 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 (#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 <[email protected]>
    fuegovic and danny-avila committed 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 (#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 committed 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 (#1918)

    * 🌍 Extend regex to support international usernames
    
    * update validators.spec.js
    fuegovic committed 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 (#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 committed 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 (#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 committed 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 (#1930)

    * 🔎docs: update meilisearch in mac_install.md
    
    Update the Meilisearch .env variables in `mac_install.md`
    
    * 🔎🐧
    fuegovic committed 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 (#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 committed 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 (#1944)

    * chore: improve token balance logging post-request
    
    * feat: match stdout logging with file debug logging when using DEBUG_CONSOLE
    danny-avila committed 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 (#1948)

    * Separate LiteLLM and Ollama Documentation
    
    * Clarify Ollama Setup
    
    * Fix litellm config
    bsu3338 committed 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 (#1970)

    * fix(EditMessage): duplicate text when pasting on chromium
    
    * add back paste data handling, prevent default behavior
    
    ---------
    
    Co-authored-by: Danny Avila <[email protected]>
    berry-13 and danny-avila committed 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 (#1972)

    * fix: do not override model
    
    * temp fix for secondary model validation
    danny-avila committed 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 (#1953)

    * feat: add hebrew
    
    * fix: review issues
    
    * fix language options
    ido777 committed 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 (#1982)
    
    * fix(ci): update failing tests with new expected values from `getUserKey`
    
    * refactor: safer optional chaining, and ensure apiKey is defined
    danny-avila committed 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 (#1981)

    * 🔎 update meilisearch to v1.6 / 0.37.0
    
    * 🔎 update meilisearch to v1.6 / 0.37.0
    fuegovic committed 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 (#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 committed 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 (#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 committed 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 (#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 <[email protected]>
    berry-13 and danny-avila committed 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 (#1995)

    * 📝 docs update: Anthropic models + Traversaal
    
    * 📝 docs update: Anthropic models
    fuegovic committed 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 (#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 committed 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 (#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 committed 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 (#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 committed 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 (#2004)

    * Update .env.example
    
    Make assistants show in the UI by default
    
    * Update dotenv.md
    fuegovic committed 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 (#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 committed 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 (#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 committed 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 (#2037)

    * fix(ThemeContext): listen for changes
    
    * fix(Dropdown): theme auto-update not working
    berry-13 committed 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 (#2060)

    * docs: documentation guidelines
    
    * docs: deploy documentation update
    fuegovic committed 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 (#2057)

    * 📧 chore: update email templates
    
    * 📧 update password reset confirmation
    fuegovic committed 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 (#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 committed 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 (#2045)

    * feat: Improve Google search plugin to assistants
    
    * 🔧 fix(Nav SidePanel): Center buttons when collapsed
    walbercardoso committed 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 (#2011)

    * UI Design update
    
    * Add an error icon next to the avatar.
    
    * fix
    
    * Change the style of buttons
    
    * fix: avatar
    machinsoft committed 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 (#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 <[email protected]>
    Co-authored-by: Fuegovic <[email protected]>
    3 people committed 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 (#2070)

    * 🧊 style: Adjust Endpoint Icons
    
    * Update MessageParts.tsx
    danny-avila committed 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 (#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 committed 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 (#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 committed 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 (#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 committed 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 (#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 committed 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 (#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 committed 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 (#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 committed 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 (#2133)

    * fix(azure): fix regex to prevent edge cases
    
    * fix(assistants): pass relevant endpoint options to avoid sending them to API
    danny-avila committed 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 (#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 <[email protected]>
    danny-avila and f1yn committed 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 (#2122)

    * chore: add requirements.txt to documentation, to ease maintenance
    
    * docs: Update documentation_guidelines.md
    ido777 committed 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 (#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 <[email protected]>
    walbercardoso and danny-avila committed 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 (#2017)

    * style: HoverButton UI adjustment
    
    * style: make Consolas as default code font
    
    ---------
    
    Co-authored-by: Danny Avila <[email protected]>
    SailFlorve and danny-avila committed 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) (#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 committed 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 (#…

    …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 committed 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 (#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 committed 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 (#2147)

    * 🔧 (fix) Convo Fade Effect
    
    * 🔧style(fix): Convo Fade Effect (#2117)
    
    * 🔧 style(fix): Convo Fade Effect (#2117)
    walbercardoso committed 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 (#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 <[email protected]>
    berry-13 and danny-avila committed 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 (#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 committed 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 (#2152)

    Added new Official Known Endpoint (ShuttleAI)
    herumes committed 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 (#2155)

    * 🌑 style: Update Dark Mode Stylings for File Manager
    
    * 🌐 feat: localize file manager text
    
    * 🌐 feat: file panel table localization
    danny-avila committed 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. 🐋 fix(Dockerfile): add back additional deps., handle permissions, use…

    … `--no-audit` flag on install (#2157)
    danny-avila committed Mar 21, 2024
    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 (#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 committed 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 (#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 committed 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 (#2171)

    Fix broken links to the custom config file on `timeoutMs` and `supportedIds`.
    fkohrt committed 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 (#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 (#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 committed 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 (#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 committed 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 (#2196)

    * 👓 fix(assistants): Only Retrieve Assistant Data for Vision Requests if attachments exist in Host Storage
    
    * docs: add  capability
    danny-avila committed 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 (#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 committed 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 (#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 committed 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 (#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 committed 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 (#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 committed 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 (#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 committed 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 (#2211)
    
    * docs: updating docker
    
    * fix(customConfig): make `cache` field optional as intended (though not recommended for local setups)
    danny-avila committed 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 (#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 committed 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 (#2206)

    Fix link to Code of Conduct
    s2terminal committed 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 (#2146)

    * Add CONSOLE_JSON
    
    * Update example env
    
    * Moved to utils
    idachev committed 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 (#2175)

    * 🔎 chore: bump meilisearch v1.7 / v0.38.0
    
    * ✏️ breaking_changes.md
    fuegovic committed 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 (#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 committed 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 (#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 <[email protected]>
    itzraiss and danny-avila committed 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 (#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 committed 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 (#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 committed 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 (#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 committed 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 (

    …#2253)
    
    * chore: update docs
    
    * fix(StableDiffusion): optimize API responses and file handling, return expected metadata for Assistants endpoint
    danny-avila committed 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 (#2261)

    Co-authored-by: 彭修照 <[email protected]>
    pxz2016 and 彭修照 committed 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 (#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 committed 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 (#2266)

    * ✨ v0.7.0
    
    * chore: gitignore
    
    * 🐳 ci: update release image workflows
    danny-avila committed 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 (#2271)

    * chore: remove version comment from pre-commit shell script
    
    * chore: Dockerfile update
    danny-avila committed 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. ✨ v0.7.0 (#2273)

    danny-avila committed Apr 1, 2024
    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 (#2279)

    * feat: add possibility to filter by roles for OpenID provider
    
    ---------
    
    Co-authored-by: Sirius <[email protected]>
    danny-avila and siriusfreak committed 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 (#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 committed 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 (#2274)

    * docs: update URL to access ollama and comment on 'host.docker.internal'
    
    * Update ai_endpoints.md
    
    ---------
    
    Co-authored-by: Danny Avila <[email protected]>
    kinnla and danny-avila committed 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 (#2286)
    
    * fix(ToolService): remove userId filter from `loadActionSets`
    
    * docs: updates to rag_api and docker_override explaining key variable conflicts
    danny-avila committed 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