From 7e103f939711804fe807f47a999e1116d31d5f1a Mon Sep 17 00:00:00 2001 From: Wx-2025 <351320169@qq.com> Date: Wed, 16 Jul 2025 13:21:57 +0800 Subject: [PATCH] Update api.js --- core/api.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/api.js b/core/api.js index cff9254..6c96314 100644 --- a/core/api.js +++ b/core/api.js @@ -1 +1 @@ -const _0x2c0904=_0x560c;(function(_0x2b6cb3,_0x5befb5){const _0x420457=_0x560c,_0x2f05ab=_0x2b6cb3();while(!![]){try{const _0x30f94f=-parseInt(_0x420457(0x118))/0x1*(-parseInt(_0x420457(0x16b))/0x2)+parseInt(_0x420457(0x158))/0x3*(-parseInt(_0x420457(0x189))/0x4)+-parseInt(_0x420457(0x1a0))/0x5*(-parseInt(_0x420457(0x1a8))/0x6)+parseInt(_0x420457(0x161))/0x7*(-parseInt(_0x420457(0x183))/0x8)+-parseInt(_0x420457(0x13e))/0x9*(-parseInt(_0x420457(0x10f))/0xa)+parseInt(_0x420457(0x1af))/0xb*(parseInt(_0x420457(0x191))/0xc)+-parseInt(_0x420457(0x149))/0xd;if(_0x30f94f===_0x5befb5)break;else _0x2f05ab['push'](_0x2f05ab['shift']());}catch(_0x4b9758){_0x2f05ab['push'](_0x2f05ab['shift']());}}}(_0x4c76,0x61dd0));import{extension_settings,getContext}from'/scripts/extensions.js';function _0x560c(_0x537422,_0x5dc7a5){const _0x4c7629=_0x4c76();return _0x560c=function(_0x560c08,_0x49edf6){_0x560c08=_0x560c08-0x10a;let _0x518bf2=_0x4c7629[_0x560c08];return _0x518bf2;},_0x560c(_0x537422,_0x5dc7a5);}import{characters}from'/script.js';import{world_names}from'/scripts/world-info.js';import{extensionName}from'../utils/settings.js';import{extractContentByTag,replaceContentByTag,extractFullTagBlock}from'../utils/tagProcessor.js';import{getCombinedWorldbookContent,findLatestSummaryLore,DEDICATED_LOREBOOK_NAME,getChatIdentifier}from'./lore.js';import{isGoogleEndpoint,convertToGoogleRequest,parseGoogleResponse,buildGoogleApiUrl}from'../core/utils/googleAdapter.js';import{intelligentPoll,createGooglePollingTask,progressTracker}from'../core/utils/pollingManager.js';let ChatCompletionService=undefined;function _0x4c76(){const _0x549cef=['Amily2-ChatPlugin','AMILY2_LOCK_MODEL_FETCHING','loreActivationMode','log','8qTpOTi','上次任务尚未完成,请稍后再试。','content','cors','\x20个模型\x20(使用第\x20','成功获取\x20','4TJEPeo','API\x20Key无效','[Amily2号-外交部]\x20已派遣使者前往云端获取最新情报...','[Amily2-外交部]\x20已将史册律法附加至国书,准备发往下一站。','