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

[App] LibreChat #3488

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from
Draft

[App] LibreChat #3488

wants to merge 4 commits into from

Conversation

nrvo
Copy link
Contributor

@nrvo nrvo commented May 13, 2024

Description

LibreChat is a free, open source AI chat platform. This Web UI offers vast customization, supporting numerous AI providers, services, and integrations. Serves all AI Conversations in one place with a familiar interface and innovative enhancements.

Links

https://www.librechat.ai/docs
https://github.com/danny-avila/LibreChat

Comments

  • Include LibreChat UI + RAG API + VectorDB + MongoDB + Meilisearch
  • Configured OOB with Ollama, Mistral, Groq, OpenAI, VertexAI, OpenRouter and more ...
  • Added local embeddings support for RAG API
  • I've had to use root user: 0:0 to make it work without permissions errors

Summary by CodeRabbit

  • New Features

    • Enhanced configuration settings for LibreChat, covering server details, API endpoints, logging, plugins, user system, moderation, and UI customization.
    • Enabled support for multiple AI providers and social login integrations.
  • Documentation

    • Provided a comprehensive overview of LibreChat in description.md, showcasing its key features and functionalities.
  • Infrastructure

    • Updated docker-compose.yml to streamline service definitions for api, mongodb, meilisearch, vectordb, and rag_api for simplified deployment.

Copy link
Contributor

coderabbitai bot commented May 13, 2024

Warning

Rate Limit Exceeded

@nrvo has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 11 minutes and 24 seconds before requesting another review.

How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.
Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.
Please see our FAQ for further information.

Commits Files that changed from the base of the PR and between df173bf and 8ca64be.

Walkthrough

The recent updates to LibreChat weave a tapestry of enhancements across various files, enriching the platform with detailed configurations and service definitions. These changes aim to elevate LibreChat's functionality, user experience, and integration capabilities with diverse AI services.

Changes

File Path Change Summary
apps/librechat/config.json Updated config.json with essential details like name, port, version, description, author, website, and more. Added supported architectures and environment variable fields.
apps/librechat/data/.env Introduced extensive configuration settings covering server, logging, API keys, plugins, user management, moderation, and more.
apps/librechat/data/librechat.yaml Added version control, cache settings, custom interface configurations, registration options, and custom endpoint definitions.
apps/librechat/docker-compose.yml Defined configurations for services including api, mongodb, meilisearch, vectordb, and rag_api with environment variables and network settings.
apps/librechat/metadata/description.md Provided an overview of LibreChat's features and deployment flexibility.

🐰
In lines of code, new paths we weave,
With settings vast, our chat will breathe.
From YAML scrolls to .env's embrace,
Each byte and bit falls into place.
Services rise with Docker's might,
LibreChat soars to new height.
🌟🚀


Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

Share
Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai generate interesting stats about this repository and render them as a table.
    • @coderabbitai show all the console.log statements in this repository.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (invoked as PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger a review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai help to get help.

Additionally, you can add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.

CodeRabbit Configration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

Review Details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits Files that changed from the base of the PR and between c546acf and 2ad2443.
Files ignored due to path filters (1)
  • apps/librechat/metadata/logo.jpg is excluded by !**/*.jpg
Files selected for processing (5)
  • apps/librechat/config.json (1 hunks)
  • apps/librechat/data/.env (1 hunks)
  • apps/librechat/data/librechat.yaml (1 hunks)
  • apps/librechat/docker-compose.yml (1 hunks)
  • apps/librechat/metadata/description.md (1 hunks)
Files not reviewed due to errors (3)
  • apps/librechat/metadata/description.md (no review received)
  • apps/librechat/docker-compose.yml (no review received)
  • apps/librechat/data/librechat.yaml (no review received)
Files skipped from review due to trivial changes (1)
  • apps/librechat/config.json
Additional Context Used
LanguageTool (2)
apps/librechat/metadata/description.md (2)

Near line 3: Unpaired symbol: ‘[’ seems to be missing
Context: # LibreChat [LibreChat](https://github.com/danny-avila/LibreCha...


Near line 3: If this is a compound adjective that modifies the following noun, use a hyphen.
Context: ...b.com/danny-avila/LibreChat) is a free, open source AI chat platform. This Web UI offers va...

Additional comments not posted (5)
apps/librechat/data/.env (5)

16-23: LGTM!


31-38: LGTM!


70-74: LGTM!


245-293: LGTM!


336-356: LGTM!

update container_name to match app id
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

Review Details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits Files that changed from the base of the PR and between 2ad2443 and df173bf.
Files selected for processing (1)
  • apps/librechat/docker-compose.yml (1 hunks)

@jsutton
Copy link

jsutton commented Jun 20, 2024

I would like this app, is there any help needed to get it merged?

traefik.http.routers.librechat-local.tls: true
mongodb:
container_name: chat-mongodb
image: mongo
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not fan of this honnestly

- CREDS_IV=${LC_CREDS_IV}
env_file:
- ./data/.env
volumes:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bind volumes should be simplified

networks:
- tipi_main_network
vectordb:
container_name: vectordb
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should use dynamic en vars to avoid collision like ${APP}_vectordb

networks:
- tipi_main_network
rag_api:
container_name: rag_api
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same, should use dynamic en vars to avoid collision like ${APP}_rag_api

container_name: chat-meilisearch
image: getmeili/meilisearch:v1.7.3
restart: always
user: 0:0
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not fan too.

depends_on:
- mongodb
- rag_api
image: ghcr.io/danny-avila/librechat-dev:638ac5bba61a524cc4ae99711a91f19572c4f2a0
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

version should be fixed like v0.7.4-rc1 instead of hash, also dev version are not prefered

- tipi_main_network
rag_api:
container_name: rag_api
image: ghcr.io/danny-avila/librechat-rag-api-dev:ad107dc19b0a95ecbe5d936d26f3b46fff4494f4
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should be also a fixed version not hash

@JigSawFr JigSawFr marked this pull request as draft June 22, 2024 23:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants