@xuda.io/ai_module 1.1.3976 → 1.1.3978
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 +2 -1
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -4968,7 +4968,7 @@ const ai_chat_conversation = async function (req, job_id, headers) {
|
|
|
4968
4968
|
);
|
|
4969
4969
|
|
|
4970
4970
|
tools.push(tool);
|
|
4971
|
-
|
|
4971
|
+
|
|
4972
4972
|
break;
|
|
4973
4973
|
}
|
|
4974
4974
|
default:
|
|
@@ -4976,6 +4976,7 @@ const ai_chat_conversation = async function (req, job_id, headers) {
|
|
|
4976
4976
|
}
|
|
4977
4977
|
}
|
|
4978
4978
|
// if (!tools.length) continue;
|
|
4979
|
+
console.log('tool', tools);
|
|
4979
4980
|
const agent = new Agent({
|
|
4980
4981
|
name: ai_agent_doc._id,
|
|
4981
4982
|
instructions: ai_agent_doc.agentConfig.agent_instructions + get_agent_instructions(),
|