@xuda.io/ai_module 1.1.5151 → 1.1.5152
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 +1 -1
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -4053,7 +4053,7 @@ const ai_chat_conversation = async function (req, job_id, headers) {
|
|
|
4053
4053
|
const reference_type = conversation_doc.reference_type;
|
|
4054
4054
|
const reference_id = conversation_doc.reference_id;
|
|
4055
4055
|
|
|
4056
|
-
const activate_prompt_suggestions = (
|
|
4056
|
+
const activate_prompt_suggestions = _.isArray(ai_agents) && conversation_doc.reference_type !== 'ai_agents';
|
|
4057
4057
|
|
|
4058
4058
|
let model = ai_model;
|
|
4059
4059
|
if (!_conf.ai_models[model]) {
|