Release 0.4.5 (#282)

* Release 0.4.5

* Update @waylaidwanderer/node-chatgpt-api to latest version
* Update dockerfiles to use workspaces and ensure packages are @ latest
* Remove package-lock.json files from workspace directories as no longer needed

* refactor(api): remove deprecated text-davinci-002-render-paid model from CHATGPT_MODELS
refactor(api/client): change model comparison to use startsWith() instead of === for GPT-4 models
This commit is contained in:
Danny Avila 2023-05-16 14:30:24 -04:00 committed by GitHub
parent 45a2aaf7b8
commit dbf45196ee
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 633 additions and 31965 deletions

View file

@ -6,10 +6,10 @@ WORKDIR /app
# Copy package.json files for client and api
COPY /client/package*.json /app/client/
COPY /api/package*.json /app/api/
COPY /package*.json /app/
# Install dependencies for both client and api
RUN cd /app/client && npm ci
RUN cd /app/api && npm ci
RUN npm ci
# Copy the current directory contents into the container
COPY /client/ /app/client/