forked from danny-avila/LibreChat
-
Notifications
You must be signed in to change notification settings - Fork 0
Redeploy dev librechat on new builds #26
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
Closed
Closed
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Includes how to keep pulling from upstream & related branching strategies.
We'll have a private .env which points towards this config file.
Forced chat input to be at bottom of screen (instead of user-configurable option), otherwise the landing page text won't fit.
I moved the dev docker compose file into the root directory so that it can take advantage of `.env` (which has local secrets in it). Otherwise, we'd either need to hardcode the meilisearch master key (not good) or specify the `.env` every time (annoying).
Sometimes we want to disable togglable features (e.g. forcing temporary chat to always be on). In those cases, the lowest possible lift is simply to disable the state changes altogether. LibreChat uses Recoil for local state; this function gives a way to create a constant while keeping the rest of the codebase unaware (and thus less changes needed).
Retaining chat history is a bit of a minefield right now for NJ, so we're disabling it until we have a grasp of the implications. That means: 1. All chats are forced to be temporary chats. 2. Exporting & sharing is disabled (since this is a roundabout way to do chat history).
Since we don't have chat history right now, the search bar also doesn't need to exist (since there's nothing to search).
- Disable forking (makes no sense w/o chat history, maybe too advanced) - Disable feedback (don't want NJ sending any training data back to providers)
This includes: - "My Files" - shows a list of files you've uploaded to LibreChat - "Help & FAQ" - a link to any site you like (we don't have a help site atm) - "Settings" - these are largely power user settings and we will want to be selective about which ones we want to re-enable.
We only have one model to start on NJ (and no immediate plans to add a second), so disable the model selector for now.
This reverts commit 1e72edb.
* Revert "Hide model selector (for now)" This reverts commit 1e72edb. * checkin * bedrock config --------- Co-authored-by: Josh Fink <josh.fink@innovation.nj.gov>
We're enabling the following: - Backend tests - Frontend tests - Cache tests - ESLint checks
* save * infra check-in * checkin * remove cdk.out * checkin * checkin * checkin * checkin * checkin * infra.md * bedrock endpoint * move infra under nj * pr comments * updates * updates --------- Co-authored-by: Josh Fink <josh.fink@innovation.nj.gov>
There were a few conflicts/fixes made: - Had to redo the Header changes (since things got moved around) - Adapt to new `defaultTemporaryChat` Recoil state. - Explicitly disable `search` state (now, `null` just shows a loading placeholder). Conflicts: client/src/components/Chat/Header.tsx client/src/store/temporary.ts
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Redeploys the dev librechat service when we build a new image. Dev uses latest, so all that's needed is a restart.
Should work, I used this action: https://github.com/apideck-libraries/ecs-restart-service