Danny Avila
f4d995be4c
chore: dependabot updates ( #319 )
2023-05-18 15:32:03 -04:00
dependabot[bot]
fbdfbdd620
npm all prod(deps): bump react-router-dom from 6.11.1 to 6.11.2 ( #308 )
...
Bumps [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom ) from 6.11.1 to 6.11.2.
- [Release notes](https://github.com/remix-run/react-router/releases )
- [Changelog](https://github.com/remix-run/react-router/blob/main/packages/react-router-dom/CHANGELOG.md )
- [Commits](https://github.com/remix-run/react-router/commits/react-router-dom@6.11.2/packages/react-router-dom )
---
updated-dependencies:
- dependency-name: react-router-dom
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-18 15:28:36 -04:00
dependabot[bot]
fec733e10b
npm client dev(deps-dev): bump source-map-loader in /client ( #307 )
...
Bumps [source-map-loader](https://github.com/webpack-contrib/source-map-loader ) from 1.1.3 to 4.0.1.
- [Release notes](https://github.com/webpack-contrib/source-map-loader/releases )
- [Changelog](https://github.com/webpack-contrib/source-map-loader/blob/master/CHANGELOG.md )
- [Commits](https://github.com/webpack-contrib/source-map-loader/compare/v1.1.3...v4.0.1 )
---
updated-dependencies:
- dependency-name: source-map-loader
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-18 15:28:19 -04:00
dependabot[bot]
23905dd344
npm all prod(deps): bump jake from 10.8.5 to 10.8.6 ( #306 )
...
Bumps [jake](https://github.com/jakejs/jake ) from 10.8.5 to 10.8.6.
- [Changelog](https://github.com/jakejs/jake/blob/main/changelog.md )
- [Commits](https://github.com/jakejs/jake/compare/v10.8.5...v10.8.6 )
---
updated-dependencies:
- dependency-name: jake
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-18 15:27:58 -04:00
dependabot[bot]
ec13d74b84
npm client prod(deps): bump class-variance-authority in /client ( #304 )
...
Bumps [class-variance-authority](https://github.com/joe-bell/cva ) from 0.4.0 to 0.6.0.
- [Release notes](https://github.com/joe-bell/cva/releases )
- [Commits](https://github.com/joe-bell/cva/compare/v0.4.0...v0.6.0 )
---
updated-dependencies:
- dependency-name: class-variance-authority
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-18 15:27:40 -04:00
dependabot[bot]
231906161b
npm client dev(deps-dev): bump typescript from 4.9.5 to 5.0.4 in /client ( #303 )
...
Bumps [typescript](https://github.com/Microsoft/TypeScript ) from 4.9.5 to 5.0.4.
- [Release notes](https://github.com/Microsoft/TypeScript/releases )
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.9.5...v5.0.4 )
---
updated-dependencies:
- dependency-name: typescript
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-18 15:27:20 -04:00
dependabot[bot]
5c787035e5
npm all prod(deps): bump remark-parse from 10.0.1 to 10.0.2 ( #302 )
...
Bumps [remark-parse](https://github.com/remarkjs/remark ) from 10.0.1 to 10.0.2.
- [Release notes](https://github.com/remarkjs/remark/releases )
- [Changelog](https://github.com/remarkjs/remark/blob/main/changelog.md )
- [Commits](https://github.com/remarkjs/remark/compare/remark-parse@10.0.1...remark-parse@10.0.2 )
---
updated-dependencies:
- dependency-name: remark-parse
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-18 15:27:00 -04:00
dependabot[bot]
2694690ed0
npm all prod(deps): bump cross-fetch from 3.1.5 to 3.1.6 ( #301 )
...
Bumps [cross-fetch](https://github.com/lquixada/cross-fetch ) from 3.1.5 to 3.1.6.
- [Release notes](https://github.com/lquixada/cross-fetch/releases )
- [Changelog](https://github.com/lquixada/cross-fetch/blob/v3.1.6/CHANGELOG.md )
- [Commits](https://github.com/lquixada/cross-fetch/compare/v3.1.5...v3.1.6 )
---
updated-dependencies:
- dependency-name: cross-fetch
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-18 15:26:39 -04:00
dependabot[bot]
562bf8c920
npm api prod(deps): bump joi from 14.3.1 to 17.9.2 in /api ( #300 )
...
Bumps [joi](https://github.com/hapijs/joi ) from 14.3.1 to 17.9.2.
- [Commits](https://github.com/hapijs/joi/compare/v14.3.1...v17.9.2 )
---
updated-dependencies:
- dependency-name: joi
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-18 15:26:14 -04:00
dependabot[bot]
2781154df3
npm all prod(deps): bump mongoose from 6.11.1 to 7.1.1 ( #299 )
...
Bumps [mongoose](https://github.com/Automattic/mongoose ) from 6.11.1 to 7.1.1.
- [Release notes](https://github.com/Automattic/mongoose/releases )
- [Changelog](https://github.com/Automattic/mongoose/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Automattic/mongoose/compare/6.11.1...7.1.1 )
---
updated-dependencies:
- dependency-name: mongoose
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-18 15:25:55 -04:00
dependabot[bot]
691b6d9029
npm api prod(deps): bump mongoose from 6.11.1 to 7.1.1 in /api ( #298 )
...
Bumps [mongoose](https://github.com/Automattic/mongoose ) from 6.11.1 to 7.1.1.
- [Release notes](https://github.com/Automattic/mongoose/releases )
- [Changelog](https://github.com/Automattic/mongoose/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Automattic/mongoose/compare/6.11.1...7.1.1 )
---
updated-dependencies:
- dependency-name: mongoose
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-18 15:25:36 -04:00
dependabot[bot]
c6c3054c22
npm client prod(deps): bump filenamify from 5.1.1 to 6.0.0 in /client ( #297 )
...
Bumps [filenamify](https://github.com/sindresorhus/filenamify ) from 5.1.1 to 6.0.0.
- [Release notes](https://github.com/sindresorhus/filenamify/releases )
- [Commits](https://github.com/sindresorhus/filenamify/compare/v5.1.1...v6.0.0 )
---
updated-dependencies:
- dependency-name: filenamify
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-18 15:25:17 -04:00
Danny Avila
d71b61ad71
minor fixes ( #318 )
...
* refactor(SearchBar.jsx): extract onChange function to a separate function and add onKeyDown event listener to prevent spacebar from propagating
* refactor(SearchBar.jsx): extract onChange function to a separate function and add onKeyDown event listener to prevent spacebar from propagating
* refactor(SearchBar.jsx): remove unused React import statement
2023-05-18 15:22:48 -04:00
Dan Orlando
47533736e3
fix: turn off react-in-jsx-scope rule ( #317 )
2023-05-18 15:12:19 -04:00
Dan Orlando
a17b878617
refactor: reformat files to require parens around params ( #316 )
2023-05-18 14:44:07 -04:00
dependabot[bot]
91ef4872d6
npm api prod(deps): bump meilisearch from 0.31.1 to 0.32.3 in /api ( #296 )
...
Bumps [meilisearch](https://github.com/meilisearch/meilisearch-js ) from 0.31.1 to 0.32.3.
- [Release notes](https://github.com/meilisearch/meilisearch-js/releases )
- [Commits](https://github.com/meilisearch/meilisearch-js/compare/v0.31.1...v0.32.3 )
---
updated-dependencies:
- dependency-name: meilisearch
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-18 14:30:23 -04:00
Danny Avila
c1ddd07166
chore(EditPresetDialog.jsx): fix formatting and linting issues
...
feat(Settings.jsx): change max-height of the settings dialog to fit the content better
2023-05-18 14:20:41 -04:00
Dan Orlando
7fdc862042
Build/Refactor: lint pre-commit hook and reformat repo to spec ( #314 )
...
* build/refactor: move lint/prettier packages to project root, install husky, add pre-commit hook
* refactor: reformat files
* build: put full eslintrc back with all rules
2023-05-18 14:09:31 -04:00
Danny Avila
8d75b25104
Fixes ( #313 )
...
* refactor(endpoints.js): remove console.log statement
refactor(index.html): change title to "ChatGPT Clone"
* feat(Chat.jsx): set document title to conversation title or VITE_APP_TITLE or 'Chat' if conversation is null
2023-05-18 07:45:07 -04:00
Danny Avila
26152d7e5f
feat(api): add support for user-provided OpenAI API key ( #311 )
...
- Add support for user-provided OpenAI API key by setting OPENAI_KEY to
"user_provided" in .env.example
- Pass oaiApiKey to titleConvo function in titleConvo.js
- Pass oaiApiKey to askClient function in askOpenAI.js
- Modify openAI object in endpoints.js to include userProvide property
based on whether OPENAI_KEY is set to "user_provided" or not.
2023-05-17 21:58:56 -04:00
John Chen
61a4231feb
fix duplicate instructions ( #310 )
2023-05-17 20:18:50 -04:00
Olivier Contant
c9b035a0bd
Docs/security guideline ( #295 )
...
* Create dependabot.yml
Initial dependabot.yml
* Create SECURITY.md
Guideline for security researcher to report vulnerabilities and communicate the discovery to our project community.
* Update SECURITY.md
Change wording for Discord channel initial contact and added Github Issues guideline.
2023-05-17 19:23:58 -04:00
dncc89
44ea3601c9
feat: Frontend app title environment variable ( #291 )
...
* Add app name change support
* fix indentation
2023-05-17 19:23:13 -04:00
Pawan Kumar
782a899ab3
calculate and add token usage to streaming chat ( #287 )
2023-05-17 19:22:35 -04:00
Anirudh
14104b276f
Added functionality to allow users to set custom api keys ( #276 )
...
* Added functionality to allow users to set custom api keys
* Added error handling
* Changed token to apiKey
* Changed apiKey to oaiApiKey
* added azure openai ui
* Removed logging
* Changed configure to Use
* Made checked position more rounded
* Made setting api key optional if it is openai
* Modified error handling
* Add support for insufficient_quota errors
* Fixed faulty error detection
* removed logging
2023-05-17 19:21:30 -04:00
Danny Avila
08f3a77d58
Update README.md
2023-05-17 14:48:47 -04:00
Danny Avila
ca26732cb8
Update docker_install.md
2023-05-17 09:58:10 -04:00
Danny Avila
dbf45196ee
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
2023-05-16 14:30:24 -04:00
Fuegovic
45a2aaf7b8
docs : add basic info document in multiple languages ( #285 )
...
* Create multilingual_information.md
add a multilingual document with basic information about the project for non-native English speakers
* Update README toc to add multilingual info
add the multilingual info doc to the table of content (under General Information)
2023-05-16 13:30:52 -04:00
Dan Orlando
c02c62f3b1
fix: fix link to coding conventions doc in contributor guidelines ( #283 )
...
* doc: coding conventions and proposal submissions
* make coding_contention.md path relative in contributor guidelines
* fix: remove / from coding conventions link
2023-05-16 12:09:17 -04:00
Dan Orlando
4718674688
doc: coding conventions and proposal submissions ( #250 )
...
* doc: coding conventions and proposal submissions
* doc: add code standards to TOC
* make coding_contention.md path relative in contributor guidelines
2023-05-16 09:50:16 -04:00
Danny Avila
0e3c115368
Update README.md
2023-05-16 09:48:54 -04:00
Danny Avila
cc506c23af
Update README.md
2023-05-16 06:53:56 -04:00
Danny Avila
1f77d94b7e
Update README.md
2023-05-16 06:52:47 -04:00
Danny Avila
5711ff27ee
fix(getIcon.jsx): match initial styling better with official ( #277 )
2023-05-15 12:15:33 -04:00
David Shin
3120602d6a
feat: Add user icon in messages ( #275 )
...
* Update GPT4 model icon
* Add user icon support in messages
2023-05-15 11:51:58 -04:00
David Shin
9f36e195bc
Update GPT4 model icon ( #274 )
2023-05-15 10:08:30 -04:00
Fuegovic
9de7da91a7
Fix: install instructions ( #272 )
...
* Update windows_install.md
removed -dev argument
* Update mac_install.md
removed `-dev` arguments
* Update linux_install.md
removed "-dev" argument
* Update windows_install.md
correction to update procedure
* Update windows_install.md
updat bat file instruction
* Update mac_install.md
update bash command
* Update linux_install.md
update bash script and update instructions
* Update linux_install.md
fix mistake in update instruction
2023-05-15 07:49:49 -04:00
Danny Avila
501a15a18f
Release 0.4.4 ( #271 )
2023-05-14 20:39:40 -04:00
Danny Avila
6049c9e3ff
Fix react errors, max context tokens, and preset mobile view ( #269 )
...
* fix: react errors
* fix: max tokens issue
* fix: max tokens issue
2023-05-14 17:26:21 -04:00
Pawan Kumar
262b402606
fix code to adjust max_tokens according to model selection ( #263 )
2023-05-14 12:16:38 -04:00
Danny Avila
56ea9563b8
refactor(style.css): change font file paths ( #268 )
2023-05-14 12:12:56 -04:00
Anirudh
2cd6612620
Fonts ( #261 )
2023-05-14 12:06:53 -04:00
Danny Avila
5d40396fb2
refactor(Conversation.js): change default pageSize from 12 to 14 in getConvosByPage and getConvosQueried functions. Remove unnecessary parentheses and curly braces in getConvosQueried function. Remove unnecessary parentheses in deleteConvos function. ( #267 )
2023-05-14 11:45:18 -04:00
Anirudh
93dd1eb036
Add Popup Menu to Save Space in Sidebar ( #260 )
...
---------
Co-authored-by: Danny Avila <110412045+danny-avila@users.noreply.github.com>
2023-05-14 11:42:17 -04:00
Anton Volnuhin
542a46dc7c
Correct the typo in auth.json for accessing Google Palm ( #266 )
...
Co-authored-by: Anton Volnuhin <anton@volnuhin.ru>
2023-05-14 11:25:22 -04:00
Anirudh
bf31b1fea0
Msg Clipboard to checkmark (optimistic UX) ( #247 )
...
* revert unintended package-lock.json change
* used default checkmark which is included in project
---------
Co-authored-by: Danny Avila <110412045+danny-avila@users.noreply.github.com>
2023-05-14 09:00:20 -04:00
Danny Avila
25d4529ff9
Release v0.4.3
2023-05-13 17:10:19 -04:00
Danny Avila
33d7c67c04
Release v0.4.3
2023-05-13 17:09:25 -04:00
Danny Avila
dc8f762bac
Release v0.4.3
2023-05-13 17:08:28 -04:00