@xuda.io/ai_module 1.1.3999 → 1.1.4001
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
|
@@ -4653,6 +4653,7 @@ const ai_chat_conversation = async function (req, job_id, headers) {
|
|
|
4653
4653
|
}
|
|
4654
4654
|
|
|
4655
4655
|
case 'cpi': {
|
|
4656
|
+
continue;
|
|
4656
4657
|
try {
|
|
4657
4658
|
debugger;
|
|
4658
4659
|
const api_allow_methods = Object.keys(_conf.cpi_methods);
|
|
@@ -6361,7 +6362,7 @@ const record_chat_usage = async function (uid, input_tokens, output_tokens, sour
|
|
|
6361
6362
|
}
|
|
6362
6363
|
};
|
|
6363
6364
|
|
|
6364
|
-
export const create_mini_app = async function (req) {
|
|
6365
|
+
export const create_mini_app = async function (req, job_id, headers) {
|
|
6365
6366
|
const { uid, prompt } = req;
|
|
6366
6367
|
try {
|
|
6367
6368
|
const { account_project_id: app_id, account_info } = await account_module.get_default_project_account_doc(uid);
|