Enhanced ChatGPT Clone: Features Agents, MCP, DeepSeek, Anthropic, AWS, OpenAI, Responses API, Azure, Groq, o1, GPT-5, Mistral, OpenRouter, Vertex AI, Gemini, Artifacts, AI model switching, message search, Code Interpreter, langchain, DALL-E-3, OpenAPI Actions, Functions, Secure Multi-User Auth, Presets, open-source for self-hosting. Active. https://librechat.ai/
Find a file
Danny Avila ea1dd59ef4
refactor(api): Central Logging 📜 (#1348)
* WIP: initial logging changes
add several transports in ~/config/winston
omit messages in logs, truncate long strings
add short blurb in dotenv for debug logging
GoogleClient: using logger
OpenAIClient: using logger, handleOpenAIErrors
Adding typedef for payload message
bumped winston and using winston-daily-rotate-file
moved config for server paths to ~/config dir
Added `DEBUG_LOGGING=true` to .env.example

* WIP: Refactor logging statements in code

* WIP: Refactor logging statements and import configurations

* WIP: Refactor logging statements and import configurations

* refactor: broadcast Redis initialization message with `info` not `debug`

* refactor: complete Refactor logging statements and import configurations

* chore: delete unused tools

* fix: circular dependencies due to accessing logger

* refactor(handleText): handle booleans and write tests

* refactor: redact sensitive values, better formatting

* chore: improve log formatting, avoid passing strings to 2nd arg

* fix(ci): fix jest tests due to logger changes

* refactor(getAvailablePluginsController): cache plugins as they are static and avoids async addOpenAPISpecs call every time

* chore: update docs

* chore: update docs

* chore: create separate meiliSync logger, clean up logs to avoid being unnecessarily verbose

* chore: spread objects where they are commonly logged to allow string truncation

* chore: improve error log formatting
2023-12-14 07:49:27 -05:00
.devcontainer chore: Clean up the devcontainer files (#1317) 2023-12-10 09:49:21 -05:00
.github chore: Get the latest of all github actions (#1335) 2023-12-14 07:44:38 -05:00
.husky chore: move files out of root to declutter 2023-09-06 14:00:36 -04:00
api refactor(api): Central Logging 📜 (#1348) 2023-12-14 07:49:27 -05:00
client refactor: Use librechat-data-provider app-wide 🔄 (#1326) 2023-12-11 14:48:40 -05:00
config fix: docker issues with volume mapping (#1330) 2023-12-11 22:39:24 -05:00
docs refactor(api): Central Logging 📜 (#1348) 2023-12-14 07:49:27 -05:00
e2e style: update graphics (#1138) 2023-11-16 08:42:03 -05:00
packages/data-provider fix(librechat-data-provider): Update types paths in package.json (#1333) 2023-12-12 09:16:29 -05:00
.dockerignore chore: Update docker, Minor Styling fix (#528) 2023-06-17 11:38:48 -04:00
.env.example refactor(api): Central Logging 📜 (#1348) 2023-12-14 07:49:27 -05:00
.eslintrc.js 🔧 fix: Correct Properties Passed to getResponseSender, Catch OpenAI Errors (#1244) 2023-11-29 13:40:16 -05:00
.gitignore 🔎 update: meilisearch (#1269) 2023-12-05 08:38:41 -05:00
bun.lockb chore: remove jose as Bun now supports JWT 🍞 (#1167) 2023-11-12 00:44:46 -05:00
deploy-compose.yml feat: deploy-compose NGINX volume mapping, add image removal to update script (#1211) 2023-11-22 23:35:08 -05:00
docker-compose.yml fix: docker issues with volume mapping (#1330) 2023-12-11 22:39:24 -05:00
Dockerfile refactor: address potential issues with deploy-compose.yml (#1220) 2023-11-25 16:34:51 -05:00
Dockerfile.multi refactor: Use librechat-data-provider app-wide 🔄 (#1326) 2023-12-11 14:48:40 -05:00
index.html Update index.html to replace ChatGPT Clone with LibreChat (#724) 2023-07-28 19:14:58 -04:00
LICENSE doc fix: license ⚖️ (#1171) 2023-11-12 20:49:41 -05:00
mkdocs.yml refactor(api): Central Logging 📜 (#1348) 2023-12-14 07:49:27 -05:00
package-lock.json refactor(api): Central Logging 📜 (#1348) 2023-12-14 07:49:27 -05:00
package.json refactor: address potential issues with deploy-compose.yml (#1220) 2023-11-25 16:34:51 -05:00
prettier.config.js refactor: Settings/Presets UI Restructure, convert many files to TS (#740) 2023-08-04 13:56:44 -04:00
README.md Update README.md 2023-12-11 22:43:37 -05:00

LibreChat

Features

  • 🖥️ UI matching ChatGPT, including Dark mode, Streaming, and 11-2023 updates
  • 💬 Multimodal Chat:
    • Upload and analyze images with GPT-4-Vision 📸
    • More filetypes and Assistants API integration in Active Development 🚧
  • 🌎 Multilingual UI:
    • English, 中文, Deutsch, Español, Français, Italiano, Polski, Português Brasileiro,
    • Русский, 日本語, Svenska, 한국어, Tiếng Việt, 繁體中文, العربية, Türkçe, Nederlands
  • 🤖 AI model selection: OpenAI API, Azure, BingAI, ChatGPT, Google Vertex AI, Anthropic (Claude), Plugins
  • 💾 Create, Save, & Share Custom Presets
  • 🔄 Edit, Resubmit, and Continue messages with conversation branching
  • 📤 Export conversations as screenshots, markdown, text, json.
  • 🔍 Search all messages/conversations
  • 🔌 Plugins, including web access, image generation with DALL-E-3 and more
  • 👥 Multi-User, Secure Authentication with Moderation and Token spend tools
  • ⚙️ Configure Proxy, Reverse Proxy, Docker, many Deployment options, and completely Open-Source

For a thorough review of our features, see our docs here 📚

All-In-One AI Conversations with LibreChat

LibreChat brings together the future of assistant AIs with the revolutionary technology of OpenAI's ChatGPT. Celebrating the original styling, LibreChat gives you the ability to integrate multiple AI models. It also integrates and enhances original client features such as conversation and message search, prompt templates and plugins.

With LibreChat, you no longer need to opt for ChatGPT Plus and can instead use free or pay-per-call APIs. We welcome contributions, cloning, and forking to enhance the capabilities of this advanced chatbot platform.

Watch the video Click on the thumbnail to open the video☝️


⚠️ Breaking Changes ⚠️

Please read this before updating from a previous version


Changelog

Keep up with the latest updates by visiting the releases page - Releases


Table of Contents

Getting Started
General Information
Features
Cloud Deployment
Contributions

Star History

Star History Chart

Contributors

Contributions and suggestions bug reports and fixes are welcome! Please read the documentation before you do!

For new features, components, or extensions, please open an issue and discuss before sending a PR.

This project exists in its current state thanks to all the people who contribute