Skip to content

Commit

Permalink
✨ Release v0.6.5 (danny-avila#1391)
Browse files Browse the repository at this point in the history
* ✨ Release v0.6.5

* fix(ci): use dynamic currentDateString
  • Loading branch information
danny-avila authored and shortpoet committed Dec 30, 2023
1 parent 3e137e2 commit c9c6373
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 11 deletions.
9 changes: 8 additions & 1 deletion api/app/clients/specs/OpenAIClient.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -569,8 +569,15 @@ describe('OpenAIClient', () => {

expect(getCompletion).toHaveBeenCalled();
expect(getCompletion.mock.calls.length).toBe(1);

const currentDateString = new Date().toLocaleDateString('en-us', {
year: 'numeric',
month: 'long',
day: 'numeric',
});

expect(getCompletion.mock.calls[0][0]).toBe(
'||>Instructions:\nYou are ChatGPT, a large language model trained by OpenAI. Respond conversationally.\nCurrent date: December 18, 2023\n\n||>User:\nHi mom!\n||>Assistant:\n',
`||>Instructions:\nYou are ChatGPT, a large language model trained by OpenAI. Respond conversationally.\nCurrent date: ${currentDateString}\n\n||>User:\nHi mom!\n||>Assistant:\n`,
);

expect(fetchEventSource).toHaveBeenCalled();
Expand Down
2 changes: 1 addition & 1 deletion api/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@librechat/backend",
"version": "0.6.1",
"version": "0.6.5",
"description": "",
"scripts": {
"start": "echo 'please run this from the root directory'",
Expand Down
2 changes: 1 addition & 1 deletion client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@librechat/frontend",
"version": "0.6.1",
"version": "0.6.5",
"description": "",
"type": "module",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion client/src/components/Chat/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export default function Footer() {
rel="noreferrer"
className="underline"
>
{config?.appTitle || 'LibreChat'} v0.6.1
{config?.appTitle || 'LibreChat'} v0.6.5
</a>
{' - '} {localize('com_ui_new_footer')}
</>
Expand Down
2 changes: 1 addition & 1 deletion client/src/components/Input/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export default function Footer() {
rel="noreferrer"
className="underline"
>
{config?.appTitle || 'LibreChat'} v0.6.1
{config?.appTitle || 'LibreChat'} v0.6.5
</a>
{' - '}. {localize('com_ui_pay_per_call')}
</>
Expand Down
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "LibreChat",
"version": "0.6.1",
"version": "0.6.5",
"description": "",
"workspaces": [
"api",
Expand Down
2 changes: 1 addition & 1 deletion packages/data-provider/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "librechat-data-provider",
"version": "0.3.3",
"version": "0.3.4",
"description": "data services for librechat apps",
"main": "dist/index.js",
"module": "dist/index.es.js",
Expand Down

0 comments on commit c9c6373

Please sign in to comment.