@xuda.io/ai_module 1.1.5250 → 1.1.5252

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.
Files changed (2) hide show
  1. package/index.mjs +5 -4
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -11112,6 +11112,7 @@ export const get_chat_suggestions = async function (req) {
11112
11112
  });
11113
11113
  //${conversation_item_doc.text}
11114
11114
  // Prompt Category: ${conversation_doc?.category_info?.category}
11115
+ // Input: ${conversation_item_doc.prompt || conversation_doc.prompt}
11115
11116
  const chat_ret = await submit_chat_gpt_prompt({
11116
11117
  uid,
11117
11118
  prompt: `
@@ -11122,7 +11123,7 @@ export const get_chat_suggestions = async function (req) {
11122
11123
 
11123
11124
  Selection Strategy:
11124
11125
 
11125
- Format Compatibility: Analyze the ## Prompt Response. If it contains code, data structures, or specific document types (like HTML), prioritize agents whose agent_instructions or agent_name involve processing, transforming, or styling that specific format.
11126
+ Format Compatibility: Analyze the ## Prompt Response. If it contains code, data structures, or specific document types (like HTML), prioritize agents whose agent_instructions or agent_name or agent instructions involve processing, transforming, or styling that specific format.
11126
11127
 
11127
11128
  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).
11128
11129
 
@@ -11131,12 +11132,12 @@ export const get_chat_suggestions = async function (req) {
11131
11132
  Input Context:
11132
11133
 
11133
11134
  User Profile: ${JSON.stringify(account_doc.account_info)}
11134
-
11135
-
11135
+ Prompt Category: ${conversation_doc?.category_info?.category}
11136
+ Input: ${conversation_item_doc.prompt || conversation_doc.prompt}
11136
11137
 
11137
11138
  Current State:
11138
11139
 
11139
- Input: ${conversation_item_doc.prompt || conversation_doc.prompt}
11140
+
11140
11141
 
11141
11142
  Output to Process: ${context ? context : 'Use the previous response output as the content to analyze for next agents.'}
11142
11143
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.5250",
3
+ "version": "1.1.5252",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",