Commit Graph

232 Commits

Author SHA1 Message Date
Nguyễn Hữu Phong 165472f121
Update Vietnamese (#385) 2023-04-03 00:41:26 -06:00
Jiaping(JP) Zhang 83e25b97b0
update chat role icon (#378) 2023-04-02 14:38:42 -06:00
Thomas LÉVEIL b7732a95a6
:notes document (#373) 2023-04-02 14:37:59 -06:00
Thomas LÉVEIL b3b65f8ce5
Fix translations import export (#376)
* fix "Import data" case

* fix "Export data" translations
2023-04-02 14:36:09 -06:00
Alan P 2c236e2c07
tokenLimit now can be closer to real model limit. (#366) 2023-04-02 14:35:33 -06:00
Mckay Wrigley bc2435d4cb Merge branch 'main' of https://github.com/mckaywrigley/chatbot-ui-pro 2023-04-02 08:02:01 -06:00
Mckay Wrigley a89308d03a revert 2023-04-02 08:02:00 -06:00
spctechdev 90c0e7d35d
Locale it (#363)
* Add files via upload

* Update next-i18next.config.js

* Update chat.json
2023-04-02 07:42:33 -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
Syed Muzamil 91cbe0b104
fix: some ui issues (#346)
* fix: scroll button not visible in light mode

* fix: sidebar when there is a folder

When a folder is added in the sidebar and there are less items scroll
bar appears. This simple change fixes that behaviour

* fix: small devices regerate/Stop button below input

Below 768px Stop Genrating and Regerate Button remains hidden behind the
input. This is the fix for that
2023-04-01 23:11:03 -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
Jason Banich 23ad285a4b
Adds a loading spinner that replaces send icon while result is generated (#329) 2023-04-01 23:02:15 -06:00
Mckay Wrigley 56d3b2fba2 change to "data" 2023-04-01 23:01:05 -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
riande 8f3a3ae3e7
locale improvements (#351) 2023-04-01 22:45:54 -06:00
Mckay Wrigley cfb610df1e fix spacing 2023-04-01 14:54:59 -06:00
Daniel 9683ce21b3
Fix icon color (#344) 2023-04-01 04:36:46 -06:00
Matri 3650d8d7bf
fix: prompts list height (#340) 2023-04-01 01:40:25 -06:00
Colin Ricardo aefec17525
fix: label layout shift (#338) 2023-03-31 20:14:59 -06:00
Brijesh Bittu 863d8d8121
Autofocus input when after clicking OpenAI API Key in sidebar. (#324)
* Update Key.tsx

Autofocus input after its visible.

* Update Key.tsx
2023-03-31 03:22:56 -06:00
Rudolf Olah c1b7b0e070
Feature: add link to openai account usage (#319)
* Update ModelSelect.tsx to include link to account usage

It would be helpful to be able to click a link to see the account usage and billing, and the model selection is related to the pricing.

* updated styling and added icon for external link

* fixed missing import
2023-03-30 20:10:11 -06:00
Mckay Wrigley 22bcaef805 update demo 2023-03-30 19:56:43 -06:00
Mckay Wrigley 317bc9b6f3 fix nasty bug 2023-03-30 19:47:58 -06:00
Mckay Wrigley 40828f1568 change default prompt in example 2023-03-30 19:17:38 -06:00
Bryan Lee 31129919bf
feat: support custom default system prompt (#285) 2023-03-30 19:16:02 -06:00
Matri 2114b7296e
fix: properly trigger prompt modal close (#309)
Co-authored-by: MatriQi <matri@aifi.io>
2023-03-30 19:14:17 -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
ryanhex53 3631a5ac75
return detail error from api call. (#295) 2023-03-30 03:53:24 -06:00
Dasun Nimantha 4d7adf477a
fix: In light mode, the arrow in the "scroll to bottom" icon is difficult to see #299 (#304) 2023-03-30 03:52:22 -06:00
Mckay Wrigley e020de47ce change messaging 2023-03-29 15:21:50 -06:00
Mckay Wrigley 85c4f88a06
Update README.md 2023-03-29 10:10:55 -06:00
Redon 6ef83b0cb6
fix: translation omission (#281) 2023-03-28 21:11:16 -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
Dasun Nimantha 3f82710cdd
chore: added Sinhala language locales (#276) 2023-03-28 14:57:20 -06:00
Mohammed Sohail b2ef40cf6f
Fix invalid Tailwind property (#275) 2023-03-28 14:57:10 -06:00
Mostafa Higazy 52d47292ad
Adding arabic translation (#274) 2023-03-28 12:55:35 -06:00
Ernesto Barrera aefeac2902
New JSON translation file for Spanish (#270)
Translation to Spanish of the prompts custom template bar
2023-03-28 09:44:24 -06:00
Jungley baca00c59e
doc: update doc about Docker (#264)
maybe fix #259
2023-03-28 08:27:54 -06:00
Syed Muzamil a70ae8799d
fix: website crash when typing / followed with non prompt name (#262)
* fix: froward slash crash

* added the rounded corners when editing folder/chat
2023-03-28 08:00:07 -06:00
Dasun Nimantha cd49445491
style: changed scroll icon size via size attribute as suggested (#263) 2023-03-28 07:59:31 -06:00
Syed Muzamil abdcd4508d
fix: layout shifting on small devices (#258)
* fix: overlap between plus and prompt menu icon

* fix: prompt sidebar not showing on small devices

* fix: layout shifting on small devices when there is a code block
2023-03-28 04:23:34 -06:00
Simon Holmes 3749c9b2af
chore: migrate to vitest for 10x faster tests (#257)
* chore migrate to vitest

* chore: cleanup jest stuff

* chore: install the coverage dep
2023-03-28 04:22:58 -06:00
Mckay Wrigley 11d6172e95
Update README.md 2023-03-28 03:22:24 -06:00
Mckay Wrigley 1f9d17f8bf
scroll btn (#256)
* feat: added scroll down button

when the use scrolls up on the chat a button will appear on the bottom right side of the screen. It will smoothly scroll down to the bottom of the chat when the button was pressed.

* remove env

---------

Co-authored-by: dasunNimantha <dasun4@pm.me>
2023-03-28 02:52:45 -06:00
Bryan Lee a73ef2b8cf
fix: resolve Enter event conflict during CJK IME (#253)
* fix: resolve Enter event conflict during CJK IME

* add

---------

Co-authored-by: Mckay Wrigley <mckaywrigley@gmail.com>
2023-03-28 02:46:16 -06:00