@xuda.io/ai_module 1.1.5264 → 1.1.5266

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 +3 -3
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -11049,8 +11049,8 @@ export const get_chat_suggestions = async function (req) {
11049
11049
  const conversation_item_doc = await db_module.get_app_couch_doc_native(account_profile_info.app_id, conversation_item_id);
11050
11050
  const conversation_doc = await db_module.get_app_couch_doc_native(account_profile_info.app_id, conversation_item_doc.conversation_id);
11051
11051
 
11052
- if (conversation_item_doc.prompt_selected_suggestion) {
11053
- exclude_agents = conversation_item_doc.prompt_selected_suggestion.map((agent) => agent.agent_id);
11052
+ if (conversation_item_doc.prompt_suggestions) {
11053
+ exclude_agents = conversation_item_doc.prompt_suggestions.map((agent) => agent.agent_id);
11054
11054
  }
11055
11055
 
11056
11056
  const get_agents = async function () {
@@ -11137,7 +11137,7 @@ export const get_chat_suggestions = async function (req) {
11137
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).
11138
11138
 
11139
11139
  // Contextual Relevance: Balance the selection with the ## User Info and ## Prompt Category to ensure the agents match the user's industry and intent.
11140
-
11140
+ debugger;
11141
11141
  const prompt = `
11142
11142
 
11143
11143
  Role: You are an expert Routing Assistant specialized in connecting users with the most relevant specialized AI agents.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.5264",
3
+ "version": "1.1.5266",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",