@xuda.io/ai_module 1.1.3980 → 1.1.3982
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
|
@@ -4626,7 +4626,7 @@ const ai_chat_conversation = async function (req, job_id, headers) {
|
|
|
4626
4626
|
|
|
4627
4627
|
let tools = [];
|
|
4628
4628
|
let tool_resources = {};
|
|
4629
|
-
|
|
4629
|
+
|
|
4630
4630
|
for (const [key, val] of Object.entries(ai_agent_doc?.agentConfig?.agent_tools || [])) {
|
|
4631
4631
|
const { name, description } = val;
|
|
4632
4632
|
switch (val.type) {
|
|
@@ -5176,6 +5176,7 @@ const ai_chat_conversation = async function (req, job_id, headers) {
|
|
|
5176
5176
|
|
|
5177
5177
|
set_ts_to_agent();
|
|
5178
5178
|
} else {
|
|
5179
|
+
debugger;
|
|
5179
5180
|
// 3. Build triage agent that can hand off
|
|
5180
5181
|
_agent = new Agent({
|
|
5181
5182
|
name: 'Triage Agent',
|