@xuda.io/ai_module 1.1.3891 → 1.1.3893
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 -1
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -3197,6 +3197,7 @@ export const update_ai_agent_properties = async function (doc, app_id, uid) {
|
|
|
3197
3197
|
`,
|
|
3198
3198
|
model: 'gpt-5-nano',
|
|
3199
3199
|
metadata: { agent_id: db_doc._id, func: 'get_agent_user_guide_fields' },
|
|
3200
|
+
response_format: z.object({}),
|
|
3200
3201
|
});
|
|
3201
3202
|
|
|
3202
3203
|
return ret.data;
|
|
@@ -3213,7 +3214,7 @@ export const update_ai_agent_properties = async function (doc, app_id, uid) {
|
|
|
3213
3214
|
db_doc.agentConfig.agent_industry = await get_agent_industry();
|
|
3214
3215
|
db_doc.studio_meta.agent_industry = db_doc.agentConfig.agent_industry;
|
|
3215
3216
|
}
|
|
3216
|
-
|
|
3217
|
+
debugger;
|
|
3217
3218
|
if (!db_doc.agentConfig.agent_user_guide_fields && db_doc.agentConfig.agent_user_guide) {
|
|
3218
3219
|
db_doc.agentConfig.agent_user_guide_fields = await get_agent_user_guide_fields();
|
|
3219
3220
|
db_doc.studio_meta.agent_user_guide_fields = db_doc.agentConfig.agent_user_guide_fields;
|