Skip to content

Conversation

@entropic489
Copy link
Collaborator

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

dlew and others added 25 commits November 21, 2025 09:12
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.
* 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
@entropic489 entropic489 self-assigned this Dec 17, 2025
@entropic489 entropic489 marked this pull request as ready for review December 17, 2025 20:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants