Commit Graph

725 Commits

Author SHA1 Message Date
Enrico Ros 00a341ab4b Bits 2023-06-29 00:06:05 -07:00
Enrico Ros fca848d82f Small update 2023-06-29 00:02:06 -07:00
Enrico Ros 43fbf90c51 Shrink the Dark Mode icon to a smaller button - saves menu space 2023-06-28 23:58:03 -07:00
Enrico Ros 2e1b6ae346 Roll tRPC and TS 2023-06-28 22:49:51 -07:00
Enrico Ros 490f8bdac3 Move file 2023-06-28 20:24:53 -07:00
Enrico Ros 675474127c Rework stream-chat into a backpressure-driven TransformStream - allows for real cancellations
This implementation has been largely inspired by the Vercel AI (stream) SDK,
available at https://github.com/vercel-labs/ai/, and in particular by the work
of @jridgewell on https://github.com/vercel-labs/ai/issues/90 and related
issues.

As soon as some pending changes land in edge-runtime and nextjs, we'll have
full stream cancellation and tokens saving #57
2023-06-28 20:18:19 -07:00
Enrico Ros 503e3f8aa6 Minor rename 2023-06-28 20:06:24 -07:00
Enrico Ros e56bfcb600 Edge runtimes 2023-06-28 19:51:58 -07:00
Enrico Ros 47553cb1e8 Update prettier configuration 2023-06-28 17:30:20 -07:00
Enrico Ros 2d4c0e9c64 CallChatWithFunctions - functions support, incl. OpenAI Implementation
May be rough on the edges, but should not create issues.
The implementation is defensive, excessively validates the
return types as the OpenAI API is brittle and can easily misbehave
2023-06-28 03:00:25 -07:00
Enrico Ros 87d9309a8e Mention Google 2023-06-28 01:03:27 -07:00
Enrico Ros f35545a1b1 Bits 2023-06-28 00:40:23 -07:00
Enrico Ros 9e7a7b0d9b Cleaner 2023-06-28 00:38:51 -07:00
Enrico Ros 2931be7493 Chat+ button 2023-06-28 00:37:27 -07:00
Enrico Ros dcaf30161a CallChat -> CallChatGenerate 2023-06-28 00:36:57 -07:00
Enrico Ros cb21970040 Added 'FuncLLM' to store and configurator 2023-06-27 23:56:50 -07:00
Enrico Ros 4bc97c18dd Renamed 'SendMode' to 'ChatMode' to better reflect its functionality 2023-06-27 23:40:28 -07:00
Enrico Ros e86269cf53 Update Menu 2023-06-27 16:37:10 -07:00
Enrico Ros ef94c709e3 Some Meta Improvements 2023-06-27 00:35:45 -07:00
Enrico Ros e092790ea0 Disable the 'New chat' button when full (force manual deletion, rather than overwriting) 2023-06-26 23:38:00 -07:00
Enrico Ros 5364bbe6a6 Roll packages 2023-06-26 23:00:20 -07:00
Enrico Ros 7bce4dd234 Update Home, how that we have one 2023-06-27 04:06:01 -07:00
Enrico Ros 02b4f444db Roll Mui 2023-06-24 17:33:51 -07:00
Enrico Ros 2ebd629e4f Fix interims on Mobile 2023-06-23 13:16:25 -07:00
Enrico Ros 2f61a4bb61 Significantly improve the microphone: multi-sentence, 3s soft timeout, show partials
See #131
2023-06-23 07:57:36 -07:00
Enrico Ros b87acc5954 Update Mobile gaps 2023-06-23 07:31:32 -07:00
Enrico Ros 1a4628455a Cleanup the App State Counter 2023-06-23 00:45:00 -07:00
Enrico Ros e928186669 Closeable Menus, again 2023-06-23 00:11:40 -07:00
Enrico Ros 146391f142 Lints 2023-06-22 23:14:59 -07:00
Enrico Ros 5d265364e3 Roll packages 2023-06-22 21:53:26 -07:00
Enrico Ros e3ea589b13 Close Sent Messages menu when pasting a message 2023-06-22 18:06:42 -07:00
Enrico Ros 26cf66be20 Improve Sent messages menu 2023-06-22 17:57:20 -07:00
Enrico Ros 84b0e03551 Share target: receive text/urls when sharing from other Apps on Mobile (webapp needs to be installed) 2023-06-22 17:30:51 -07:00
Enrico Ros 66882b527a Composer: allow queuing up startup text 2023-06-21 22:10:42 -07:00
Enrico Ros 30519e4405 Improve pasting behavior 2023-06-21 21:46:49 -07:00
Enrico Ros 6942b7a226 Don't chop the top Selects (centerItems) on Mobile 2023-06-21 19:38:33 -07:00
Enrico Ros 9c19a3da25 PWA fullscreen by default 2023-06-19 17:58:09 -07:00
Enrico Ros 7136dd2a8a Roll Packages 2023-06-19 11:23:53 -07:00
Enrico Ros eaca40c238 Suspense Fix for React 18 2023-06-19 11:10:09 -07:00
Enrico Ros 88011d4705 Dynamically Import 'react-markdown' and 'remark-gfm' 2023-06-19 11:02:58 -07:00
Enrico Ros 049976aa81 Dynamically Import PlantUML 2023-06-19 10:46:41 -07:00
Enrico Ros 52bcf0eff8 Optional NextJS Bundle Analyzer 2023-06-19 10:40:38 -07:00
Enrico Ros 100c949d40 Default Fast LLM to gpt-3.5-turbo-0613 (faster as of now) 2023-06-19 10:30:46 -07:00
Enrico Ros aeef988e7c Selection of Fast/Chat Models 2023-06-19 10:27:38 -07:00
Enrico Ros 9fcfffb1c6 Further improve Error reporting 2023-06-19 09:21:43 -07:00
Enrico Ros a1e0c015bb Add App State, for Tutorial/Walkthroughs 2023-06-19 08:54:47 -07:00
Enrico Ros e0b0f8f764 Improve error reporting 2023-06-19 08:48:09 -07:00
Enrico Ros 4916ffd2d0 Support OpenAI upstream errors in the streaming API 2023-06-19 08:44:22 -07:00
Enrico Ros a47422f975 Improve OpenAI Error Handling 2023-06-19 08:05:36 -07:00
Enrico Ros a97cfb87cc Buildfix 2023-06-18 10:47:35 -07:00