mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-20 18:30:15 +01:00
✨ Release v0.6.5 (#1391)
* ✨ Release v0.6.5
* fix(ci): use dynamic currentDateString
This commit is contained in:
parent
8d563d61f1
commit
5b28362282
8 changed files with 18 additions and 11 deletions
|
|
@ -569,8 +569,15 @@ describe('OpenAIClient', () => {
|
||||||
|
|
||||||
expect(getCompletion).toHaveBeenCalled();
|
expect(getCompletion).toHaveBeenCalled();
|
||||||
expect(getCompletion.mock.calls.length).toBe(1);
|
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(
|
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();
|
expect(fetchEventSource).toHaveBeenCalled();
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "@librechat/backend",
|
"name": "@librechat/backend",
|
||||||
"version": "0.6.1",
|
"version": "0.6.5",
|
||||||
"description": "",
|
"description": "",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "echo 'please run this from the root directory'",
|
"start": "echo 'please run this from the root directory'",
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "@librechat/frontend",
|
"name": "@librechat/frontend",
|
||||||
"version": "0.6.1",
|
"version": "0.6.5",
|
||||||
"description": "",
|
"description": "",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,7 @@ export default function Footer() {
|
||||||
rel="noreferrer"
|
rel="noreferrer"
|
||||||
className="underline"
|
className="underline"
|
||||||
>
|
>
|
||||||
{config?.appTitle || 'LibreChat'} v0.6.1
|
{config?.appTitle || 'LibreChat'} v0.6.5
|
||||||
</a>
|
</a>
|
||||||
{' - '} {localize('com_ui_new_footer')}
|
{' - '} {localize('com_ui_new_footer')}
|
||||||
</>
|
</>
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,7 @@ export default function Footer() {
|
||||||
rel="noreferrer"
|
rel="noreferrer"
|
||||||
className="underline"
|
className="underline"
|
||||||
>
|
>
|
||||||
{config?.appTitle || 'LibreChat'} v0.6.1
|
{config?.appTitle || 'LibreChat'} v0.6.5
|
||||||
</a>
|
</a>
|
||||||
{' - '}. {localize('com_ui_pay_per_call')}
|
{' - '}. {localize('com_ui_pay_per_call')}
|
||||||
</>
|
</>
|
||||||
|
|
|
||||||
8
package-lock.json
generated
8
package-lock.json
generated
|
|
@ -1,12 +1,12 @@
|
||||||
{
|
{
|
||||||
"name": "LibreChat",
|
"name": "LibreChat",
|
||||||
"version": "0.6.1",
|
"version": "0.6.5",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "LibreChat",
|
"name": "LibreChat",
|
||||||
"version": "0.6.1",
|
"version": "0.6.5",
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
"workspaces": [
|
"workspaces": [
|
||||||
"api",
|
"api",
|
||||||
|
|
@ -38,7 +38,7 @@
|
||||||
},
|
},
|
||||||
"api": {
|
"api": {
|
||||||
"name": "@librechat/backend",
|
"name": "@librechat/backend",
|
||||||
"version": "0.6.1",
|
"version": "0.6.5",
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@anthropic-ai/sdk": "^0.5.4",
|
"@anthropic-ai/sdk": "^0.5.4",
|
||||||
|
|
@ -598,7 +598,7 @@
|
||||||
},
|
},
|
||||||
"client": {
|
"client": {
|
||||||
"name": "@librechat/frontend",
|
"name": "@librechat/frontend",
|
||||||
"version": "0.6.1",
|
"version": "0.6.5",
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@headlessui/react": "^1.7.13",
|
"@headlessui/react": "^1.7.13",
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "LibreChat",
|
"name": "LibreChat",
|
||||||
"version": "0.6.1",
|
"version": "0.6.5",
|
||||||
"description": "",
|
"description": "",
|
||||||
"workspaces": [
|
"workspaces": [
|
||||||
"api",
|
"api",
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "librechat-data-provider",
|
"name": "librechat-data-provider",
|
||||||
"version": "0.3.3",
|
"version": "0.3.4",
|
||||||
"description": "data services for librechat apps",
|
"description": "data services for librechat apps",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"module": "dist/index.es.js",
|
"module": "dist/index.es.js",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue