@gea-ai/chat-ui 0.1.261010-alpha.0 → 0.1.261014-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/message.js +2 -0
  2. package/package.json +2 -2
package/dist/message.js CHANGED
@@ -181,6 +181,8 @@ function GeaMessagePartView(input) {
181
181
  return input.part.text.trim() ? (_jsx(TextPart, { active: input.active, message: input.message, part: input.part, streaming: input.status === "streaming" || input.status === "submitted" })) : null;
182
182
  }
183
183
  if (input.part.type === "reasoning") {
184
+ if (!input.part.text.trim())
185
+ return null;
184
186
  return _jsx(ReasoningPart, { ...commonProps });
185
187
  }
186
188
  if (input.part.type === "file" || input.part.type === "reasoning-file") {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gea-ai/chat-ui",
3
- "version": "0.1.261010-alpha.0",
3
+ "version": "0.1.261014-alpha.0",
4
4
  "private": false,
5
5
  "homepage": "https://musegea.com/developers/extensions",
6
6
  "license": "Apache-2.0",
@@ -47,7 +47,7 @@
47
47
  },
48
48
  "dependencies": {
49
49
  "@comark/react": "^0.6.2",
50
- "@gea-ai/contract": "0.1.261010-alpha.0",
50
+ "@gea-ai/contract": "0.1.261014-alpha.0",
51
51
  "@json-render/core": "0.18.0",
52
52
  "@json-render/react": "0.18.0",
53
53
  "@json-render/yaml": "0.18.0",