@xuda.io/ai_module 1.1.5447 → 1.1.5449
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 -2
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -4390,7 +4390,7 @@ const ai_chat_conversation = async function (req, job_id, headers) {
|
|
|
4390
4390
|
} catch (err) {
|
|
4391
4391
|
throw new Error(err.message);
|
|
4392
4392
|
}
|
|
4393
|
-
|
|
4393
|
+
debugger;
|
|
4394
4394
|
if (prompt_suggestion_activated || chat_suggestion_activated || reference_type === 'ai_agents') {
|
|
4395
4395
|
if (ai_agent_doc?.agentConfig?.agent_ai_model) {
|
|
4396
4396
|
model = ai_agent_doc.agentConfig.agent_ai_model;
|
|
@@ -4876,7 +4876,7 @@ const ai_chat_conversation = async function (req, job_id, headers) {
|
|
|
4876
4876
|
}
|
|
4877
4877
|
///////////
|
|
4878
4878
|
|
|
4879
|
-
if (reference_type === 'ai_agents' || prompt_suggestion_activated) {
|
|
4879
|
+
if (reference_type === 'ai_agents' || prompt_suggestion_activated || chat_suggestion_activated) {
|
|
4880
4880
|
_agent = agents[0];
|
|
4881
4881
|
|
|
4882
4882
|
set_ts_to_agent();
|