@xuda.io/ai_module 1.1.5429 → 1.1.5431
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
|
@@ -4061,7 +4061,7 @@ const ai_chat_conversation = async function (req, job_id, headers) {
|
|
|
4061
4061
|
const { uid, gtp_token, profile_id, conversation_item_id } = req;
|
|
4062
4062
|
const account_profile_info = await get_active_account_profile_info(uid, profile_id);
|
|
4063
4063
|
let { prompt, conversation_doc, attachments = [], ai_agents, output_format = 'md', stream = true, with_context = true, ai_model = _conf.default_ai_model } = req;
|
|
4064
|
-
|
|
4064
|
+
|
|
4065
4065
|
let local_ai_agents = _.cloneDeep(ai_agents);
|
|
4066
4066
|
|
|
4067
4067
|
const reference_type = conversation_doc.reference_type;
|
|
@@ -4211,7 +4211,7 @@ const ai_chat_conversation = async function (req, job_id, headers) {
|
|
|
4211
4211
|
};
|
|
4212
4212
|
|
|
4213
4213
|
const render_output_suggestions = async function (response_conversation_item_id) {
|
|
4214
|
-
console.log('
|
|
4214
|
+
console.log('render_output_suggestions', prompt_suggestions);
|
|
4215
4215
|
let in_conversation_item_doc = await db_module.get_app_couch_doc_native(account_profile_info.app_id, response_conversation_item_id);
|
|
4216
4216
|
const response_text = (in_conversation_item_doc?.text || in_conversation_item_doc?.prompt || '').toLowerCase().trim();
|
|
4217
4217
|
|