Files
moeka-project/packages/stage-ui
Kévin Taccoen c29392c6f6 fix(stage-ui): proxy object could not be cloned (#193)
* Fix for proxy could not be cloned error

After several debugging, it was found that streamText initialisation called the structuredClone() function on messages. The problem is that messages is an object containing vue3 proxies, that can not be cloned. My proposed fix is to remove those proxies before passing messages to streamText

* Revert "Fix for proxy could not be cloned error"

This reverts commit 1575d305d5e5df3294991dbf7c8c25abfbfc783e.

* Fix for proxy clone error

rest.tool_results is also a proxy that was not removed properly
2025-06-04 14:10:42 +08:00
..
2025-05-30 13:32:19 +08:00
2025-04-26 16:03:38 +08:00
2025-05-27 16:52:28 +08:00
2025-04-26 16:03:38 +08:00

Stage UI

Shared core for stage

Histoire (UI storyboard)

https://histoire.dev/

pnpm -F @proj-airi/stage-ui run story:dev

Project structure

  1. If a story is bound to a specific component, it can be placed beside the component in the src folder. e.g., MyComponent.story.vue
  2. If a story is not bound to a specific component, then it should be placed in the stories folder. e.g., MyStory.story.vue