@xuda.io/ai_module 1.1.5203 → 1.1.5205
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
|
@@ -4061,7 +4061,7 @@ const ai_chat_conversation = async function (req, job_id, headers) {
|
|
|
4061
4061
|
|
|
4062
4062
|
const reference_type = conversation_doc.reference_type;
|
|
4063
4063
|
const reference_id = conversation_doc.reference_id;
|
|
4064
|
-
|
|
4064
|
+
debugger;
|
|
4065
4065
|
const activate_prompt_suggestions = _.isArray(ai_agents) && conversation_doc.reference_type !== 'ai_agents' && !conversation_item_id;
|
|
4066
4066
|
let prompt_suggestion_activated;
|
|
4067
4067
|
let model = ai_model;
|
|
@@ -4718,6 +4718,7 @@ const ai_chat_conversation = async function (req, job_id, headers) {
|
|
|
4718
4718
|
|
|
4719
4719
|
if (activate_prompt_suggestions) {
|
|
4720
4720
|
// 2. Now wait for it specifically
|
|
4721
|
+
debugger;
|
|
4721
4722
|
const prompt_suggestions_ret = await get_prompt_suggestions(); // suggestionsPromise;
|
|
4722
4723
|
|
|
4723
4724
|
if (prompt_suggestions_ret && prompt_suggestions_ret.code > -1) {
|