@xuda.io/ai_module 1.1.5394 → 1.1.5395
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/index.mjs +3 -5
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -4331,14 +4331,12 @@ const ai_chat_conversation = async function (req, job_id, headers) {
|
|
|
4331
4331
|
}
|
|
4332
4332
|
}
|
|
4333
4333
|
|
|
4334
|
-
const list = [];
|
|
4335
|
-
|
|
4336
|
-
let modelSettings = {};
|
|
4337
|
-
|
|
4338
4334
|
if (reference_type === 'ai_agents') {
|
|
4339
4335
|
local_ai_agents.push(reference_id);
|
|
4340
4336
|
}
|
|
4337
|
+
const list = [];
|
|
4341
4338
|
|
|
4339
|
+
let modelSettings = {};
|
|
4342
4340
|
let eligible_agent = true;
|
|
4343
4341
|
|
|
4344
4342
|
for (const agent_id of local_ai_agents) {
|
|
@@ -4783,7 +4781,7 @@ const ai_chat_conversation = async function (req, job_id, headers) {
|
|
|
4783
4781
|
resolve(ret);
|
|
4784
4782
|
});
|
|
4785
4783
|
};
|
|
4786
|
-
|
|
4784
|
+
|
|
4787
4785
|
// try {
|
|
4788
4786
|
const runner = new Runner();
|
|
4789
4787
|
let _agent = [];
|