@axiom-lattice/react-sdk 2.0.0 → 2.0.1
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.
- package/dist/index.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1620,7 +1620,8 @@ var Chating = ({
|
|
|
1620
1620
|
senderPromptsItems,
|
|
1621
1621
|
extra,
|
|
1622
1622
|
attachment_placeholder,
|
|
1623
|
-
extraMeta = []
|
|
1623
|
+
extraMeta = [],
|
|
1624
|
+
uploadAction = "/api/file_storage/upload?path=temp"
|
|
1624
1625
|
}) => {
|
|
1625
1626
|
const { t } = useTranslation();
|
|
1626
1627
|
const [content, setContent] = useState8("");
|
|
@@ -1818,7 +1819,7 @@ ${JSON.stringify(tool_call)}
|
|
|
1818
1819
|
{
|
|
1819
1820
|
ref: attachmentsRef,
|
|
1820
1821
|
items: attachedFiles,
|
|
1821
|
-
action:
|
|
1822
|
+
action: uploadAction,
|
|
1822
1823
|
headers: {
|
|
1823
1824
|
"x-tenant-id": tenant_id
|
|
1824
1825
|
},
|