@zero-library/chat-copilot 1.0.11 → 1.0.12
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.cjs.js +1 -2
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +1 -2
- package/dist/index.esm.js.map +1 -1
- package/package.json +3 -3
package/dist/index.cjs.js
CHANGED
|
@@ -1264,7 +1264,6 @@ function createChatStore() {
|
|
|
1264
1264
|
message: msgContent,
|
|
1265
1265
|
convMeta: config.params.convMeta,
|
|
1266
1266
|
files,
|
|
1267
|
-
params,
|
|
1268
1267
|
spec: {
|
|
1269
1268
|
...conversation.active.spec,
|
|
1270
1269
|
model: agent.model
|
|
@@ -1274,7 +1273,7 @@ function createChatStore() {
|
|
|
1274
1273
|
};
|
|
1275
1274
|
const extraParams = common.deepCopy(config.params?.params || {});
|
|
1276
1275
|
const userInputParams = variablesToObject(agent.agentInfo.userInput || []);
|
|
1277
|
-
Object.assign(extraParams, userInputParams, message3 ? {} : { ...references?.params, params
|
|
1276
|
+
Object.assign(extraParams, userInputParams, message3 ? {} : { ...references?.params }, params);
|
|
1278
1277
|
sendParams.params = extraParams;
|
|
1279
1278
|
if (!message3) {
|
|
1280
1279
|
setContent("");
|