@xuda.io/ai_module 1.1.5228 → 1.1.5229

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 +5 -0
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -4890,6 +4890,10 @@ const ai_chat_conversation = async function (req, job_id, headers) {
4890
4890
  // update_thumbnail('conversation', conversation_doc, app_id, uid, job_id, headers);
4891
4891
  // }
4892
4892
 
4893
+ if (activate_prompt_suggestions) {
4894
+ await render_output_suggestions(out_conversation_item_doc.conversation_item_reference_id);
4895
+ }
4896
+
4893
4897
  return save_ret;
4894
4898
  } catch (error) {
4895
4899
  debugger;
@@ -4936,6 +4940,7 @@ const ai_chat_conversation = async function (req, job_id, headers) {
4936
4940
  await update_job('finalizing');
4937
4941
 
4938
4942
  const save_ret = await done(output);
4943
+
4939
4944
  return {
4940
4945
  code: 4,
4941
4946
  data: save_ret,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.5228",
3
+ "version": "1.1.5229",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",