@xuda.io/ai_module 1.1.5178 → 1.1.5180

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 +4 -2
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -10977,7 +10977,7 @@ export const get_chat_suggestions = async function (req) {
10977
10977
  const AgentResponseSchema = z.object({
10978
10978
  agents: z.array(AgentItemSchema).length(no_of_suggestions),
10979
10979
  });
10980
-
10980
+ //${conversation_item_doc.text}
10981
10981
  const chat_ret = await submit_chat_gpt_prompt({
10982
10982
  uid,
10983
10983
  prompt: `
@@ -11004,7 +11004,7 @@ export const get_chat_suggestions = async function (req) {
11004
11004
 
11005
11005
  Input: ${conversation_item_doc.prompt || conversation_doc.prompt}
11006
11006
 
11007
- Output to Process: ${conversation_item_doc.text}
11007
+ Output to Process: Use the previous response output as the content to analyze for next agents.
11008
11008
 
11009
11009
  Agent Source: ${JSON.stringify(agents_docs)}
11010
11010
 
@@ -11019,6 +11019,8 @@ export const get_chat_suggestions = async function (req) {
11019
11019
  response_format: AgentResponseSchema,
11020
11020
  metadata: { conversation_item_id, func: 'get_chat_suggestions' },
11021
11021
  account_profile_info,
11022
+
11023
+ response_id: conversation_item_doc.conversation_item_reference_id,
11022
11024
  });
11023
11025
  try {
11024
11026
  const ret = JSON5.parse(chat_ret.data);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.5178",
3
+ "version": "1.1.5180",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",