@xuda.io/ai_module 1.1.5263 → 1.1.5265
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
|
@@ -4213,6 +4213,7 @@ const ai_chat_conversation = async function (req, job_id, headers) {
|
|
|
4213
4213
|
if (ret && ret.code > -1) {
|
|
4214
4214
|
emitToDashboard('stream_start');
|
|
4215
4215
|
emitToDashboard('suggestions', JSON.stringify(ret.data));
|
|
4216
|
+
emitToDashboard('stream_end');
|
|
4216
4217
|
}
|
|
4217
4218
|
};
|
|
4218
4219
|
|
|
@@ -11136,7 +11137,7 @@ export const get_chat_suggestions = async function (req) {
|
|
|
11136
11137
|
// Workflow Continuity: Choose agents that represent a logical "next step" in a development or content creation pipeline (e.g., if code was generated, suggest an agent that deploys, converts, or styles it).
|
|
11137
11138
|
|
|
11138
11139
|
// Contextual Relevance: Balance the selection with the ## User Info and ## Prompt Category to ensure the agents match the user's industry and intent.
|
|
11139
|
-
|
|
11140
|
+
debugger;
|
|
11140
11141
|
const prompt = `
|
|
11141
11142
|
|
|
11142
11143
|
Role: You are an expert Routing Assistant specialized in connecting users with the most relevant specialized AI agents.
|