@xuda.io/ai_module 1.1.4032 → 1.1.4034
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
|
@@ -3244,7 +3244,7 @@ export const update_ai_agent_properties = async function (doc, app_id, uid, fiel
|
|
|
3244
3244
|
db_doc.agentConfig.agent_industry = await get_agent_industry();
|
|
3245
3245
|
db_doc.studio_meta.agent_industry = db_doc.agentConfig.agent_industry;
|
|
3246
3246
|
}
|
|
3247
|
-
|
|
3247
|
+
|
|
3248
3248
|
if (db_doc.agentConfig.agent_user_guide && (fields_changed.agent_user_guide_changed || fields_changed.all)) {
|
|
3249
3249
|
db_doc.agentConfig.agent_user_guide_fields = await get_agent_user_guide_fields();
|
|
3250
3250
|
db_doc.studio_meta.agent_user_guide_fields = db_doc.agentConfig.agent_user_guide_fields;
|
|
@@ -6256,7 +6256,7 @@ export const create_mini_app = async function (req, job_id, headers) {
|
|
|
6256
6256
|
}
|
|
6257
6257
|
};
|
|
6258
6258
|
|
|
6259
|
-
export const pin_ai_agent = async function (req) {
|
|
6259
|
+
export const pin_ai_agent = async function (req, job_id, headers) {
|
|
6260
6260
|
const { uid, agent_id } = req;
|
|
6261
6261
|
try {
|
|
6262
6262
|
const app_id = await account_module.get_account_default_project_id(uid);
|