Commit Graph

12 Commits

Author SHA1 Message Date
Mckay Wrigley 063ce50319 force update 2023-04-19 15:00:11 -06:00
ryanhex53 2208e4dfc7
more chinese translation. (#609) 2023-04-19 08:32:29 -06:00
Ivan Fioravanti ea1d09244a
Feature request: Adding temperature as parameter (#513)
* Adding temperature as parameter

* NEXT_PUBLIC_ prefix added

* add spacing

---------

Co-authored-by: Ivan Fioravanti <>
Co-authored-by: Mckay Wrigley <mckaywrigley@gmail.com>
2023-04-13 05:09:03 -06:00
Mckay Wrigley 6500db9c1c
MAJOR REFACTOR (#494)
* move index to home folder, create state and context files and barrell folder

* Sanity Check Commit:  reducer added to home.tsx manual QA all working

* WIP: promptBar

* fix missing json parse on folders and prompts

* split context and add promptbar context

* add context to nested prompt componets and componetize Folder componet

* remove log

* Create buttons folder and componetize sidebar action button

* tidy up prompt handlers

* componetized sidebar

* added back chatbar componet to left side sidebar

* monster commit: Componetized the common code between chatbar and promptbar into new componet Sidebar and added context to both bars

* add useFetch service

* added prettier import sort to keep imports ordered and easier to indentify

* added react query and useFetch to work with RQ

* added apiService, errorService and reactQuery

* add callback and tidy up error service

* refactor chat and child componets to useContext

* fix extra calls and bad calls to mel endpoint

* minor import cleanup

---------

Co-authored-by: jc.durbin <jc.durbin@ardanis.com>
2023-04-10 21:10:18 -06:00
itbm fc60f65c74
Hide API Key and Plugin Key buttons if set server side (#423) 2023-04-04 16:53:10 -06:00
Mckay Wrigley e1f286efb8
push (#414) 2023-04-04 09:41:24 -06:00
Brad Ullman ae18abe931
remove unused code (#356) 2023-04-02 00:19:10 -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
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
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