@xuda.io/ai_module 1.1.4059 → 1.1.4061
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 -2
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -4113,7 +4113,7 @@ export const delete_prompt_attachment = async function (req, job_id, headers, fi
|
|
|
4113
4113
|
};
|
|
4114
4114
|
|
|
4115
4115
|
export const submit_chat_gpt_prompt = async function (req) {
|
|
4116
|
-
const { model = 'gpt-5-
|
|
4116
|
+
const { model = 'gpt-5-nano', prompt, response_format, uid, metadata = {} } = req; //'gpt-5-mini
|
|
4117
4117
|
|
|
4118
4118
|
let formattedParams;
|
|
4119
4119
|
if (response_format) {
|
|
@@ -4267,7 +4267,6 @@ export const submit_chat_conversation = async function (req, job_id, headers) {
|
|
|
4267
4267
|
req.conversation_doc = conversation_doc;
|
|
4268
4268
|
let ret;
|
|
4269
4269
|
if (conversation_doc.reference_type === 'contacts') {
|
|
4270
|
-
debugger;
|
|
4271
4270
|
account_module.ts_contact(conversation_doc.reference_id);
|
|
4272
4271
|
|
|
4273
4272
|
switch (conversation_doc.conversation_type) {
|