@vegintech/langchain-react-agent 0.0.18 → 0.0.19

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/index.mjs +1 -2
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -323,7 +323,7 @@ const renderMessageContent = (message, isLastMessage, isLoading, tools, toolExec
323
323
  }),
324
324
  hasToolCalls && /* @__PURE__ */ jsx("div", {
325
325
  className: "tool-calls-container",
326
- style: { marginTop: "8px" },
326
+ style: { marginTop: !isContentEmpty ? "8px" : "0px" },
327
327
  children: renderToolCalls(message.toolCalls, tools, toolExecutions)
328
328
  })
329
329
  ]
@@ -1307,7 +1307,6 @@ const styles = `
1307
1307
  display: flex;
1308
1308
  flex-direction: column;
1309
1309
  gap: 8px;
1310
- margin-top: 8px;
1311
1310
  }
1312
1311
 
1313
1312
  /* Tool Call Default Style */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vegintech/langchain-react-agent",
3
- "version": "0.0.18",
3
+ "version": "0.0.19",
4
4
  "description": "LangChain Agent UI component library for React",
5
5
  "license": "MIT",
6
6
  "files": [