@xuda.io/ai_module 1.1.5300 → 1.1.5302
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
|
@@ -4278,7 +4278,7 @@ const ai_chat_conversation = async function (req, job_id, headers) {
|
|
|
4278
4278
|
- If it requires a specific specialist, route it to them.
|
|
4279
4279
|
Only fall back to web search as an absolute last resort — never use it unless strictly necessary.
|
|
4280
4280
|
|
|
4281
|
-
${
|
|
4281
|
+
${ai_agents ? 'Never offer suggestions at the end of response' : ''}
|
|
4282
4282
|
|
|
4283
4283
|
${new_visit ? 'Always start your reply with a friendly greeting using their actual name based on the context.' : ''}
|
|
4284
4284
|
${get_output_format()}
|
|
@@ -4700,6 +4700,7 @@ const ai_chat_conversation = async function (req, job_id, headers) {
|
|
|
4700
4700
|
tool_resources,
|
|
4701
4701
|
modelSettings,
|
|
4702
4702
|
});
|
|
4703
|
+
debugger;
|
|
4703
4704
|
if (eligible_agent) {
|
|
4704
4705
|
// allow read only agents if not ai_agent scope
|
|
4705
4706
|
if (!prompt_suggestion_activated) {
|