Commit Graph

12629 Commits

Author SHA1 Message Date
Atai Barkai 15a033271c bring standard CopilotTextarea back into react-textarea package 2023-08-23 07:16:10 -07:00
Atai Barkai b6aaa0c04f CopilotTextarea gif 2023-08-22 23:30:48 -07:00
Recursively.ai 40b8ae185e Merge pull request #12 from RecursivelyAI/atai/0822/cleanroot
clean root + publish packages
2023-08-22 23:25:52 -07:00
Atai Barkai c9ac15bdc8 publish versions with react-textarea 2023-08-22 23:25:29 -07:00
Atai Barkai bd4e1761ba vscode project is specifically at level of CopilotKit 2023-08-22 23:14:02 -07:00
Atai Barkai 5f3727dde8 move to CopilotKit subdirectory
.
2023-08-22 23:09:55 -07:00
Recursively.ai 09dbdefb3d Merge pull request #11 from RecursivelyAI/atai/0819/updateVercelAi
make textarea package independent from copilotkit/core
2023-08-22 22:53:34 -07:00
Atai Barkai 5a954dded1 rename example page to textarea 2023-08-22 22:51:10 -07:00
Atai Barkai 4010c99c7e split react-textarea into react-ui component 2023-08-22 22:50:57 -07:00
Recursively.ai a091c1d581 Merge pull request #10 from RecursivelyAI/atai/0819/updateVercelAi
update package dependencies, and ergonomics updates
2023-08-22 11:31:39 -07:00
Atai Barkai 2ebb9cd965 renamed CopilotTextarea params 2023-08-22 11:26:48 -07:00
Atai Barkai 6a6a4ee157 support forwarding props to backedn, and minor cosmetic changes 2023-08-21 09:17:14 -07:00
Atai Barkai c867d6c65f history working-ish 2023-08-20 04:55:39 -07:00
Atai Barkai f85e7b220b add history support 2023-08-20 04:27:38 -07:00
Atai Barkai f42c21606a use twMerge to merge classnames, not manually hacky method 2023-08-20 03:52:17 -07:00
Atai Barkai 3debf56a56 tailwind —> tailwindcss 2023-08-20 03:52:17 -07:00
Atai Barkai 4211ae9953 tailwind: dependency —> dev dependency 2023-08-20 03:52:17 -07:00
Atai Barkai 853a2d7bad vercel.ai —> ^2.2, openAI —> ^4.0, dropped ‘openai-edge’ package
fix route.ts for opneai v4
2023-08-20 03:52:17 -07:00
RecursivelyAI c6ad38bf57 Merge pull request #8 from RecursivelyAI/atai/0802/autosuggestTextbox
autosuggestions
2023-08-18 22:27:21 -07:00
Atai Barkai 3998b62bc7 allow for suggestions style customization 2023-08-18 21:03:37 -07:00
Atai Barkai 91242de87c give copilot textarea a custom CSS classname
.
2023-08-18 20:46:47 -07:00
Atai Barkai adcfd86b37 allow for external overrides of default styles, but default styles mirror textarea 2023-08-18 20:41:57 -07:00
Atai Barkai b98f58e7f9 apply overflow: auto by default to copilot text area, to handle overflow with scroll… 2023-08-18 19:16:26 -07:00
Atai Barkai 76c97a1011 throw errors to reduce chance of shenannigans 2023-08-18 18:53:19 -07:00
Atai Barkai 0b8dcf0951 cool demo 2023-08-18 18:40:05 -07:00
Atai Barkai 7f80cefaaf minor
.
2023-08-18 18:40:05 -07:00
Atai Barkai 70056c040c wip copilotTextarea demo 2023-08-18 18:40:05 -07:00
Atai Barkai 1e987d0029 do not forward autosuggestionsFunc to DOM 2023-08-18 18:40:05 -07:00
Atai Barkai 18db0ded83 fix bug: wrong order of makeSystemFunc properties 2023-08-18 18:40:05 -07:00
Atai Barkai 8e8c1ced5e export MinimalChatGPTMessage
.
2023-08-18 18:40:05 -07:00
Atai Barkai 517045e9e4 no idea what this is 2023-08-18 15:33:47 -07:00
Atai Barkai 62beb439c4 must specify text area purpose, no default purpose 2023-08-18 15:33:34 -07:00
Atai Barkai 2e11449b12 ? 2023-08-18 14:25:58 -07:00
Atai Barkai e130767b6e organize imports
.
2023-08-18 08:10:30 -07:00
Atai Barkai 7152da4986 move disableWhenEmpty to BaseAutosuggestionsConfig
.
2023-08-18 08:06:57 -07:00
Atai Barkai d532b4e294 split text area into base, and standard
.

.
2023-08-18 07:27:49 -07:00
Atai Barkai bc72cff18d prompt engineering 2023-08-18 07:03:33 -07:00
Atai Barkai 62c8375153 tree printing changes 2023-08-18 05:28:20 -07:00
Atai Barkai c42d2e1bc6 fix non-deterministic bug with slateJS(?) 2023-08-18 05:28:03 -07:00
Atai Barkai 0fb8357d8b add retry functionality to autosuggestion 2023-08-16 18:35:04 -07:00
Atai Barkai b7362b683f only pass to Editable the additional textarealike props 2023-08-16 18:08:03 -07:00
Atai Barkai d4d7e78350 pass on any TextareaHTMLAttributes<HTMLDivElement> props 2023-08-16 15:48:44 -07:00
Atai Barkai 3d4abe2c2d updating text based on external state 2023-08-16 15:34:09 -07:00
Atai Barkai ee9e850c19 call props.onChange when text changes 2023-08-16 14:24:20 -07:00
Atai Barkai 3820183b12 minor refactors 2023-08-16 11:40:25 -07:00
Atai Barkai 603d8bcc48 added: textAreaPurpose, disableWhenEmpty, placeholder support, placeholder style 2023-08-16 07:34:09 -07:00
Atai Barkai fbad810925 custom autosuggestions config 2023-08-15 20:49:52 -07:00
Atai Barkai c5de7de1de add documentation 2023-08-15 06:30:57 -07:00
Atai Barkai 8e954e41d3 useMakeAutosuggestionFunction takes context categories 2023-08-15 06:25:23 -07:00
Atai Barkai c0e3c3ec53 when we can simply pass ‘default value’ by passing undefined, no need to re-specify the defualt value 2023-08-15 06:25:09 -07:00