Sean Zhang
d839ea324a
Add container name
2023-04-25 10:04:38 +08:00
Danny Avila
e02e6152ed
Merge pull request #183 from danny-avila/fix-edit-wrap
...
add whitespace-pre-wrap to the message editor to preserve line breaks
2023-04-21 23:13:42 -04:00
Daniel Avila
2b7c1507ef
style(Message.jsx): add whitespace-pre-wrap to the message editor to preserve line breaks
2023-04-21 23:12:45 -04:00
Danny Avila
f5ff91cfbd
build(Dockerfile-app): add Dockerfile for building the app image
...
feat(docker-compose.yml): use pre-built image for api service instead of building from local file
2023-04-21 14:38:23 -04:00
Daniel Avila
901375bfa0
fix(chatgpt-browser.js): update public reverse proxy URL
2023-04-20 13:13:47 -04:00
Danny Avila
15a734b6c8
Update README.md
2023-04-16 23:12:59 -07:00
Danny Avila
4f119296f4
Update README.md
2023-04-14 18:11:20 -07:00
Daniel Avila
b88828e29a
feat(api): update @waylaidwanderer/chatgpt-api dependency to version 1.35.0
2023-04-12 05:47:10 -07:00
Danny Avila
3447137515
Merge pull request #179 from danny-avila/fix-unknown-conversationId
...
fix: fix infinite query failure when conversationId is not found
2023-04-11 19:52:42 -06:00
Daniel Avila
6aa540c4af
fix(api): correct typo in environment variable name from "user_provide" to "user_provided" in bingai.js and chatgpt-browser.js clients and endpoints.js router
2023-04-11 21:50:53 -04:00
Danny Avila
163388b8a9
Merge pull request #177 from danny-avila/user-providered-key
...
User providered key and unfinished messages.
2023-04-11 19:46:28 -06:00
Daniel Avila
e68c163ef6
feat(Input/NewConversationMenu): save last selected model to localStorage
...
fix(getDefaultConversation.js): use last selected model from localStorage if available
2023-04-11 21:33:14 -04:00
Daniel Avila
dcf2ee480b
refactor(tokenizer.js): remove console.log statement from tokenizer.js
2023-04-11 10:29:55 -04:00
Daniel Avila
5c5871afd8
style(endpoints.js): fix indentation and add semicolons
...
fix(tokenizer.js): add try-catch block and error handling
style(SetTokenDialog/index.jsx): fix typo in sentence
refactor(data-service.ts): change argument format to match server API
2023-04-11 10:28:11 -04:00
Daniel Avila
e0d5e75e73
fix: only give initialResponse unfinished true value when not a cancellable endpoint
2023-04-10 18:27:06 -04:00
Daniel D Orlando
fb7542c865
fix: fix infinite query failure when conversationId is not found
2023-04-10 14:55:39 -07:00
Daniel Avila
0bd240939a
refactor(Message.jsx): remove cancelled message bubble and improve wording of unfinished message
2023-04-10 17:15:28 -04:00
Daniel Avila
31893ec9f6
chore: bump version to 0.3.3 in package.json files
2023-04-10 17:06:49 -04:00
Daniel Avila
78ae220f7e
fix(Input): fix isNotAppendable condition to include isSubmitting variable
...
fix(Input): prevent submitting message when isSubmitting is true and Enter key is pressed
2023-04-10 17:03:11 -04:00
Jinrui
478814ff1b
fix nginx container copying from wrong folder
2023-04-11 03:51:56 +08:00
Wentao Lyu
fd0152e39f
fix: typo
2023-04-11 03:50:37 +08:00
Wentao Lyu
f5f327e79e
mark initial response as unfinished.
2023-04-11 03:42:05 +08:00
Wentao Lyu
9871127114
cleanup
2023-04-11 03:29:54 +08:00
Wentao Lyu
a5a0eab7f7
merge from dannya
...
feat: support unfinished messages.
2023-04-11 03:26:38 +08:00
Wentao Lyu
bbf2f8a6ca
feat: support user-provided token to bingAI and chatgptBrowser
2023-04-10 14:51:38 +08:00
Daniel Avila
a953fc9f2b
wip: feat: abort messages and continue conversation
...
fix(addToCache.js): remove unused variables and parameters
feat(addToCache.js): add message to cache with id, parentMessageId, role, and text
fix(askOpenAI.js): remove parentMessageId parameter from addToCache call
feat(MessageHandler.jsx): add latestMessage to store on cancel of submission, and generate messageId and parentMessageId for latestMessage
2023-04-09 22:21:27 -04:00
Daniel Avila
a81bd27b39
feat(api): add support for saving messages to database
...
fix(api): change arrowParens prettier option to always
fix(api): update addToCache to include endpointOption and latestMessage
fix(api): update askOpenAI to include endpointOption in abortControllers
fix(client): remove abortKey state and add currentParent state to MessageHandler
2023-04-09 11:17:08 -04:00
Daniel Avila
6246ffff1e
wip: refactor: new abort message handling
2023-04-09 09:23:03 -04:00
Daniel Avila
b59588c6ee
refactor(messageHandler): sends all necessary data to cache/save unfinished response
2023-04-09 09:22:14 -04:00
Daniel Avila
828e438d53
feat(api-endpoints.ts): add abortRequest endpoint
...
feat(data-service.ts): add abortRequestWithMessage function
feat(react-query-service.ts): add useAbortRequestWithMessage hook
2023-04-09 09:21:04 -04:00
Daniel Avila
f946f90ef6
Merge branch 'main' into fix-sse
2023-04-09 07:54:06 -04:00
Daniel Avila
956d919751
fix(Messages/index.jsx): import lodash throttle function efficiently
2023-04-09 07:52:42 -04:00
Daniel Avila
4f1fc3f020
chore(package-lock.json): remove duplicate media-typer dependency and update its version to 0.3.0 in type-is and express dependencies.
2023-04-09 07:47:08 -04:00
Daniel Avila
c1b6f96bca
Merge branch 'main' into fix-sse
2023-04-09 07:41:55 -04:00
Danny Avila
ae1333db37
Update README.md
2023-04-09 07:40:03 -04:00
Danny Avila
19c0f00cf2
Update README.md
2023-04-09 07:39:41 -04:00
Danny Avila
3c8ac933ee
Merge pull request #176 from danny-avila/minor-fixes
...
Minor fixes
2023-04-09 07:38:28 -04:00
Daniel Avila
50ec165f71
chore: update package versions to 0.3.2
2023-04-09 07:37:57 -04:00
Daniel Avila
942a85f531
fix: vite build issue: set memory limit for Node.js to 2048 MB
2023-04-09 07:35:10 -04:00
Daniel Avila
83d0443c8a
fix: page no longer refreshes on stop generating button
2023-04-09 07:32:07 -04:00
Daniel Avila
88aea81288
WIP: fix: fix abort messages and continue conversation on abort
...
feat(askOpenAI.js): add abort endpoint to cancel requests
feat(MessageHandler): add abort functionality to cancel requests
feat(submission.js): add lastResponse and source atoms to store
feat(handleSubmit.js): add stopGenerating function to cancel requests
2023-04-08 23:19:29 -04:00
Danny Avila
5fbefa15ce
Merge pull request #171 from git-bruh/main
...
fix: replace various anchor tags with buttons to prevent text selection on repeated clicks
2023-04-08 08:38:41 -04:00
Daniel Avila
0f62be812a
refactor(AdjustToneButton.jsx): replace svg icon with lucide-react Settings2 icon
2023-04-08 08:37:44 -04:00
Danny Avila
92c1bb6511
Merge pull request #174 from HyunggyuJang/fix/reset-after-title-generation
...
Fix #119
2023-04-08 08:32:13 -04:00
Danny Avila
cb56b74b0e
Merge pull request #160 from HyunggyuJang/sydney/tone-adjustable
...
Make sydney tone adjustable during conversation
2023-04-08 08:30:05 -04:00
Daniel Avila
94078ce5d4
chore: remove GA until more tests are written
2023-04-08 08:21:34 -04:00
Hyunggyu Jang
e5e4ee2987
Fix error
2023-04-08 13:32:15 +09:00
Hyunggyu Jang
100be3b42f
Make sydney tone adjustable
2023-04-08 13:29:08 +09:00
Danny Avila
0a80f836f0
Merge pull request #165 from danny-avila/dano/react-query-typescript
...
Refactor: Create data-provider for api services with React Query and TypeScript
2023-04-07 22:14:44 -04:00
Daniel Avila
8b952be268
refactor(NewConversationMenu): remove unused imports and commented code
...
feat(NewConversationMenu): add support for deleting presets and creating new presets using data-provider
2023-04-07 22:11:28 -04:00