Commit graph

2155 commits

Author SHA1 Message Date
Danny Avila
37002edbba chore: remove thinking for now 2024-09-01 23:53:23 -04:00
Danny Avila
ee126a2350 style: temporarily remove scrolling, add better styling 2024-09-01 23:53:01 -04:00
Danny Avila
e026fc7009 fix: side panel resizing crashes 2024-09-01 23:52:33 -04:00
Danny Avila
8f33fd5cc1 refactor: resizable panel order props 2024-09-01 23:51:09 -04:00
Danny Avila
b16079915d chore: bump react-resizable-panel 2024-09-01 23:49:28 -04:00
Danny Avila
336c7ad21a refactor: abstract out components 2024-09-01 23:48:55 -04:00
Danny Avila
0dd0354a4e feat: memoize ArtifactPreview, add html support 2024-09-01 23:48:29 -04:00
Danny Avila
10f436521e style: remove ArtifactButton inline-block styling 2024-09-01 23:47:34 -04:00
Danny Avila
ac352c9878 refactor: update UI artifact toggle label to match localization key 2024-09-01 23:47:05 -04:00
Danny Avila
e3bcfc560d feat: artifacts system prompt in backend 2024-09-01 23:46:32 -04:00
Danny Avila
fa0032d91d feat: reset artifact state on conversation change 2024-09-01 23:46:09 -04:00
Danny Avila
8c1db607e5 refactor: nullify artifact state and reset on empty conversation 2024-09-01 23:45:38 -04:00
Danny Avila
bedc91adcd refactor: remove artifactIdsState 2024-09-01 23:45:04 -04:00
Danny Avila
2ac9fd3aed refactor: apply growth to artifact frame so artifact preview can take full space 2024-09-01 23:44:36 -04:00
Danny Avila
dc5b597a64 refactor: Rename CodePreview component to ArtifactButton 2024-09-01 23:44:02 -04:00
Danny Avila
48ddf4039e feat: global state for current artifact Id and set on artifact preview click 2024-09-01 23:43:24 -04:00
Danny Avila
f2a516db02 refactor: optimize Markdown rendering and add support for code artifacts 2024-09-01 23:42:52 -04:00
Danny Avila
f1fb8e991c wip: remove thinking text and artifact formatting if empty 2024-09-01 23:42:14 -04:00
Danny Avila
15068fdfab refactor: optimize ordering of artifacts and activate latest artifact in Artifacts component 2024-09-01 23:41:42 -04:00
Danny Avila
4c810fa5db feat: update to latest, use update time for ordering 2024-09-01 23:40:56 -04:00
Danny Avila
8ce70a41b7 refactor: add order prop to Artifact 2024-09-01 23:40:27 -04:00
Danny Avila
068ec2fceb refactor: optimize ordering of artifacts and add latest artifact activation in Artifacts component 2024-09-01 23:40:01 -04:00
Danny Avila
e2e42db24a refactor: optimize ordering of artifacts in Artifacts component 2024-09-01 23:39:10 -04:00
Danny Avila
5be1ffe490 feat: first pass streaming updates 2024-09-01 23:38:38 -04:00
Danny Avila
85711d8ada feat: Add Copy Code button to Artifacts component 2024-09-01 23:38:00 -04:00
Danny Avila
5bf61c3cdf feat: artifacts + shadcnui PROBLEMATIC COMMIT 2024-09-01 23:37:33 -04:00
Danny Avila
9abf941085 refactor: typing and make latest artifact active if the number of artifacts changed 2024-09-01 22:35:09 -04:00
Danny Avila
8e1807d02b fix: only set artifact if there is content 2024-09-01 22:34:29 -04:00
Danny Avila
66d5a1a368 feat: Add useEffect hook to Artifacts component for visibility control, slide in animation 2024-09-01 22:33:44 -04:00
Danny Avila
c8d9af42e5 fix: package markdown fixes 2024-09-01 22:03:34 -04:00
Danny Avila
b3e3788261 style: code styling 2024-09-01 22:03:02 -04:00
Danny Avila
0a54489842 feat: second pass 2024-09-01 22:02:31 -04:00
Danny Avila
6ee70acdc5 style: Add Radix Tabs, more styling changes 2024-09-01 22:01:54 -04:00
Danny Avila
cd749a2bcb first pass styling 2024-09-01 22:01:25 -04:00
Danny Avila
d86d4f5c17 refactor: add throttling 2024-09-01 22:00:56 -04:00
Danny Avila
fc6eb9f77f refactor: first pass rewrite 2024-09-01 22:00:23 -04:00
Danny Avila
85df66265d chore: revert markdown to original component + new artifacts rendering 2024-09-01 21:59:33 -04:00
Danny Avila
801b0de49b WIP first pass remark-directive 2024-09-01 21:52:49 -04:00
Danny Avila
24d74044e4 WIP: artifacts first pass 2024-09-01 21:52:06 -04:00
Danny Avila
0340b4acb9 chore: Update npm dependency to @codesandbox/sandpack-react@2.18.2 2024-09-01 21:50:23 -04:00
Danny Avila
8c162842d6 feat: Add CodeArtifacts component to Beta settings tab 2024-09-01 21:49:48 -04:00
Danny Avila
80e1bdc282
v0.7.5-rc1 (#3807) 2024-08-27 15:01:41 -04:00
Danny Avila
a267f6e0da
🔍 fix: USE_REDIS condition, Markdown list counter, code highlights (#3806)
* fix: markdown rehype highlight accidental removal

* fix: USE_REDIS condition check

* fix: markdown list counter
2024-08-27 14:49:43 -04:00
Danny Avila
f742b9972e
🏷️ chore: Add Unofficial Naming Variation for Claude-3.5-Sonnet (#3800) 2024-08-27 09:07:04 -04:00
Danny Avila
bbaa0ee1cf
🚚 chore: Remove client-dist volume from deploy-compose.yml (#3799) 2024-08-27 07:18:47 -04:00
Marco Beretta
62881fee54
🔧 fix: handle missing custom config speech (#3790)
* feat: Update speech settings retrieval logic to handle missing custom configuration

This commit updates the logic in the Speech component and the getCustomConfigSpeech function to handle the case where the custom configuration is missing. Previously, if no custom configuration was found, an error would occur. Now, the code checks for the presence of the custom configuration and returns a message indicating that no custom configuration was found. This improves the robustness of the application and provides a better user experience.

* refactor: changed response message when no custom config is found
2024-08-27 06:09:04 -04:00
Danny Avila
34fd960d54
🧹 chore: remove legacy markdown code (#3789) 2024-08-26 17:53:19 -04:00
Danny Avila
5694ad4e55
🧠 feat: Prompt caching switch, prompt query params; refactor: static cache, prompt/markdown styling, trim copied code, switch new chat to convo URL (#3784)
* refactor: Update staticCache to use oneDayInSeconds for sMaxAge and maxAge

* refactor: role updates

* style: first pass cursor

* style: Update nested list styles in style.css

* feat: setIsSubmitting to true in message handler to prevent edge case where submitting turns false during message stream

* feat: Add logic to redirect to conversation page after creating a new conversation

* refactor: Trim code string before copying in CodeBlock component

* feat: configSchema bookmarks and presets defaults

* feat: Update loadDefaultInterface to handle undefined config

* refactor: use  for compression check

* feat: first pass, query params

* fix: styling issues for prompt cards

* feat: anthropic prompt caching UI switch

* chore: Update static file cache control defaults/comments in .env.example

* ci: fix tests

* ci: fix tests

* chore:  use "submitting" class server error connection suspense fallback
2024-08-26 15:34:46 -04:00
Fuegovic
bd701c197e
🌀 feat: Known Endpoints - Unify (#3778)
Signed-off-by: Fuegovic <fueg@live.ca>
2024-08-25 19:10:25 -04:00
Danny Avila
9bfe40bfcd
⏺️ style: Better Markdown Lists (#3777)
* style: markdown lists

* style: markdown lists, second pass

* style: update nested list styles in style.css
2024-08-25 16:33:25 -04:00