Commit 36744fc
Dev bizybot (#110)
* Enhance assistant sidebar with tool call and image features
Adds support for tool invocation status, tool argument/result display, and multi-image handling in the assistant sidebar. Refactors image upload to use OSS URLs, improves node info card UI, and streamlines message rendering logic for tool calls and image analysis. Updates styles for better layout and markdown rendering.
* Refactor Sidebar styles and image actions
Moved Sidebar styles from inline <style> in Sidebar.vue to a dedicated Sidebar.css file and imported it. Added top-right image action buttons for 'add to input' and 'download' in the image grid. Updated chat message formatting to use formatOutputText instead of formatOutputTextLight for consistency. Commented out node image apply logic and related UI, and improved OSS image URL handling in selectExistingImage.
* auto prettier format code
* eslint
Improves code consistency in formatOutputText and formatOutputTextLight by adjusting whitespace and variable declarations. Updates convertToApiHistory to use 'const' for postContent instead of 'let'.
* Update version.txt
* Refactor Sidebar icons to use SVG imports
Replaced inline SVG elements in Sidebar.vue with imported SVG files and rendered them using v-html. Added new SVG icon files to src/assets/icons and updated vite-env.d.ts to support importing SVGs as raw strings. Also adjusted Sidebar.css for icon sizing and refactored chat message type definitions for clarity.
* Update version.txt
* Refactor assistant sidebar for event-based tool rendering
Sidebar.vue and related logic now support event-based rendering of assistant messages, allowing multiple tool calls and interleaved text/tool results. Updated CSS for improved layout, removed deprecated code, and enhanced history conversion in util.ts for compatibility with new event flow. Minor cleanup in vite-env.d.ts.
* auto prettier format code
* fix
* auto prettier format code
* fix: delete unnesesary console
* auto prettier format code
---------
Co-authored-by: Yao Chi <later@usopp.net>1 parent f8847cc commit 36744fc
18 files changed
Lines changed: 2025 additions & 1391 deletions
File tree
- src
- assets/icons
- components
- assistant
- modules/vUpload
- locales
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
0 commit comments