@zero-library/chat-copilot 1.0.10 → 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 +2 -2
package/dist/index.esm.js
CHANGED
|
@@ -1253,7 +1253,6 @@ function createChatStore() {
|
|
|
1253
1253
|
message: msgContent,
|
|
1254
1254
|
convMeta: config.params.convMeta,
|
|
1255
1255
|
files,
|
|
1256
|
-
params,
|
|
1257
1256
|
spec: {
|
|
1258
1257
|
...conversation.active.spec,
|
|
1259
1258
|
model: agent.model
|
|
@@ -1263,7 +1262,7 @@ function createChatStore() {
|
|
|
1263
1262
|
};
|
|
1264
1263
|
const extraParams = deepCopy(config.params?.params || {});
|
|
1265
1264
|
const userInputParams = variablesToObject(agent.agentInfo.userInput || []);
|
|
1266
|
-
Object.assign(extraParams, userInputParams, message3 ? {} : { ...references?.params, params
|
|
1265
|
+
Object.assign(extraParams, userInputParams, message3 ? {} : { ...references?.params }, params);
|
|
1267
1266
|
sendParams.params = extraParams;
|
|
1268
1267
|
if (!message3) {
|
|
1269
1268
|
setContent("");
|