Mckay Wrigley
a89308d03a
revert
2023-04-02 08:02:00 -06:00
Mckay Wrigley
e8e74bf773
Merge branch 'main' of https://github.com/mckaywrigley/chatbot-ui-pro
2023-04-02 06:59:48 -06:00
Mckay Wrigley
1dc4f86df5
change output limit
2023-04-02 06:59:47 -06:00
Brad Ullman
ae18abe931
remove unused code ( #356 )
2023-04-02 00:19:10 -06:00
Brad Ullman
f9ddf07085
remove dupe main ( #355 )
2023-04-02 00:17:49 -06:00
Jason Banich
b7b6bbaaca
add react-hot-toast and surface OpenAI API errors to users ( #328 )
2023-04-01 23:05:07 -06:00
Superman
d68f77867d
feat: support import and export with prompts ( #330 )
...
* feat: support import and export prompts
* test: update importExports.test.ts
* Delete .gitpod.yml
2023-04-01 22:59:51 -06:00
Abror Aliboyev
462ca9bb04
fix for openai token limit error ( #350 )
2023-04-01 22:46:32 -06:00
Mckay Wrigley
317bc9b6f3
fix nasty bug
2023-03-30 19:47:58 -06:00
Syed Muzamil
5cdd3e56b7
fix: small ui issue ( #311 )
...
* fix: unnecessary lines before the chats or prompts
Removed unncessary lines if there are no folders before prompts and
chats.
* added the light mode for scroll down button
2023-03-30 13:31:57 -06:00
Burke Libbey
ef8c1b2c33
Allow specifying OpenAI-Organization header: ( #313 )
...
See https://platform.openai.com/docs/api-reference/introduction
> For users who belong to multiple organizations, you can pass a header
> to specify which organization is used for an API request. Usage from
> these API requests will count against the specified organization's
> subscription quota.
2023-03-30 13:30:34 -06:00
Thomas LÉVEIL
00c6c72270
✨ feat: add DEFAULT_MODEL environment variable ( #280 )
...
* ✨ feat: add DEFAULT_MODEL environment variable
* set the model maxLength setting in the models definition
* set the model tokenLimit setting in the models definition
2023-03-28 21:10:47 -06:00
Redon
28c8bf0e0d
chore: update chinese locales ( #247 )
...
* chore: update chinese locales
* chore: update locales
2023-03-28 02:36:30 -06:00
Brad Ullman
a78a8c4a94
make all chat area components tabbable (accessibility) ( #246 )
...
* make all chat area components tabbable
* align message role description
* remove inline styles on icons
* remove inline styles on icons
2023-03-28 02:35:57 -06:00
Thomas LÉVEIL
b0c289f7a4
fix import ( #242 )
...
* 🐛 fix import (#224 )
* 🐛 fix import of corrupted history
see https://github.com/mckaywrigley/chatbot-ui/issues/224#issuecomment-1486080888
* add the run-test-suite github action
2023-03-28 02:27:37 -06:00
Mckay Wrigley
34c79c0d66
Prompts ( #229 )
2023-03-27 09:38:56 -06:00
Praise
90399d24cc
Display optimization on iPhone device page ( #220 )
...
* Disable Zoom Page
* add height
---------
Co-authored-by: Praise <lizan60@gmail.com>
2023-03-27 01:26:59 -06:00
Danil Shishkevich
0f07812cc5
chore: delete code light theme, like chatgpt ( #186 )
2023-03-26 02:25:58 -06:00
Simon Holmes
d6973b9ccc
feat: add in prettier and format code for consistency ( #168 )
2023-03-25 23:13:18 -06:00
Jungley
966021ed74
feat: Allow customization of OpenAI host with environment variable ( #152 )
...
This commit modifies the OpenAI host configuration to support customization through an environment variable. This change is particularly useful in scenarios where access to the official OpenAI host is restricted or unavailable, allowing users to configure an alternative host for their specific needs.
2023-03-25 11:08:03 -06:00
Thomas LÉVEIL
b89ca2082e
Precise error messages ( #150 )
...
* Introduce a component to display error messages
* precise error message when api key is invalid
2023-03-25 10:32:59 -06:00
Jungley
92eab6c634
feat: Add i18n support for Chinese language ( #142 )
...
* feat: Add i18n support for Chinese language
* fix: locale not working in Docker environment
2023-03-25 09:42:48 -06:00
Mckay Wrigley
93a8e814d6
fix send params
2023-03-25 07:18:57 -06:00
Mckay Wrigley
d27326125b
regenerate button ( #138 )
2023-03-25 07:12:51 -06:00
Thomas LÉVEIL
2c8e8547d0
Do not rely on user to figure out if server is configured with an api key ( #136 )
...
Fixes #105 (and probably also #115 )
Co-authored-by: Mckay Wrigley <mckaywrigley@gmail.com>
2023-03-25 06:35:08 -06:00
Mckay Wrigley
1e6531354d
fix sidebar arrow showing
2023-03-25 06:24:07 -06:00
Awesh Choudhary
291e2d9852
Added Better Closing Sidebar Logic (Close on Background Click) ( #122 )
2023-03-25 06:12:06 -06:00
Mckay Wrigley
a03d8b2ba9
edit message
2023-03-25 05:49:41 -06:00
Mckay Wrigley
93b528f10d
stray log
2023-03-23 19:06:00 -06:00
Mckay Wrigley
1f31cc5507
hotfix import
2023-03-23 19:05:47 -06:00
Mckay Wrigley
f5118e3037
folders ( #108 )
...
* folders
* fixes
* storage fix
2023-03-23 17:59:40 -06:00
Alan P
1a4b4401ee
include prompt in token count ( #104 )
2023-03-23 15:51:51 -06:00
Mckay Wrigley
83217c6d83
new load behavior
2023-03-23 08:54:22 -06:00
Awesh Choudhary
2b1ef7be3e
SEO Fixed and Added Semantic Html Tags ( #98 )
2023-03-23 08:31:45 -06:00
CMarghin
52004c938b
Name conversations automatically #86 ( #90 )
2023-03-23 01:11:01 -06:00
Mckay Wrigley
e8902354e4
okay good
2023-03-22 11:07:42 -06:00
Mckay Wrigley
ec84eb2c49
Feat/add stop conversation button ( #76 )
...
* chore add in stop conversation button
* feat: use abort controller
* chore: formatting
---------
Co-authored-by: Simon Holmes <srsholmes@gmail.com>
2023-03-22 11:01:51 -06:00
Mckay Wrigley
5bffa8b0c9
hotfix
2023-03-22 10:46:30 -06:00
Mckay Wrigley
f0c575b40d
add import/export ( #71 )
2023-03-22 08:10:00 -06:00
Khairul Haaziq
4055e84450
enhance ui and fix layout problems ( #63 )
2023-03-22 07:10:31 -06:00
Mckay Wrigley
b7803cf4ba
Clear conversations ( #53 )
...
* Add button "Clear Conversations"
* custom btn
---------
Co-authored-by: Xiangxuan Liu <xiangxuan.liu@rightcapital.com>
2023-03-21 16:38:04 -06:00
Xiangxuan Liu
3d0e783006
Auto close sidebar when a conversation is selected/created on mobile ( #47 )
2023-03-21 09:46:20 -06:00
Mckay Wrigley
0d6ff739a2
add custom system prompt ( #39 )
2023-03-21 01:39:32 -06:00
Mckay Wrigley
537957d5f5
Token based and model conditional limits ( #36 )
...
* use tiktoken for api limit
* model conditional char limits on frontend
* adjust for completion tokens
---------
Co-authored-by: Alan Pogrebinschi <alanpog@gmail.com>
2023-03-20 22:02:24 -06:00
Xiangxuan Liu
61384fa685
Add apple-mobile-web-app meta tags ( #29 )
2023-03-20 09:48:12 -06:00
Mckay Wrigley
dd439bb4a8
error handling ( #27 )
2023-03-20 07:17:58 -06:00
Mckay Wrigley
a0751994b1
api key fix
2023-03-20 04:30:18 -06:00
Mckay Wrigley
7810a3e7dc
Add GPT-4 support ( #25 )
...
* mobile ui updates
* fixes sidebar btn
* return if null
* mobile input blur
* handle mobile enter key
* new convo name
* new delete mechanism
* test height
* revert
* change padding
* remove overflow
* check relative
* padding
* done
* retry
* test
* test
* should work now
* test
* test
* more
* max h
* revert
* done
2023-03-20 03:53:00 -06:00
Mckay Wrigley
7e6651dea7
add more mobile ui ( #18 )
2023-03-19 06:48:57 -06:00
Xiangxuan Liu
7c9e552a5c
Correct the improper context being used when it exceeds the limit.
2023-03-19 14:19:43 +08:00