@picoflow/core 1.0.16 → 1.0.17

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.
@@ -1 +1 @@
1
- const a9_0x37b2f5=a9_0x5061;(function(_0x17a2ba,_0x267c2f){const _0x30017f=a9_0x5061,_0x378e65=_0x17a2ba();while(!![]){try{const _0x2ce658=-parseInt(_0x30017f(0x1b3))/0x1*(-parseInt(_0x30017f(0x175))/0x2)+parseInt(_0x30017f(0x153))/0x3*(-parseInt(_0x30017f(0x168))/0x4)+parseInt(_0x30017f(0x1c2))/0x5*(-parseInt(_0x30017f(0x1ca))/0x6)+-parseInt(_0x30017f(0x178))/0x7+-parseInt(_0x30017f(0x16e))/0x8*(parseInt(_0x30017f(0x152))/0x9)+-parseInt(_0x30017f(0x1e9))/0xa*(-parseInt(_0x30017f(0x193))/0xb)+parseInt(_0x30017f(0x1a6))/0xc;if(_0x2ce658===_0x267c2f)break;else _0x378e65['push'](_0x378e65['shift']());}catch(_0x16b5ed){_0x378e65['push'](_0x378e65['shift']());}}}(a9_0x4867,0x1976b));function a9_0x5061(_0x1185b6,_0x3bc7bb){const _0x4b4fd7=a9_0x4867();return a9_0x5061=function(_0x2b07fb,_0x36d5ad){_0x2b07fb=_0x2b07fb-0x13b;let _0x486716=_0x4b4fd7[_0x2b07fb];return _0x486716;},a9_0x5061(_0x1185b6,_0x3bc7bb);}const a9_0x36d5ad=(function(){const _0x1c188f=a9_0x5061,_0x4773f1={'kVgpj':_0x1c188f(0x206),'VhVVf':function(_0x3db82f,_0x38f727){return _0x3db82f===_0x38f727;},'sQUdw':_0x1c188f(0x1e7),'HsrCU':function(_0x197355,_0x4fcd49){return _0x197355!==_0x4fcd49;},'aSBld':_0x1c188f(0x16a)};let _0x1e3b9d=!![];return function(_0x153395,_0xd30020){const _0x526b39=_0x1c188f,_0x5cfa42={'WqQqq':_0x4773f1[_0x526b39(0x212)],'vdKds':_0x526b39(0x1f6),'hgIfr':function(_0x494134,_0x57d74c){return _0x4773f1['VhVVf'](_0x494134,_0x57d74c);},'nCglT':_0x4773f1['sQUdw']};if(_0x4773f1[_0x526b39(0x1df)](_0x4773f1[_0x526b39(0x1a9)],_0x4773f1[_0x526b39(0x1a9)])){let _0x541a2d=_0x3f13c9['response_metadata'][_0x526b39(0x1b4)];if(!_0x541a2d)_0x541a2d=_0x2687ec['response_metadata'][_0x5cfa42[_0x526b39(0x179)]];else!_0x541a2d&&(_0x541a2d=_0x413fe6[_0x526b39(0x141)][_0x5cfa42[_0x526b39(0x1d7)]]);return _0x541a2d;}else{const _0x36016b=_0x1e3b9d?function(){const _0x3018b3=_0x526b39;if(_0x5cfa42[_0x3018b3(0x17d)](_0x5cfa42['nCglT'],_0x5cfa42[_0x3018b3(0x1cd)])){if(_0xd30020){const _0x10b42e=_0xd30020[_0x3018b3(0x170)](_0x153395,arguments);return _0xd30020=null,_0x10b42e;}}else _0x2705ba=_0x3fdce6+'\x0a'+(_0x4d0a77?.[_0x3018b3(0x21a)]??_0x3d4a45);}:function(){};return _0x1e3b9d=![],_0x36016b;}};}()),a9_0x2b07fb=a9_0x36d5ad(this,function(){const _0x2adef1=a9_0x5061,_0x5aac35={'uRKqR':_0x2adef1(0x143)};return a9_0x2b07fb[_0x2adef1(0x155)]()['search'](_0x2adef1(0x143))[_0x2adef1(0x155)]()['constructor'](a9_0x2b07fb)[_0x2adef1(0x1fc)](_0x5aac35[_0x2adef1(0x1e8)]);});a9_0x2b07fb();'use strict';Object['defineProperty'](exports,a9_0x37b2f5(0x19a),{'value':!![]}),exports[a9_0x37b2f5(0x1c6)]=void 0x0;const messages_1=require('@langchain/core/messages'),message_util_1=require(a9_0x37b2f5(0x1d3)),tool_util_1=require(a9_0x37b2f5(0x1fd)),session_logger_1=require(a9_0x37b2f5(0x157)),core_config_1=require('../configs/core-config'),message_util_2=require(a9_0x37b2f5(0x1d3)),logic_runner_1=require(a9_0x37b2f5(0x176)),retry_1=require('../utils/retry'),verify_license_1=require(a9_0x37b2f5(0x20b)),lodash_1=require(a9_0x37b2f5(0x13b));function a9_0x4867(){const _0x46e58d=['WDJsb','suXdI','1788246oiQbGB','1005AjEBfZ','iBKRD','toString','supportsTemperatureOverride','../session/session-logger','phVsP','DirXO','direct','MessageUtil','withStructuredOutput','SystemMessage','getName','getModel','name','Lmehi','replaceStep','mpSyO','xxprf','zyXRC','SeRbF','function','1612aeccRI','takKs','TBOto','chqpQ','.\x20Error:','tool','8bTdFpT','ZtWnf','apply','zifxW','dbVOP','string','hHxhZ','46EypGBc','./logic-runner','LOyWJ','1219666DjLCVN','WqQqq','getPrompt','UIOKO','SnbIZ','hgIfr','NkNwT','Ckmaq','DYiQM','isSame','length','qWBvL','hSeQJ','createInstance','orSzW','gwOyH','HumanMessage','qXstq','hasNoTool','nqQvw','state','invoke','tvvXj','VJYCb','send','jJCIa','Ignoring\x20temperature\x20override\x20for\x20model\x20\x27','457996STXWpQ','push','Follow\x20system\x20prompt\x20and\x20respond\x20properly.','FzJIR','hasTool','tool_calls','dMSXC','__esModule','kRaBr','stopTool','messageStep','MXGws','eDeTx','pop','activate','SHoCI','merge','NLbqb','rasUx','5697240bpjZgb','number','isToolAvailable','aSBld','OfZxg','callTool','FyMBD','ToolMessageInfo','system','PHcay','LLM\x20call\x20failed.\x20Reason:','mKayt','getSessionDoc','3831jLnKVv','finishReason','Dyfwr','human','goTry','getMemory','ToolUtil','NWHnr','GPDxB','LifJW','onResponse','cOghv','step','Flow\x20\x27','bWKaI','5xeSkCE','bwlaz','peek','cmQqs','LlmRunner','nssdO','saveState','LLM\x20hallucinates\x20a\x20non-existing\x20tool:\x20','703146XrtmDf','xXocB','contentType','nCglT','khEgx','type','mGDGi','bYbAc','EYjYT','../utils/message-util','cDFYC','Step\x20\x27','oajyy','vdKds','UFTTs','unknown','nQnSZ','TOVHb','\x20of\x20','Retry','pXFVH','HsrCU','qVYJI','onCrossing','Oxjrl','vqYHk','QAxcc','isBotMessageEmpty','LAKWX','cchtW','uRKqR','40CYgyKn','cMBOi','getModelParams','EeYJY','qUaVa','ToolMessageOK','saveSession','OgCKZ','tallyToken','CHErT','constructor','\x27\x20model\x20params\x20target\x20\x27','text','finish_reason','isLogic','genMessageId','verifyLicense','xcySL','SdjaO','search','../utils/tool-util','ofqjC','temperature','useTools','getFlowEngine','OcAsL','GNdNV','usage_metadata','fkXjS','stop_reason','additional_kwargs','xJiIz','HANug','getActiveStep','../utils/verify-license','ZjMnt','picoKey','EcQeO','LogicRunner','message','hallucinated\x20tool:\x20','kVgpj','htzLL','activateByName','uYjBM','tool_call_id','TOjZf','\x27\x20does\x20not\x20match\x20resolved\x20model\x20\x27','UbTJm','content','auLER','Attempt\x20','structOutputSchema','lodash','AVmOi','AIMessage','ABwGO','prompt','MrFii','response_metadata','nJLNu','(((.+)+)+)+$','ykvbh','BeQfN','warn','csmbk','missing\x20tool\x20handler:\x20','IRGxe','ArvQe','TihgF','SessionLogger','obtainTools','getReason','rohxi'];a9_0x4867=function(){return _0x46e58d;};return a9_0x4867();}class LlmRunner{static async['send'](_0x4be38e,_0x1e97d2,_0x4d5568){const _0x2c0637=a9_0x37b2f5,_0x24eaeb={'EeYJY':function(_0x390433,_0xb96e2e){return _0x390433>=_0xb96e2e;},'jJCIa':_0x2c0637(0x195),'TOVHb':function(_0x1e1cbd,_0x27f11e){return _0x1e1cbd===_0x27f11e;},'pBLBv':_0x2c0637(0x1f5),'NWHnr':_0x2c0637(0x1f0),'nQnSZ':_0x2c0637(0x1d9),'Oyurn':function(_0x474a18,_0x225210){return _0x474a18>=_0x225210;},'TOjZf':function(_0x13ed75,_0x5c3328){return _0x13ed75===_0x5c3328;},'UFTTs':function(_0x28e3aa,_0x329a7a){return _0x28e3aa!==_0x329a7a;},'bqJnJ':_0x2c0637(0x1a5),'Lmehi':function(_0x3bf5ce,_0x38f2ff){return _0x3bf5ce!==_0x38f2ff;},'rohxi':_0x2c0637(0x166),'ofqjC':_0x2c0637(0x1a7),'Ckmaq':function(_0x4ac826,_0x468df3){return _0x4ac826!==_0x468df3;},'LAKWX':'uzHLl','PHcay':_0x2c0637(0x16b),'hHxhZ':_0x2c0637(0x1ed),'phVsP':function(_0x5bf476,_0x5ebdb2){return _0x5bf476!==_0x5ebdb2;},'ykvbh':_0x2c0637(0x1ae),'OfZxg':function(_0x8d8fba,_0x4e6b9c){return _0x8d8fba!=_0x4e6b9c;},'ZtWnf':'drFAT','ypMXE':_0x2c0637(0x1ce),'xXocB':function(_0x131158,_0x205582){return _0x131158-_0x205582;}};(0x0,verify_license_1[_0x2c0637(0x1f9)])(core_config_1['CoreConfig'][_0x2c0637(0x20d)]);let _0x10b765;const _0x37dfba=_0x4be38e[_0x2c0637(0x20a)](),_0x3d9c19=_0x37dfba[_0x2c0637(0x15f)](),_0x4b9785=_0x4be38e[_0x2c0637(0x201)]()['getModel'](_0x3d9c19),_0x28e78e=_0x4be38e['getModelParamsModelName']();if(_0x24eaeb[_0x2c0637(0x217)](_0x3d9c19,_0x4be38e['getModel']())&&_0x28e78e&&_0x24eaeb[_0x2c0637(0x1d8)](_0x28e78e,_0x3d9c19)){if(_0x24eaeb[_0x2c0637(0x1d8)](_0x24eaeb['bqJnJ'],_0x2c0637(0x208)))throw new Error(_0x2c0637(0x1c0)+_0x4be38e[_0x2c0637(0x1f3)][_0x2c0637(0x160)]+_0x2c0637(0x1f4)+_0x28e78e+_0x2c0637(0x218)+_0x3d9c19+'\x27.');else return!![];}const _0x425585=_0x37dfba['getModelParamsModelName']();if(_0x425585&&_0x24eaeb[_0x2c0637(0x1d8)](_0x425585,_0x3d9c19)){if(_0x24eaeb[_0x2c0637(0x161)](_0x24eaeb[_0x2c0637(0x14f)],_0x24eaeb[_0x2c0637(0x14f)]))return![];else throw new Error(_0x2c0637(0x1d5)+_0x37dfba[_0x2c0637(0x15e)]()+_0x2c0637(0x1f4)+_0x425585+'\x27\x20does\x20not\x20match\x20resolved\x20model\x20\x27'+_0x3d9c19+'\x27.');}const _0x12e41b=_0x24eaeb[_0x2c0637(0x1db)](_0x37dfba[_0x2c0637(0x15f)](),_0x4be38e[_0x2c0637(0x15f)]())?(0x0,lodash_1[_0x2c0637(0x1a3)])({},_0x4be38e['getModelParams'](),_0x37dfba['getModelParams']()):(0x0,lodash_1[_0x2c0637(0x1a3)])({},_0x37dfba[_0x2c0637(0x1eb)]()),_0x34456f=(0x0,lodash_1['merge'])({},_0x12e41b);_0x24eaeb[_0x2c0637(0x1db)](typeof _0x34456f['temperature'],_0x24eaeb[_0x2c0637(0x1fe)])&&!_0x4b9785[_0x2c0637(0x156)]()&&(new session_logger_1['SessionLogger'](_0x4be38e[_0x2c0637(0x1b2)]())['warn'](_0x2c0637(0x192)+_0x4b9785[_0x2c0637(0x160)]+'\x27.'),delete _0x34456f['temperature']);const _0xf50176=_0x37dfba[_0x2c0637(0x1b8)]();if(_0x1e97d2){if(_0x24eaeb[_0x2c0637(0x17f)](_0x24eaeb[_0x2c0637(0x1e6)],_0x24eaeb[_0x2c0637(0x1e6)]))_0x463ed8=_0x1e0d5f[_0x2c0637(0x141)]['stop_reason'];else{const _0x35a488=message_util_1['MessageUtil']['messageStep'](_0x1e97d2['id']);if(_0x35a488!=_0x37dfba[_0x2c0637(0x15e)]()){if(_0x24eaeb[_0x2c0637(0x217)](_0x24eaeb[_0x2c0637(0x1af)],_0x2c0637(0x16b)))await _0x4be38e[_0x2c0637(0x1ef)](),message_util_1[_0x2c0637(0x15b)][_0x2c0637(0x162)](_0x1e97d2,_0x37dfba),_0x1e97d2=_0x37dfba[_0x2c0637(0x1e1)](_0x1e97d2,_0x35a488);else{const _0x28133e=_0x4c6c80[_0x3096e4[_0x2c0637(0x182)]-0x1];!_0x1b5dd3['MessageUtil'][_0x2c0637(0x181)](_0x28133e,_0x48d655)&&_0x58ae46[_0x2c0637(0x194)](_0x958a33);}}}}else{if(_0x24eaeb[_0x2c0637(0x174)]!==_0x2c0637(0x18e)){const _0x2cbae4=message_util_1['MessageUtil'][_0x2c0637(0x1c4)](_0xf50176);if(_0x2cbae4&&_0x24eaeb[_0x2c0637(0x158)](_0x2cbae4['type'],_0x24eaeb[_0x2c0637(0x144)])){const _0x50debd=message_util_1['MessageUtil'][_0x2c0637(0x19d)](_0x2cbae4['id']);_0x24eaeb[_0x2c0637(0x1aa)](_0x50debd,_0x37dfba[_0x2c0637(0x15e)]())&&(await _0x4be38e['saveSession'](),_0x1e97d2=_0x37dfba[_0x2c0637(0x1e1)](_0x1e97d2,_0x50debd));}else{if(_0x24eaeb[_0x2c0637(0x16f)]!==_0x2c0637(0x14b))await _0x4be38e['saveSession'](),_0x1e97d2=_0x37dfba['onCrossing'](_0x1e97d2);else return _0x3d7824[_0x2c0637(0x1a0)](),_0x24eaeb[_0x2c0637(0x1ec)](_0x19946f,0x2)&&_0x38a632[_0x2c0637(0x1a0)](),_0x1cd3cc['push'](new _0x2a1528[(_0x2c0637(0x188))]({'content':_0x24eaeb[_0x2c0637(0x191)],'id':_0x1c1d97[_0x2c0637(0x1f8)]()})),!![];}}else _0x3005c7['saveState']({'_prompt':_0x50965a['prompt']});}if(_0x37dfba[_0x2c0637(0x1f7)]()){if(_0x2c0637(0x150)!==_0x24eaeb['ypMXE'])return logic_runner_1['LogicRunner'][_0x2c0637(0x190)](_0x4be38e);else{if(!_0x195cde?.[_0x2c0637(0x21a)]||_0x235759[_0x2c0637(0x21a)][0x0]&&_0x24eaeb[_0x2c0637(0x1db)](_0x2ab80d['content'][0x0][_0x24eaeb['pBLBv']],''))return!![];}}let _0xa9bcca=_0x4b9785[_0x2c0637(0x185)](_0x34456f),_0x1df2cf=_0x37dfba[_0x2c0637(0x14d)]()??[];const _0x5ec2a3=await _0x37dfba[_0x2c0637(0x17a)]();_0xf50176[0x0]=new messages_1[(_0x2c0637(0x15d))]({'content':_0x5ec2a3,'id':_0x37dfba[_0x2c0637(0x1f8)]()});if(_0x1e97d2){const _0x20e224=_0xf50176[_0x24eaeb[_0x2c0637(0x1cb)](_0xf50176[_0x2c0637(0x182)],0x1)];!message_util_1[_0x2c0637(0x15b)][_0x2c0637(0x181)](_0x20e224,_0x1e97d2)&&_0xf50176['push'](_0x1e97d2);}const _0x19a3bb=_0x1e97d2?.['additional_kwargs'][_0x2c0637(0x19c)];_0x19a3bb&&(_0x1df2cf=[]);_0xa9bcca=_0x4b9785[_0x2c0637(0x200)](_0xa9bcca,_0x1df2cf);const _0x3253d5=_0x37dfba[_0x2c0637(0x21d)]();return _0x3253d5&&(_0xa9bcca=_0xa9bcca['withStructuredOutput'](_0x3253d5)),_0x10b765=await retry_1[_0x2c0637(0x1dd)][_0x2c0637(0x1b7)]({'maxRetries':core_config_1['CoreConfig']['llmRetry'],'delayMs':0x1f4,'onMain':async()=>{const _0x322294=_0x2c0637;_0x10b765=await _0xa9bcca[_0x322294(0x18d)](_0xf50176);const _0x4e7523=_0x10b765[_0x322294(0x204)];return _0x4be38e[_0x322294(0x1f1)](_0x4e7523),_0x10b765;},'onWarn':(_0xc01242,_0xd7a24a,_0x33f54d)=>{const _0x56c3e1=_0x2c0637;_0x24eaeb[_0x56c3e1(0x1db)](_0x24eaeb[_0x56c3e1(0x1ba)],_0x56c3e1(0x1f0))?new session_logger_1[(_0x56c3e1(0x14c))](_0x4be38e[_0x56c3e1(0x1b2)]())[_0x56c3e1(0x146)](_0x56c3e1(0x21c)+_0xc01242+_0x56c3e1(0x1dc)+_0xd7a24a+_0x56c3e1(0x16c)+(_0x33f54d?_0x33f54d[_0x56c3e1(0x210)]:_0x24eaeb[_0x56c3e1(0x1da)])):_0x107aa7[_0x56c3e1(0x1a0)]();},'shouldRetry':(_0xd078e3,_0xb4a5cb)=>{const _0x4a54cd=_0x2c0637;return LlmRunner[_0x4a54cd(0x1e5)](_0xd078e3)?(_0xf50176[_0x4a54cd(0x1a0)](),_0x24eaeb['Oyurn'](_0xb4a5cb,0x2)&&_0xf50176['pop'](),_0xf50176['push'](new messages_1[(_0x4a54cd(0x188))]({'content':_0x24eaeb[_0x4a54cd(0x191)],'id':_0x37dfba[_0x4a54cd(0x1f8)]()})),!![]):![];},'onFinalError':_0x5f399f=>{const _0x26126b=_0x2c0637;throw new Error(_0x26126b(0x1b0)+LlmRunner['getReason'](_0x10b765)+_0x26126b(0x16c)+(_0x5f399f?_0x5f399f[_0x26126b(0x210)]:'unknown'));}}),await LlmRunner[_0x2c0637(0x1bd)](_0x4be38e,_0x10b765,_0x4d5568);}static async['onResponse'](_0x3bcd13,_0x30d9a2,_0xf02895){const _0x23537b=a9_0x37b2f5,_0x598cc6={'qVYJI':_0x23537b(0x16d),'gwOyH':function(_0x54625a,_0x137eac){return _0x54625a===_0x137eac;},'LOyWJ':_0x23537b(0x1cf),'xxprf':_0x23537b(0x1f5),'EcQeO':'LYtpF','uYjBM':_0x23537b(0x196),'dMSXC':function(_0x132a6e,_0x33db09){return _0x132a6e>_0x33db09;},'zifxW':function(_0x559cda,_0x31e5ea){return _0x559cda===_0x31e5ea;},'zyXRC':'xPryY','eDeTx':function(_0x41220f,_0x5e28ce){return _0x41220f===_0x5e28ce;},'DirXO':function(_0x4af039,_0xee72f8){return _0x4af039!==_0xee72f8;},'cMBOi':_0x23537b(0x167)};(0x0,verify_license_1[_0x23537b(0x1f9)])(core_config_1['CoreConfig']['picoKey']);const _0x46c7fe=_0x3bcd13[_0x23537b(0x20a)]();if(_0x46c7fe[_0x23537b(0x1f7)]()){if(_0x598cc6[_0x23537b(0x20e)]===_0x598cc6[_0x23537b(0x215)])_0x394a88=new _0x8842d1[(_0x23537b(0x1ad))](_0x29c17b,_0x478e13,_0x501c1b[_0x598cc6[_0x23537b(0x1e0)]]);else return logic_runner_1[_0x23537b(0x20f)][_0x23537b(0x190)](_0x3bcd13);}const _0x35b6da=_0x46c7fe[_0x23537b(0x1b8)]();if(tool_util_1[_0x23537b(0x1b9)][_0x23537b(0x197)](_0x30d9a2)){let _0x258a57='';if(Array['isArray'](_0x30d9a2?.['content'])&&_0x598cc6[_0x23537b(0x199)](_0x30d9a2?.['content']?.[_0x23537b(0x182)],0x1)){if(_0x598cc6[_0x23537b(0x171)](_0x598cc6[_0x23537b(0x165)],_0x598cc6[_0x23537b(0x165)]))for(const _0x3510af of _0x30d9a2[_0x23537b(0x21a)]){_0x3510af&&_0x598cc6[_0x23537b(0x19f)](_0x3510af[_0x598cc6['LOyWJ']],_0x598cc6['xxprf'])&&(_0x598cc6[_0x23537b(0x159)](_0x23537b(0x21b),_0x23537b(0x1f2))?_0x258a57=_0x3510af[_0x23537b(0x1f5)]:(_0x90db9b=!![],_0x82c428['push'](_0x130106)));}else for(const _0xdbfa39 of _0x356d5a[_0x23537b(0x21a)]){_0xdbfa39&&_0x598cc6[_0x23537b(0x187)](_0xdbfa39[_0x598cc6[_0x23537b(0x177)]],_0x598cc6[_0x23537b(0x164)])&&(_0x22b22b=_0xdbfa39[_0x598cc6[_0x23537b(0x164)]]);}}const _0x557c36=await LlmRunner[_0x23537b(0x1ab)](_0x46c7fe,_0x3bcd13,_0x30d9a2?.[_0x23537b(0x198)]),_0x4cffea=new message_util_2['ToolCallMessage'](_0x46c7fe,_0x30d9a2[_0x23537b(0x198)]);return _0x35b6da[_0x23537b(0x194)](_0x4cffea),LlmRunner['onToolResponseMessages'](_0x3bcd13,_0x46c7fe,_0x258a57,_0x30d9a2['tool_calls'],_0x557c36);}else{let _0x480135;_0xf02895?_0x480135=_0xf02895+'\x0a'+(_0x30d9a2?.[_0x23537b(0x21a)]??_0x30d9a2):_0x480135=_0x30d9a2?.[_0x23537b(0x21a)]??_0x30d9a2;const _0x1366ec=_0x46c7fe[_0x23537b(0x1bd)](_0x480135);if(_0x598cc6[_0x23537b(0x171)](typeof _0x1366ec,_0x598cc6[_0x23537b(0x1ea)])){const _0x2eb539=_0x1366ec;return await _0x3bcd13['activate'](_0x2eb539),await LlmRunner[_0x23537b(0x190)](_0x3bcd13,null,null);}else return _0x480135=_0x1366ec,_0x35b6da[_0x23537b(0x194)](new messages_1[(_0x23537b(0x13d))]({'content':_0x480135,'id':_0x46c7fe['genMessageId']()})),_0x480135;}}static async['onToolResponseMessages'](_0x281a37,_0xfbe1c8,_0x3f059c,_0x194076,_0x5bdb54){const _0x58bc21=a9_0x37b2f5,_0x29a40c={'BeQfN':function(_0x1be408){return _0x1be408();},'cDFYC':function(_0x23f6e5,_0x4a62b0){return _0x23f6e5!==_0x4a62b0;},'dbVOP':_0x58bc21(0x1c1),'jDPWl':_0x58bc21(0x1de),'IRGxe':function(_0xe02653,_0x2d1a18){return _0xe02653===_0x2d1a18;},'kRaBr':_0x58bc21(0x16d),'Oxjrl':function(_0x4f464f,_0x35aa17){return _0x4f464f===_0x35aa17;},'oajyy':_0x58bc21(0x15a),'QAxcc':function(_0x1657ec,_0x2dfd6c){return _0x1657ec===_0x2dfd6c;},'MXGws':'ciqYM','HANug':_0x58bc21(0x189)},_0x1eb3bd=_0x29a40c[_0x58bc21(0x145)](Array);for(const _0x1d0f9e of _0x194076){if(_0x29a40c[_0x58bc21(0x1d4)](_0x29a40c[_0x58bc21(0x172)],_0x58bc21(0x1c1))){const _0xb67e3d=_0x103384[_0x58bc21(0x170)](_0x172270,arguments);return _0xe57dd=null,_0xb67e3d;}else{let _0x3bc7ab=![];for(const _0x4f7c52 of _0x5bdb54){_0x29a40c['jDPWl']!=='pXFVH'?_0x5d3f36[_0x58bc21(0x1cc)]=_0x53e8ee[_0x58bc21(0x1cc)]:_0x29a40c[_0x58bc21(0x149)](_0x4f7c52[_0x58bc21(0x1cf)],_0x29a40c[_0x58bc21(0x19b)])&&_0x29a40c[_0x58bc21(0x1e2)](_0x1d0f9e['id'],_0x4f7c52[_0x58bc21(0x216)])&&(_0x3bc7ab=!![],_0x1eb3bd['push'](_0x4f7c52));}if(!_0x3bc7ab){const _0x28458b=new message_util_2[(_0x58bc21(0x1ee))](_0xfbe1c8,_0x1d0f9e);_0x1eb3bd[_0x58bc21(0x194)](_0x28458b);}}}const _0x47c22a=_0xfbe1c8[_0x58bc21(0x1b8)]();_0x47c22a[_0x58bc21(0x194)](..._0x1eb3bd);for(const _0x569e5d of _0x5bdb54){if(_0x58bc21(0x1a4)===_0x58bc21(0x205))_0x292d53=new _0x15ab31[(_0x58bc21(0x1ee))](_0x423c15,_0x459626);else{if(_0x569e5d[_0x58bc21(0x1cf)]==='ai'){const _0x560f5d=_0x569e5d[_0x58bc21(0x207)][_0x29a40c[_0x58bc21(0x1d6)]];if(_0x560f5d){if(_0x29a40c[_0x58bc21(0x1e4)](_0x29a40c[_0x58bc21(0x19e)],_0x29a40c[_0x58bc21(0x209)])){const _0x46f187=_0x2d98b9?function(){const _0x5a480a=_0x58bc21;if(_0x122b0a){const _0x30d282=_0x180462[_0x5a480a(0x170)](_0x344f08,arguments);return _0x539ffe=null,_0x30d282;}}:function(){};return _0x20fd72=![],_0x46f187;}else return _0x47c22a[_0x58bc21(0x194)](_0x569e5d),_0x569e5d[_0x58bc21(0x21a)];}}}}for(const _0x55c49f of _0x5bdb54){if(_0x29a40c[_0x58bc21(0x149)](_0x55c49f[_0x58bc21(0x1cf)],_0x58bc21(0x1b6)))return await LlmRunner[_0x58bc21(0x190)](_0x281a37,_0x55c49f,_0x3f059c);}return await LlmRunner[_0x58bc21(0x190)](_0x281a37,null,_0x3f059c);}static async[a9_0x37b2f5(0x1ab)](_0x1ccf45,_0x47b200,_0x47ae2e){const _0x4d4a66=a9_0x37b2f5,_0x39c55b={'UIOKO':_0x4d4a66(0x210),'VJYCb':_0x4d4a66(0x1d9),'rFlAO':function(_0x2c3d4f,_0x1b65e1){return _0x2c3d4f>=_0x1b65e1;},'ArvQe':'Follow\x20system\x20prompt\x20and\x20respond\x20properly.','ABwGO':function(_0x36f661,_0xcb146a){return _0x36f661===_0xcb146a;},'iBKRD':'function','LifJW':function(_0x124bb8,_0x88151c){return _0x124bb8===_0x88151c;},'cmQqs':_0x4d4a66(0x173),'iXfSi':function(_0x1cddd8,_0x39fc3e){return _0x1cddd8===_0x39fc3e;},'AVmOi':_0x4d4a66(0x1bf),'SnbIZ':function(_0x3bfa26,_0x5dd9ed){return _0x3bfa26!==_0x5dd9ed;},'mGDGi':_0x4d4a66(0x1e3),'JZkHN':'uMQvu','Dyfwr':function(_0xc680b5,_0x3a1de4){return _0xc680b5===_0x3a1de4;},'FyMBD':function(_0x3b52ac,_0x4e4b4d){return _0x3b52ac!==_0x4e4b4d;},'nqQvw':_0x4d4a66(0x180),'cOghv':'VkShB','nssdO':function(_0xb19018,_0x1f7af3){return _0xb19018!==_0x1f7af3;},'bwlaz':_0x4d4a66(0x202),'NkNwT':function(_0x174031,_0x2d7f19){return _0x174031===_0x2d7f19;},'qWBvL':_0x4d4a66(0x1b1),'takKs':'xDmRS','hSeQJ':_0x4d4a66(0x151),'UbTJm':_0x4d4a66(0x20c),'bYbAc':'tool','TeiDG':_0x4d4a66(0x1a2)},_0x20be4c=new Array();for(const _0x326b9c of _0x47ae2e){let _0x4c17e2;if(_0x39c55b[_0x4d4a66(0x13e)](typeof _0x1ccf45[_0x326b9c[_0x4d4a66(0x160)]],_0x39c55b[_0x4d4a66(0x154)])){const _0x2f16fd=await _0x1ccf45[_0x326b9c[_0x4d4a66(0x160)]](_0x326b9c);if(_0x39c55b[_0x4d4a66(0x1bc)](typeof _0x2f16fd,_0x39c55b[_0x4d4a66(0x1c5)]))await _0x47b200[_0x4d4a66(0x214)](_0x2f16fd),_0x20be4c[_0x4d4a66(0x194)](new message_util_2[(_0x4d4a66(0x1ee))](_0x1ccf45,_0x326b9c));else{if(_0x39c55b['iXfSi'](typeof _0x2f16fd,_0x39c55b[_0x4d4a66(0x154)]))await _0x47b200[_0x4d4a66(0x1a1)](_0x2f16fd),_0x20be4c[_0x4d4a66(0x194)](new message_util_2[(_0x4d4a66(0x1ee))](_0x1ccf45,_0x326b9c));else{if(_0x2f16fd&&_0x39c55b[_0x4d4a66(0x13c)]in _0x2f16fd){if(_0x39c55b[_0x4d4a66(0x17c)](_0x39c55b[_0x4d4a66(0x1d0)],_0x39c55b['JZkHN'])){let _0x39dce8;_0x39c55b[_0x4d4a66(0x1b5)](typeof _0x2f16fd['step'],'string')?_0x39c55b[_0x4d4a66(0x1ac)](_0x39c55b[_0x4d4a66(0x18b)],_0x39c55b[_0x4d4a66(0x1be)])?_0x39dce8=await _0x47b200[_0x4d4a66(0x214)](_0x2f16fd[_0x4d4a66(0x1bf)]):_0x581a3c[_0x4d4a66(0x194)](_0x470e3f[_0x39c55b[_0x4d4a66(0x17b)]]):_0x39dce8=await _0x47b200[_0x4d4a66(0x1a1)](_0x2f16fd['step']);if(_0x2f16fd[_0x4d4a66(0x13f)]){if(_0x39c55b[_0x4d4a66(0x1c7)](_0x4d4a66(0x202),_0x39c55b[_0x4d4a66(0x1c3)]))return _0x27cd71=_0x53ceeb,_0x448ad9[_0x4d4a66(0x194)](new _0x3d3e25[(_0x4d4a66(0x13d))]({'content':_0x12fb13,'id':_0x28262d[_0x4d4a66(0x1f8)]()})),_0x1316f9;else _0x39dce8[_0x4d4a66(0x1c8)]({'_prompt':_0x2f16fd[_0x4d4a66(0x13f)]});}_0x2f16fd[_0x4d4a66(0x18c)]&&(_0x39c55b[_0x4d4a66(0x17e)](_0x39c55b[_0x4d4a66(0x183)],_0x39c55b[_0x4d4a66(0x169)])?(new _0x55f487['SessionLogger'](_0x9c9a9[_0x4d4a66(0x1b2)]())['warn'](_0x4d4a66(0x192)+_0x59302e[_0x4d4a66(0x160)]+'\x27.'),delete _0x24a522[_0x4d4a66(0x1ff)]):_0x39dce8[_0x4d4a66(0x1c8)](_0x2f16fd[_0x4d4a66(0x18c)]));if(_0x2f16fd[_0x4d4a66(0x1cc)]){if(_0x39c55b[_0x4d4a66(0x184)]===_0x39c55b[_0x4d4a66(0x219)])throw new _0x4e6674(_0x4d4a66(0x1b0)+_0x59960e[_0x4d4a66(0x14e)](_0xa2d4ce)+_0x4d4a66(0x16c)+(_0x10445a?_0x565e31[_0x4d4a66(0x210)]:_0x39c55b[_0x4d4a66(0x18f)]));else _0x39dce8['contentType']=_0x2f16fd['contentType'];}if(_0x2f16fd[_0x39c55b[_0x4d4a66(0x1d1)]])_0x4c17e2=new message_util_1[(_0x4d4a66(0x1ad))](_0x39dce8,_0x326b9c,_0x2f16fd[_0x39c55b[_0x4d4a66(0x1d1)]]);else{if(_0x39c55b[_0x4d4a66(0x1b5)](_0x4d4a66(0x142),_0x39c55b['TeiDG'])){if(_0x285f59){const _0x243993=_0x47a20d['apply'](_0x5b2e15,arguments);return _0x513cad=null,_0x243993;}}else _0x4c17e2=new message_util_2['ToolMessageOK'](_0x1ccf45,_0x326b9c);}_0x20be4c[_0x4d4a66(0x194)](_0x4c17e2),_0x2f16fd[_0x39c55b[_0x4d4a66(0x17b)]]&&_0x20be4c[_0x4d4a66(0x194)](_0x2f16fd[_0x39c55b[_0x4d4a66(0x17b)]]);}else return _0x476019[_0x4d4a66(0x1e5)](_0x3bfc61)?(_0xd449a3[_0x4d4a66(0x1a0)](),_0x39c55b['rFlAO'](_0x4e717f,0x2)&&_0x550a2f['pop'](),_0x1ae15a[_0x4d4a66(0x194)](new _0x176570[(_0x4d4a66(0x188))]({'content':_0x39c55b[_0x4d4a66(0x14a)],'id':_0x2b38d9[_0x4d4a66(0x1f8)]()})),!![]):![];}}}}else _0x1ccf45[_0x4d4a66(0x1a8)](_0x326b9c[_0x4d4a66(0x160)])?(new session_logger_1[(_0x4d4a66(0x14c))](_0x47b200[_0x4d4a66(0x1b2)]())[_0x4d4a66(0x146)](_0x4d4a66(0x148)+_0x326b9c[_0x4d4a66(0x160)]),_0x4c17e2=new message_util_2[(_0x4d4a66(0x1ee))](_0x1ccf45,_0x326b9c)):(new session_logger_1[(_0x4d4a66(0x14c))](_0x47b200[_0x4d4a66(0x1b2)]())[_0x4d4a66(0x146)](_0x4d4a66(0x211)+_0x326b9c[_0x4d4a66(0x160)]),_0x4c17e2=new message_util_1[(_0x4d4a66(0x1ad))](_0x1ccf45,_0x326b9c,_0x4d4a66(0x1c9)+_0x326b9c['name'])),_0x20be4c['push'](_0x4c17e2);}return _0x20be4c;}static[a9_0x37b2f5(0x1e5)](_0x1a966c){const _0x938fa4=a9_0x37b2f5,_0x323c24={'xcySL':_0x938fa4(0x203),'GPDxB':'BQnQR'};if(tool_util_1[_0x938fa4(0x1b9)][_0x938fa4(0x18a)](_0x1a966c)){if(_0x323c24[_0x938fa4(0x1fa)]===_0x323c24[_0x938fa4(0x1bb)])return _0x1cc38b['push'](_0x5de599),_0x10885f[_0x938fa4(0x21a)];else{if(!_0x1a966c?.[_0x938fa4(0x21a)]||_0x1a966c[_0x938fa4(0x21a)][0x0]&&_0x1a966c[_0x938fa4(0x21a)][0x0][_0x938fa4(0x1f5)]==='')return!![];}}return![];}static['getReason'](_0x14afdb){const _0x397be0=a9_0x37b2f5,_0x15856f={'RUeQu':function(_0x32046c,_0x4210ef){return _0x32046c!==_0x4210ef;},'EYjYT':_0x397be0(0x147),'orSzW':'olCBm','MrFii':_0x397be0(0x1f6),'jvvYy':function(_0x5b8904,_0xcc4503){return _0x5b8904===_0xcc4503;},'SdjaO':_0x397be0(0x213),'mpSyO':_0x397be0(0x1d9)};if(_0x14afdb?.['response_metadata']){let _0x368826=_0x14afdb['response_metadata'][_0x397be0(0x1b4)];if(!_0x368826)_0x15856f['RUeQu'](_0x15856f[_0x397be0(0x1d2)],_0x15856f[_0x397be0(0x186)])?_0x368826=_0x14afdb[_0x397be0(0x141)][_0x397be0(0x206)]:(_0x2dff13['isToolAvailable'](_0x588976[_0x397be0(0x160)])?(new _0x4840bf[(_0x397be0(0x14c))](_0x5deb58[_0x397be0(0x1b2)]())[_0x397be0(0x146)](_0x397be0(0x148)+_0x53958f[_0x397be0(0x160)]),_0x345446=new _0x48e158[(_0x397be0(0x1ee))](_0x2d1b18,_0x5cea96)):(new _0x28d402[(_0x397be0(0x14c))](_0xeb3268['getSessionDoc']())[_0x397be0(0x146)](_0x397be0(0x211)+_0x3d9de8['name']),_0x4e9a6d=new _0xf6ce9a[(_0x397be0(0x1ad))](_0x49a0e3,_0x3c2e6f,_0x397be0(0x1c9)+_0x3bdea3[_0x397be0(0x160)])),_0x1d374c[_0x397be0(0x194)](_0x4e8da8));else!_0x368826&&(_0x368826=_0x14afdb['response_metadata'][_0x15856f[_0x397be0(0x140)]]);return _0x368826;}else{if(_0x15856f['jvvYy'](_0x15856f['SdjaO'],_0x15856f[_0x397be0(0x1fb)]))return _0x15856f[_0x397be0(0x163)];else _0x30eaa9=_0x53f090[_0x397be0(0x15c)](_0x2b3757);}}}exports[a9_0x37b2f5(0x1c6)]=LlmRunner;
1
+ function a9_0x5d89(){const _0x2b8e8a=['prompt','(((.+)+)+)+$','xfPcK','dgRei','nnIhx','toString','.\x20Error:','getFlowEngine','eQZPS','replaceStep','dYJqV','string','MOgWE','kYntv','SzPhO','search','../utils/retry','PpZeV','ToolMessageOK','UnGPR','warn','TqSwG','219362PKBkdC','lodash','llmRetry','../configs/core-config','jnjoC','getActiveStep','FqRpd','rIsxJ','LogicRunner','\x27\x20does\x20not\x20match\x20resolved\x20model\x20\x27','getModelParamsModelName','CoreConfig','TWaKf','onCrossing','HumanMessage','gBmaz','LLM\x20hallucinates\x20a\x20non-existing\x20tool:\x20','PBoDV','number','additional_kwargs','SessionLogger','ugKco','qwjXL','rnwQJ','117vIfFof','XkWBS','3604991HcBwKM','getModelParams','push','unknown','208264ZwOhiO','bSTvf','genMessageId','JgPik','eSRlA','name','isToolAvailable','../utils/tool-util','tool','TYwgK','finish_reason','tool_calls','IWrjV','814394bFnduh','ToolMessageInfo','1467746UllDpA','yQPts','state','vbbvo','yaNaS','MessageUtil','stopTool','evFpY','jljDg','../utils/verify-license','35864ZjJDHh','sExCB','XaXZf','isLogic','Zfhlf','APcwO','hasTool','supportsTemperatureOverride','@langchain/core/messages','pop','human','vPOut','EAqSk','activateByName','../utils/message-util','onResponse','saveSession','response_metadata','function','ToolUtil','isBotMessageEmpty','getMemory','useTools','916505NxkHjc','merge','hallucinated\x20tool:\x20','send','SystemMessage','Follow\x20system\x20prompt\x20and\x20respond\x20properly.','message','invoke','__esModule','lpYZD','tsyET','messageStep','wmxgM','KnjEA','activate','6mdNbMT','withStructuredOutput','shvPh','1IrwMDe','LLM\x20call\x20failed.\x20Reason:','kdmwX','system','wmlSo','iHWyJ','pKeSg','finishReason','bYuLz','qUIXX','tDaGL','Rlurk','cusnS','createInstance','\x20of\x20','type','VbrJD','VNkKp','RqXpx','Iqgei','constructor','onToolResponseMessages','sAkyW','saveState','hasNoTool','getName','MupXG','step','RRpDM','verifyLicense','48mHQFbS','text','UJTmA','uxXzT','Lbvrg','obtainTools','xpZvi','lbVlz','Ignoring\x20temperature\x20override\x20for\x20model\x20\x27','RQPMi','picoKey','OgRnL','380NtTFiW','usage_metadata','AIMessage','missing\x20tool\x20handler:\x20','tool_call_id','gVvMt','270nuIcIA','./logic-runner','jTXse','content','contentType','gymdO','goTry','getModel','NLLqc','length','toLfa','stop_reason','DdGHf','RKgXZ','YOfwb','direct','HfkNR','Step\x20\x27','structOutputSchema','OwqMG','WoZwC','getReason','getSessionDoc','tallyToken','ydjUe','getPrompt','temperature','HfzlA','apply','../session/session-logger','\x27\x20model\x20params\x20target\x20\x27','callTool'];a9_0x5d89=function(){return _0x2b8e8a;};return a9_0x5d89();}const a9_0x571b47=a9_0x53b3;(function(_0x2b37fe,_0x53c000){const _0x3a36f4=a9_0x53b3,_0x486a60=_0x2b37fe();while(!![]){try{const _0x403607=parseInt(_0x3a36f4(0xb1))/0x1*(parseInt(_0x3a36f4(0x144))/0x2)+-parseInt(_0x3a36f4(0x12f))/0x3*(parseInt(_0x3a36f4(0x14e))/0x4)+parseInt(_0x3a36f4(0x9f))/0x5*(-parseInt(_0x3a36f4(0xae))/0x6)+-parseInt(_0x3a36f4(0x142))/0x7+-parseInt(_0x3a36f4(0x135))/0x8*(-parseInt(_0x3a36f4(0xe1))/0x9)+parseInt(_0x3a36f4(0xdb))/0xa*(parseInt(_0x3a36f4(0x117))/0xb)+-parseInt(_0x3a36f4(0xcf))/0xc*(parseInt(_0x3a36f4(0x131))/0xd);if(_0x403607===_0x53c000)break;else _0x486a60['push'](_0x486a60['shift']());}catch(_0x48d7b5){_0x486a60['push'](_0x486a60['shift']());}}}(a9_0x5d89,0x7d842));const a9_0x47e824=(function(){let _0xf51705=!![];return function(_0x127231,_0x3c900e){const _0x4b04f0=_0xf51705?function(){if(_0x3c900e){const _0x573533=_0x3c900e['apply'](_0x127231,arguments);return _0x3c900e=null,_0x573533;}}:function(){};return _0xf51705=![],_0x4b04f0;};}()),a9_0xf8d24c=a9_0x47e824(this,function(){const _0x58ff9f=a9_0x53b3,_0x2cdaf4={'IWrjV':_0x58ff9f(0x102)};return a9_0xf8d24c[_0x58ff9f(0x106)]()[_0x58ff9f(0x110)](_0x2cdaf4[_0x58ff9f(0x141)])[_0x58ff9f(0x106)]()[_0x58ff9f(0xc5)](a9_0xf8d24c)['search'](_0x58ff9f(0x102));});a9_0xf8d24c();'use strict';function a9_0x53b3(_0xaafe77,_0x2f39f9){const _0x2d95b3=a9_0x5d89();return a9_0x53b3=function(_0xf8d24c,_0x47e824){_0xf8d24c=_0xf8d24c-0x8c;let _0x5d89b5=_0x2d95b3[_0xf8d24c];return _0x5d89b5;},a9_0x53b3(_0xaafe77,_0x2f39f9);}Object['defineProperty'](exports,a9_0x571b47(0xa7),{'value':!![]}),exports['LlmRunner']=void 0x0;const messages_1=require(a9_0x571b47(0x90)),message_util_1=require(a9_0x571b47(0x96)),tool_util_1=require(a9_0x571b47(0x13c)),session_logger_1=require(a9_0x571b47(0xfe)),core_config_1=require(a9_0x571b47(0x11a)),message_util_2=require(a9_0x571b47(0x96)),logic_runner_1=require(a9_0x571b47(0xe2)),retry_1=require(a9_0x571b47(0x111)),verify_license_1=require(a9_0x571b47(0x14d)),lodash_1=require(a9_0x571b47(0x118));class LlmRunner{static async[a9_0x571b47(0xa2)](_0xf9c826,_0x5c48e7,_0x3cd695){const _0x9dcb14=a9_0x571b47,_0x31fefa={'rIsxJ':'unknown','tsyET':function(_0x4115e6,_0x19b0f0){return _0x4115e6===_0x19b0f0;},'bYuLz':_0x9dcb14(0xda),'gVvMt':function(_0x1fc814,_0x2c74c8){return _0x1fc814===_0x2c74c8;},'YOfwb':_0x9dcb14(0x105),'sAkyW':'cdDlX','kdmwX':function(_0x3623c3,_0x395c34){return _0x3623c3!==_0x395c34;},'TqSwG':_0x9dcb14(0xc1),'IAtbh':_0x9dcb14(0xe6),'RqXpx':function(_0x1e4e00,_0x300956){return _0x1e4e00>=_0x300956;},'DdGHf':function(_0x5ce89a,_0x3305c5){return _0x5ce89a===_0x3305c5;},'prfro':_0x9dcb14(0x12d),'TWaKf':_0x9dcb14(0xa4),'MOgWE':function(_0x2c46ce,_0x170c84){return _0x2c46ce===_0x170c84;},'APcwO':_0x9dcb14(0x10f),'cusnS':function(_0x29f1ba,_0x7a7150){return _0x29f1ba===_0x7a7150;},'Rnpvw':function(_0x10296c,_0x13d50b){return _0x10296c!=_0x13d50b;},'uxXzT':function(_0xa3748c,_0x2c52da){return _0xa3748c!==_0x2c52da;},'kYntv':_0x9dcb14(0xcd),'RQPMi':_0x9dcb14(0xeb),'dYJqV':function(_0x11ff10,_0x2f4a03){return _0x11ff10!=_0x2f4a03;},'jljDg':function(_0x166198,_0x115784){return _0x166198===_0x115784;},'bSTvf':'TdixX','jTXse':_0x9dcb14(0x14a)};(0x0,verify_license_1[_0x9dcb14(0xce)])(core_config_1['CoreConfig'][_0x9dcb14(0xd9)]);let _0x2808ae;const _0x19ac1d=_0xf9c826[_0x9dcb14(0x11c)](),_0xe1a88b=_0x19ac1d[_0x9dcb14(0xe8)](),_0x35d802=_0xf9c826[_0x9dcb14(0x108)]()[_0x9dcb14(0xe8)](_0xe1a88b),_0x5ca233=_0xf9c826[_0x9dcb14(0x121)]();if(_0x31fefa[_0x9dcb14(0x10d)](_0xe1a88b,_0xf9c826[_0x9dcb14(0xe8)]())&&_0x5ca233&&_0x31fefa[_0x9dcb14(0xb3)](_0x5ca233,_0xe1a88b))throw new Error('Flow\x20\x27'+_0xf9c826[_0x9dcb14(0xc5)][_0x9dcb14(0x13a)]+_0x9dcb14(0xff)+_0x5ca233+'\x27\x20does\x20not\x20match\x20resolved\x20model\x20\x27'+_0xe1a88b+'\x27.');const _0x4bec52=_0x19ac1d['getModelParamsModelName']();if(_0x4bec52&&_0x31fefa['kdmwX'](_0x4bec52,_0xe1a88b)){if(_0x31fefa[_0x9dcb14(0xb3)](_0x31fefa[_0x9dcb14(0x8d)],'SzPhO'))throw new _0x333143(_0x9dcb14(0xb2)+_0x43839b[_0x9dcb14(0xf6)](_0x20e9a2)+_0x9dcb14(0x107)+(_0x3a4bbf?_0x3df256[_0x9dcb14(0xa5)]:_0x31fefa[_0x9dcb14(0x11e)]));else throw new Error(_0x9dcb14(0xf2)+_0x19ac1d['getName']()+_0x9dcb14(0xff)+_0x4bec52+_0x9dcb14(0x120)+_0xe1a88b+'\x27.');}const _0x58b4ef=_0x31fefa[_0x9dcb14(0xbd)](_0x19ac1d['getModel'](),_0xf9c826[_0x9dcb14(0xe8)]())?(0x0,lodash_1[_0x9dcb14(0xa0)])({},_0xf9c826[_0x9dcb14(0x132)](),_0x19ac1d[_0x9dcb14(0x132)]()):(0x0,lodash_1['merge'])({},_0x19ac1d[_0x9dcb14(0x132)]()),_0x1f615e=(0x0,lodash_1[_0x9dcb14(0xa0)])({},_0x58b4ef);_0x31fefa[_0x9dcb14(0xed)](typeof _0x1f615e[_0x9dcb14(0xfb)],_0x9dcb14(0x129))&&!_0x35d802[_0x9dcb14(0x8f)]()&&(new session_logger_1[(_0x9dcb14(0x12b))](_0xf9c826['getSessionDoc']())[_0x9dcb14(0x115)](_0x9dcb14(0xd7)+_0x35d802[_0x9dcb14(0x13a)]+'\x27.'),delete _0x1f615e['temperature']);const _0x1c4912=_0x19ac1d[_0x9dcb14(0x9d)]();if(_0x5c48e7){const _0x5aad9e=message_util_1[_0x9dcb14(0x149)][_0x9dcb14(0xaa)](_0x5c48e7['id']);if(_0x31fefa['Rnpvw'](_0x5aad9e,_0x19ac1d[_0x9dcb14(0xca)]())){if(_0x31fefa[_0x9dcb14(0xd2)](_0x9dcb14(0x13e),_0x31fefa[_0x9dcb14(0x10e)]))await _0xf9c826[_0x9dcb14(0x98)](),message_util_1[_0x9dcb14(0x149)][_0x9dcb14(0x10a)](_0x5c48e7,_0x19ac1d),_0x5c48e7=_0x19ac1d[_0x9dcb14(0x124)](_0x5c48e7,_0x5aad9e);else{const _0x51f8f3=_0x2adbdd?function(){const _0x2ed108=_0x9dcb14;if(_0x2d4cbe){const _0x1505b0=_0x5ddeef[_0x2ed108(0xfd)](_0x42186e,arguments);return _0x299066=null,_0x1505b0;}}:function(){};return _0x23195c=![],_0x51f8f3;}}}else{const _0x5b8931=message_util_1[_0x9dcb14(0x149)]['peek'](_0x1c4912);if(_0x5b8931&&_0x5b8931[_0x9dcb14(0xc0)]!==_0x9dcb14(0xb4)){if(_0x31fefa[_0x9dcb14(0xd2)](_0x31fefa[_0x9dcb14(0xd8)],_0x31fefa[_0x9dcb14(0xd8)]))_0x9320c9=_0x429272[_0x9dcb14(0xd0)];else{const _0x325d17=message_util_1[_0x9dcb14(0x149)]['messageStep'](_0x5b8931['id']);_0x31fefa[_0x9dcb14(0x10b)](_0x325d17,_0x19ac1d[_0x9dcb14(0xca)]())&&(await _0xf9c826[_0x9dcb14(0x98)](),_0x5c48e7=_0x19ac1d[_0x9dcb14(0x124)](_0x5c48e7,_0x325d17));}}else await _0xf9c826[_0x9dcb14(0x98)](),_0x5c48e7=_0x19ac1d[_0x9dcb14(0x124)](_0x5c48e7);}if(_0x19ac1d[_0x9dcb14(0x151)]())return logic_runner_1['LogicRunner']['send'](_0xf9c826);let _0x295e8d=_0x35d802[_0x9dcb14(0xbe)](_0x1f615e),_0x34f9b1=_0x19ac1d[_0x9dcb14(0xd4)]()??[];const _0x4fc168=await _0x19ac1d[_0x9dcb14(0xfa)]();_0x1c4912[0x0]=new messages_1[(_0x9dcb14(0xa3))]({'content':_0x4fc168,'id':_0x19ac1d[_0x9dcb14(0x137)]()});if(_0x5c48e7){const _0x5bdfcb=_0x1c4912[_0x1c4912[_0x9dcb14(0xea)]-0x1];if(!message_util_1['MessageUtil']['isSame'](_0x5bdfcb,_0x5c48e7)){if(_0x31fefa[_0x9dcb14(0x14c)](_0x31fefa[_0x9dcb14(0x136)],_0x31fefa['bSTvf']))_0x1c4912['push'](_0x5c48e7);else throw new _0x2b79f8('Flow\x20\x27'+_0x2fe251['constructor'][_0x9dcb14(0x13a)]+_0x9dcb14(0xff)+_0x330f6c+_0x9dcb14(0x120)+_0x4a8b53+'\x27.');}}const _0x2d7b28=_0x5c48e7?.[_0x9dcb14(0x12a)][_0x31fefa[_0x9dcb14(0xe3)]];_0x2d7b28&&(_0x34f9b1=[]);_0x295e8d=_0x35d802[_0x9dcb14(0x9e)](_0x295e8d,_0x34f9b1);const _0x4e7fdd=_0x19ac1d[_0x9dcb14(0xf3)]();return _0x4e7fdd&&(_0x295e8d=_0x295e8d[_0x9dcb14(0xaf)](_0x4e7fdd)),_0x2808ae=await retry_1['Retry'][_0x9dcb14(0xe7)]({'maxRetries':core_config_1[_0x9dcb14(0x122)][_0x9dcb14(0x119)],'delayMs':0x1f4,'onMain':async()=>{const _0x67e4b3=_0x9dcb14;if(_0x31fefa[_0x67e4b3(0xa9)](_0x31fefa[_0x67e4b3(0xb9)],_0x31fefa[_0x67e4b3(0xb9)])){_0x2808ae=await _0x295e8d[_0x67e4b3(0xa6)](_0x1c4912);const _0x568169=_0x2808ae[_0x67e4b3(0xdc)];return _0xf9c826[_0x67e4b3(0xf8)](_0x568169),_0x2808ae;}else return _0x17ddb8[_0x67e4b3(0x11f)][_0x67e4b3(0xa2)](_0x23b713);},'onWarn':(_0x2c1d46,_0x4b7841,_0xb8d94d)=>{const _0x700893=_0x9dcb14;new session_logger_1[(_0x700893(0x12b))](_0xf9c826['getSessionDoc']())[_0x700893(0x115)]('Attempt\x20'+_0x2c1d46+_0x700893(0xbf)+_0x4b7841+_0x700893(0x107)+(_0xb8d94d?_0xb8d94d[_0x700893(0xa5)]:_0x31fefa['rIsxJ']));},'shouldRetry':(_0x1f6736,_0x19fb92)=>{const _0x34e315=_0x9dcb14,_0xa079cc={'MoZBO':_0x34e315(0xec)};if(_0x31fefa[_0x34e315(0xe0)](_0x31fefa[_0x34e315(0xef)],_0x31fefa[_0x34e315(0xc7)]))_0x426833=[];else{if(LlmRunner[_0x34e315(0x9c)](_0x1f6736)){if(_0x31fefa[_0x34e315(0xb3)](_0x31fefa[_0x34e315(0x116)],_0x31fefa['IAtbh']))return _0x1c4912[_0x34e315(0x91)](),_0x31fefa[_0x34e315(0xc3)](_0x19fb92,0x2)&&(_0x31fefa[_0x34e315(0xed)](_0x34e315(0x12d),_0x31fefa['prfro'])?_0x1c4912[_0x34e315(0x91)]():(_0x5a327d['isToolAvailable'](_0x3e3c41[_0x34e315(0x13a)])?(new _0x5199df[(_0x34e315(0x12b))](_0x8cad23[_0x34e315(0xf7)]())[_0x34e315(0x115)](_0x34e315(0xde)+_0x2536a4[_0x34e315(0x13a)]),_0x4ae348=new _0x49dc72[(_0x34e315(0x113))](_0x11e644,_0x495fbe)):(new _0x43d69f['SessionLogger'](_0x27203e[_0x34e315(0xf7)]())[_0x34e315(0x115)](_0x34e315(0xa1)+_0x46c145[_0x34e315(0x13a)]),_0x137381=new _0x5caa33[(_0x34e315(0x143))](_0x3787ea,_0x5c16a5,_0x34e315(0x127)+_0x3b56db[_0x34e315(0x13a)])),_0x79fdd1['push'](_0x412735))),_0x1c4912[_0x34e315(0x133)](new messages_1[(_0x34e315(0x125))]({'content':_0x31fefa[_0x34e315(0x123)],'id':_0x19ac1d['genMessageId']()})),!![];else _0x5eeb75=_0x4aaa58[_0x34e315(0x99)][_0xa079cc['MoZBO']];}else return![];}},'onFinalError':_0x4710b3=>{const _0x50a5e9=_0x9dcb14;throw new Error(_0x50a5e9(0xb2)+LlmRunner[_0x50a5e9(0xf6)](_0x2808ae)+_0x50a5e9(0x107)+(_0x4710b3?_0x4710b3['message']:_0x31fefa[_0x50a5e9(0x11e)]));}}),await LlmRunner[_0x9dcb14(0x97)](_0xf9c826,_0x2808ae,_0x3cd695);}static async[a9_0x571b47(0x97)](_0x58057d,_0xbe6485,_0xa4113){const _0x5c2b2a=a9_0x571b47,_0x3eafa7={'EcSLr':function(_0x4cdf2f,_0x221f64){return _0x4cdf2f>=_0x221f64;},'SVLYU':_0x5c2b2a(0xa4),'dgRei':function(_0x3b42bf,_0x58e05a){return _0x3b42bf>_0x58e05a;},'DvjQz':function(_0x59050b,_0x90427d){return _0x59050b===_0x90427d;},'WoZwC':_0x5c2b2a(0xc0),'UJTmA':function(_0x1e102e,_0x445154){return _0x1e102e!==_0x445154;},'lpYZD':_0x5c2b2a(0xfc),'jnjoC':function(_0x493dab,_0x9d8868){return _0x493dab!==_0x9d8868;},'HfkNR':'ZRnsQ','yQPts':_0x5c2b2a(0xac),'xpZvi':_0x5c2b2a(0x9a)};(0x0,verify_license_1[_0x5c2b2a(0xce)])(core_config_1[_0x5c2b2a(0x122)][_0x5c2b2a(0xd9)]);const _0x2ed0aa=_0x58057d[_0x5c2b2a(0x11c)]();if(_0x2ed0aa['isLogic']())return logic_runner_1[_0x5c2b2a(0x11f)][_0x5c2b2a(0xa2)](_0x58057d);const _0x3899de=_0x2ed0aa['getMemory']();if(tool_util_1['ToolUtil'][_0x5c2b2a(0x8e)](_0xbe6485)){let _0x4f2dd3='';if(Array['isArray'](_0xbe6485?.[_0x5c2b2a(0xe4)])&&_0x3eafa7[_0x5c2b2a(0x104)](_0xbe6485?.[_0x5c2b2a(0xe4)]?.[_0x5c2b2a(0xea)],0x1))for(const _0x469f27 of _0xbe6485[_0x5c2b2a(0xe4)]){if(_0x469f27&&_0x3eafa7['DvjQz'](_0x469f27[_0x3eafa7[_0x5c2b2a(0xf5)]],_0x5c2b2a(0xd0))){if(_0x3eafa7[_0x5c2b2a(0xd1)](_0x3eafa7[_0x5c2b2a(0xa8)],_0x3eafa7[_0x5c2b2a(0xa8)]))return _0x138f4a[_0x5c2b2a(0x91)](),_0x3eafa7['EcSLr'](_0x540942,0x2)&&_0x1f20f6[_0x5c2b2a(0x91)](),_0x521cf7[_0x5c2b2a(0x133)](new _0x4b1fb7[(_0x5c2b2a(0x125))]({'content':_0x3eafa7['SVLYU'],'id':_0x22237d[_0x5c2b2a(0x137)]()})),!![];else _0x4f2dd3=_0x469f27[_0x5c2b2a(0xd0)];}}const _0x42ff7e=await LlmRunner['callTool'](_0x2ed0aa,_0x58057d,_0xbe6485?.[_0x5c2b2a(0x140)]),_0x327d85=new message_util_2['ToolCallMessage'](_0x2ed0aa,_0xbe6485['tool_calls']);return _0x3899de[_0x5c2b2a(0x133)](_0x327d85),LlmRunner[_0x5c2b2a(0xc6)](_0x58057d,_0x2ed0aa,_0x4f2dd3,_0xbe6485[_0x5c2b2a(0x140)],_0x42ff7e);}else{let _0x354add;_0xa4113?_0x3eafa7[_0x5c2b2a(0x11b)](_0x3eafa7[_0x5c2b2a(0xf1)],_0x3eafa7[_0x5c2b2a(0x145)])?_0x354add=_0xa4113+'\x0a'+(_0xbe6485?.[_0x5c2b2a(0xe4)]??_0xbe6485):_0x372720['pop']():_0x354add=_0xbe6485?.[_0x5c2b2a(0xe4)]??_0xbe6485;const _0x4bb318=await _0x2ed0aa[_0x5c2b2a(0x97)](_0x354add);if(typeof _0x4bb318===_0x3eafa7[_0x5c2b2a(0xd5)]){const _0x1ca323=_0x4bb318;return await _0x58057d[_0x5c2b2a(0xad)](_0x1ca323),await LlmRunner[_0x5c2b2a(0xa2)](_0x58057d,null,null);}else return _0x354add=_0x4bb318,_0x3899de['push'](new messages_1[(_0x5c2b2a(0xdd))]({'content':_0x354add,'id':_0x2ed0aa['genMessageId']()})),_0x354add;}}static async[a9_0x571b47(0xc6)](_0x1c54db,_0x146c96,_0x32809a,_0x278beb,_0x309727){const _0x3b3a8a=a9_0x571b47,_0x573f4f={'rnwQJ':function(_0x3412eb,_0x28621b){return _0x3412eb>=_0x28621b;},'ugKco':_0x3b3a8a(0xa4),'UsNFL':_0x3b3a8a(0x134),'MupXG':function(_0x3b21c2){return _0x3b21c2();},'tDaGL':function(_0x499a56,_0x302f6f){return _0x499a56===_0x302f6f;},'eQZPS':'cAuMV','yEori':'aCFvF','JgPik':function(_0x49eb09,_0x20e019){return _0x49eb09!==_0x20e019;},'sPRxE':_0x3b3a8a(0xe9),'RKgXZ':_0x3b3a8a(0xf0),'evFpY':_0x3b3a8a(0xd6),'WxdwW':_0x3b3a8a(0xc2),'LPdly':_0x3b3a8a(0x92)},_0x5dfd87=_0x573f4f[_0x3b3a8a(0xcb)](Array);for(const _0x1b13a5 of _0x278beb){let _0x3a2548=![];for(const _0x20809a of _0x309727){if(_0x573f4f['tDaGL'](_0x20809a[_0x3b3a8a(0xc0)],_0x3b3a8a(0x13d))&&_0x1b13a5['id']===_0x20809a[_0x3b3a8a(0xdf)]){if(_0x573f4f[_0x3b3a8a(0xbb)](_0x573f4f[_0x3b3a8a(0x109)],_0x573f4f['yEori']))return _0x42ae0f[_0x3b3a8a(0x9c)](_0xa9a28b)?(_0x3f1226[_0x3b3a8a(0x91)](),_0x573f4f[_0x3b3a8a(0x12e)](_0x5a79ee,0x2)&&_0x48dba8['pop'](),_0x4e4372[_0x3b3a8a(0x133)](new _0x5d90d2[(_0x3b3a8a(0x125))]({'content':_0x573f4f[_0x3b3a8a(0x12c)],'id':_0x4ef4f2[_0x3b3a8a(0x137)]()})),!![]):![];else _0x3a2548=!![],_0x5dfd87[_0x3b3a8a(0x133)](_0x20809a);}}if(!_0x3a2548){if(_0x573f4f[_0x3b3a8a(0x138)](_0x3b3a8a(0xe9),_0x573f4f['sPRxE']))return _0x573f4f['UsNFL'];else{const _0x407155=new message_util_2['ToolMessageOK'](_0x146c96,_0x1b13a5);_0x5dfd87[_0x3b3a8a(0x133)](_0x407155);}}}const _0x4355c8=_0x146c96['getMemory']();_0x4355c8[_0x3b3a8a(0x133)](..._0x5dfd87);for(const _0x3a5bad of _0x309727){if(_0x3a5bad[_0x3b3a8a(0xc0)]==='ai'){const _0x20350e=_0x3a5bad[_0x3b3a8a(0x12a)][_0x573f4f[_0x3b3a8a(0xee)]];if(_0x20350e)return _0x4355c8[_0x3b3a8a(0x133)](_0x3a5bad),_0x3a5bad[_0x3b3a8a(0xe4)];}}for(const _0x4fb616 of _0x309727){if(_0x573f4f[_0x3b3a8a(0x14b)]!==_0x573f4f['WxdwW']){if(_0x4fb616[_0x3b3a8a(0xc0)]===_0x573f4f['LPdly'])return await LlmRunner['send'](_0x1c54db,_0x4fb616,_0x32809a);}else _0x44cda9[_0x3b3a8a(0xc8)](_0x72185c[_0x3b3a8a(0x146)]);}return await LlmRunner[_0x3b3a8a(0xa2)](_0x1c54db,null,_0x32809a);}static async[a9_0x571b47(0x100)](_0x4015d4,_0x5b9a44,_0x7eed51){const _0x4f7244=a9_0x571b47,_0x2f1bc8={'vbbvo':_0x4f7244(0x128),'FqRpd':_0x4f7244(0x10c),'UnGPR':function(_0xef231,_0x27ee8a){return _0xef231!==_0x27ee8a;},'lmQdA':_0x4f7244(0x8c),'pKeSg':function(_0x10c978,_0x44c673){return _0x10c978===_0x44c673;},'yaNaS':_0x4f7244(0x9a),'VvThg':_0x4f7244(0xcc),'XaXZf':function(_0x1b2d8b,_0x22e037){return _0x1b2d8b===_0x22e037;},'OwqMG':function(_0x1a1031,_0x26e747){return _0x1a1031!==_0x26e747;},'XkWBS':_0x4f7244(0xb5),'Lbvrg':_0x4f7244(0x139),'ydjUe':'UdrqV','sExCB':_0x4f7244(0x13d),'gBmaz':_0x4f7244(0xa5),'qUIXX':_0x4f7244(0x94)},_0x2c36c5=new Array();for(const _0x210fb4 of _0x7eed51){let _0x4b0f5c;if(typeof _0x4015d4[_0x210fb4[_0x4f7244(0x13a)]]==='function'){if(_0x2f1bc8[_0x4f7244(0x147)]===_0x4f7244(0xc4))_0x58932e[_0x4f7244(0x133)](_0x2d312b);else{const _0x3b1bfb=await _0x4015d4[_0x210fb4[_0x4f7244(0x13a)]](_0x210fb4);if(typeof _0x3b1bfb===_0x2f1bc8[_0x4f7244(0x11d)]){if(_0x2f1bc8[_0x4f7244(0x114)](_0x2f1bc8['lmQdA'],'Zfhlf')){const _0x545bfb=_0x3b92a5[_0x4f7244(0xfd)](_0x51229b,arguments);return _0x517bbb=null,_0x545bfb;}else await _0x5b9a44[_0x4f7244(0x95)](_0x3b1bfb),_0x2c36c5['push'](new message_util_2[(_0x4f7244(0x113))](_0x4015d4,_0x210fb4));}else{if(_0x2f1bc8[_0x4f7244(0xb7)](typeof _0x3b1bfb,_0x2f1bc8[_0x4f7244(0x148)]))await _0x5b9a44[_0x4f7244(0xad)](_0x3b1bfb),_0x2c36c5[_0x4f7244(0x133)](new message_util_2['ToolMessageOK'](_0x4015d4,_0x210fb4));else{if(_0x3b1bfb&&_0x2f1bc8['VvThg']in _0x3b1bfb){let _0x3364ff;if(_0x2f1bc8[_0x4f7244(0x150)](typeof _0x3b1bfb[_0x4f7244(0xcc)],_0x4f7244(0x10c))){if(_0x2f1bc8[_0x4f7244(0xf4)](_0x2f1bc8[_0x4f7244(0x130)],_0x2f1bc8[_0x4f7244(0xd3)]))_0x3364ff=await _0x5b9a44[_0x4f7244(0x95)](_0x3b1bfb[_0x4f7244(0xcc)]);else return _0x23440d[_0x4f7244(0x11f)][_0x4f7244(0xa2)](_0x5d5d11);}else _0x3364ff=await _0x5b9a44[_0x4f7244(0xad)](_0x3b1bfb[_0x4f7244(0xcc)]);_0x3b1bfb['prompt']&&_0x3364ff[_0x4f7244(0xc8)]({'_prompt':_0x3b1bfb[_0x4f7244(0x101)]}),_0x3b1bfb[_0x4f7244(0x146)]&&(_0x2f1bc8[_0x4f7244(0xb7)](_0x2f1bc8[_0x4f7244(0xf9)],_0x2f1bc8[_0x4f7244(0xf9)])?_0x3364ff[_0x4f7244(0xc8)](_0x3b1bfb[_0x4f7244(0x146)]):_0x719fba[_0x4f7244(0xe5)]=_0x422b40[_0x4f7244(0xe5)]),_0x3b1bfb[_0x4f7244(0xe5)]&&(_0x3364ff['contentType']=_0x3b1bfb[_0x4f7244(0xe5)]),_0x3b1bfb[_0x2f1bc8[_0x4f7244(0x14f)]]?_0x4b0f5c=new message_util_1[(_0x4f7244(0x143))](_0x3364ff,_0x210fb4,_0x3b1bfb[_0x2f1bc8[_0x4f7244(0x14f)]]):_0x4b0f5c=new message_util_2[(_0x4f7244(0x113))](_0x4015d4,_0x210fb4),_0x2c36c5[_0x4f7244(0x133)](_0x4b0f5c),_0x3b1bfb[_0x2f1bc8[_0x4f7244(0x126)]]&&_0x2c36c5[_0x4f7244(0x133)](_0x3b1bfb['message']);}}}}}else{if(_0x4015d4[_0x4f7244(0x13b)](_0x210fb4[_0x4f7244(0x13a)])){if('EAqSk'!==_0x2f1bc8[_0x4f7244(0xba)])return![];else new session_logger_1[(_0x4f7244(0x12b))](_0x5b9a44[_0x4f7244(0xf7)]())['warn'](_0x4f7244(0xde)+_0x210fb4[_0x4f7244(0x13a)]),_0x4b0f5c=new message_util_2[(_0x4f7244(0x113))](_0x4015d4,_0x210fb4);}else new session_logger_1[(_0x4f7244(0x12b))](_0x5b9a44['getSessionDoc']())[_0x4f7244(0x115)](_0x4f7244(0xa1)+_0x210fb4[_0x4f7244(0x13a)]),_0x4b0f5c=new message_util_1[(_0x4f7244(0x143))](_0x4015d4,_0x210fb4,_0x4f7244(0x127)+_0x210fb4['name']);_0x2c36c5[_0x4f7244(0x133)](_0x4b0f5c);}}return _0x2c36c5;}static[a9_0x571b47(0x9c)](_0x49c2ea){const _0x587c8c=a9_0x571b47,_0x4cf4af={'iHWyJ':function(_0x1e40e9,_0x6e7db9){return _0x1e40e9===_0x6e7db9;},'shvPh':_0x587c8c(0xd0)};if(tool_util_1[_0x587c8c(0x9b)][_0x587c8c(0xc9)](_0x49c2ea)){if(!_0x49c2ea?.[_0x587c8c(0xe4)]||_0x49c2ea['content'][0x0]&&_0x4cf4af[_0x587c8c(0xb6)](_0x49c2ea[_0x587c8c(0xe4)][0x0][_0x4cf4af[_0x587c8c(0xb0)]],''))return!![];}return![];}static[a9_0x571b47(0xf6)](_0x321daf){const _0x176235=a9_0x571b47,_0x437f1b={'MRQus':function(_0x4ad606,_0x3b2552){return _0x4ad606===_0x3b2552;},'xfPcK':_0x176235(0xbc),'xtlAP':_0x176235(0xb8),'PpZeV':_0x176235(0x13f),'wmxgM':'PCZUF','vPOut':_0x176235(0x134)};if(_0x321daf?.[_0x176235(0x99)]){if(_0x437f1b['MRQus'](_0x437f1b[_0x176235(0x103)],_0x437f1b[_0x176235(0x103)])){let _0x4dcc72=_0x321daf[_0x176235(0x99)][_0x437f1b['xtlAP']];if(!_0x4dcc72)_0x4dcc72=_0x321daf[_0x176235(0x99)]['stop_reason'];else!_0x4dcc72&&(_0x4dcc72=_0x321daf[_0x176235(0x99)][_0x437f1b[_0x176235(0x112)]]);return _0x4dcc72;}else _0x529944=_0x5798bf+'\x0a'+(_0x182b7d?.['content']??_0x4f856c);}else return'mFswZ'===_0x437f1b[_0x176235(0xab)]?(_0x4a4300['push'](_0x36adc1),_0x13b103[_0x176235(0xe4)]):_0x437f1b[_0x176235(0x93)];}}exports['LlmRunner']=LlmRunner;
@@ -1 +1 @@
1
- const a10_0x556372=a10_0x1c73;(function(_0x5c3ab1,_0x1b7625){const _0x452bed=a10_0x1c73,_0x6ecb4f=_0x5c3ab1();while(!![]){try{const _0x38971d=-parseInt(_0x452bed(0x110))/0x1*(-parseInt(_0x452bed(0xef))/0x2)+-parseInt(_0x452bed(0xf6))/0x3+parseInt(_0x452bed(0xe8))/0x4*(parseInt(_0x452bed(0xe2))/0x5)+parseInt(_0x452bed(0xe9))/0x6*(-parseInt(_0x452bed(0x125))/0x7)+-parseInt(_0x452bed(0x100))/0x8*(parseInt(_0x452bed(0x127))/0x9)+parseInt(_0x452bed(0x113))/0xa*(parseInt(_0x452bed(0xfd))/0xb)+parseInt(_0x452bed(0xff))/0xc*(parseInt(_0x452bed(0x12a))/0xd);if(_0x38971d===_0x1b7625)break;else _0x6ecb4f['push'](_0x6ecb4f['shift']());}catch(_0x1da799){_0x6ecb4f['push'](_0x6ecb4f['shift']());}}}(a10_0x13e6,0xedea9));const a10_0x1f68aa=(function(){const _0x350210=a10_0x1c73,_0x29086f={'UVJME':function(_0x4aeac5,_0x2283b7){return _0x4aeac5!==_0x2283b7;},'hYozn':_0x350210(0x11b),'yuNyd':_0x350210(0xfc),'eqHOy':_0x350210(0xec)};let _0xcf0210=!![];return function(_0x23f999,_0x31659c){const _0x52caff=_0x350210,_0x592469={'GPgAQ':function(_0x4add0f,_0x2e220b){return _0x29086f['UVJME'](_0x4add0f,_0x2e220b);},'qdnJh':_0x29086f[_0x52caff(0x107)]};if(_0x29086f[_0x52caff(0x120)](_0x29086f[_0x52caff(0xe5)],_0x29086f[_0x52caff(0x118)])){const _0x5731bf=_0xcf0210?function(){const _0x43faa5=_0x52caff;if(_0x31659c){if(_0x592469['GPgAQ'](_0x592469[_0x43faa5(0x11f)],_0x592469[_0x43faa5(0x11f)]))_0x548ced[_0x43faa5(0x126)]({'_prompt':_0x3a1a4a[_0x43faa5(0x10d)]});else{const _0x2f0025=_0x31659c[_0x43faa5(0x106)](_0x23f999,arguments);return _0x31659c=null,_0x2f0025;}}}:function(){};return _0xcf0210=![],_0x5731bf;}else _0x1aeb9d['push'](..._0x568d27);};}()),a10_0x144493=a10_0x1f68aa(this,function(){const _0x575575=a10_0x1c73,_0x5e4d1b={'sRyOf':_0x575575(0xf2)};return a10_0x144493[_0x575575(0x10f)]()['search'](_0x5e4d1b[_0x575575(0x111)])[_0x575575(0x10f)]()['constructor'](a10_0x144493)[_0x575575(0x112)](_0x5e4d1b[_0x575575(0x111)]);});a10_0x144493();'use strict';function a10_0x1c73(_0x30c637,_0x1fdaa6){const _0x353761=a10_0x13e6();return a10_0x1c73=function(_0x144493,_0x1f68aa){_0x144493=_0x144493-0xe0;let _0x13e6a4=_0x353761[_0x144493];return _0x13e6a4;},a10_0x1c73(_0x30c637,_0x1fdaa6);}Object[a10_0x556372(0xf4)](exports,'__esModule',{'value':!![]}),exports[a10_0x556372(0xf7)]=void 0x0;const messages_1=require(a10_0x556372(0x104)),message_util_1=require('../utils/message-util'),llm_runner_1=require('./llm-runner');class LogicRunner{static async[a10_0x556372(0xee)](_0x286437,_0xe97e52){const _0x1d3bbc=a10_0x556372,_0xa25c7f={'dRAXg':_0x1d3bbc(0xf2),'BVPZE':function(_0x17db8c,_0x90c0ec){return _0x17db8c!==_0x90c0ec;},'JMsrp':_0x1d3bbc(0x123),'XTadT':'IwlYH','zddsG':function(_0x179e76,_0x2cbc94){return _0x179e76!=_0x2cbc94;},'tppJC':_0x1d3bbc(0x11e),'brcRn':_0x1d3bbc(0x117),'YRxri':function(_0x332b69,_0x533a82){return _0x332b69===_0x533a82;},'mJvIk':'wdLgZ','KGFha':function(_0x359f85,_0x205140){return _0x359f85!==_0x205140;},'leoQP':'LAiur','CapeE':function(_0x5d5a09,_0xf95846){return _0x5d5a09!==_0xf95846;},'lCMmK':_0x1d3bbc(0xf8),'uCJIR':_0x1d3bbc(0x128),'RRIta':'function','RmsoD':function(_0x2a1705,_0x43bf8e){return _0x2a1705 in _0x43bf8e;},'WHali':_0x1d3bbc(0x11a),'ukXHG':function(_0x275092,_0x26ff1b){return _0x275092===_0x26ff1b;},'zefGM':function(_0x3a89ee,_0x31650f){return _0x3a89ee===_0x31650f;},'eltcu':_0x1d3bbc(0x12e),'NKrRc':_0x1d3bbc(0xe0),'gduJa':_0x1d3bbc(0xf1),'Floks':function(_0x302de5,_0x21280f){return _0x302de5!==_0x21280f;},'oUppn':_0x1d3bbc(0xeb)},_0x31c2c1=_0x286437[_0x1d3bbc(0x10e)]();let _0x2a2096=_0x31c2c1[_0x1d3bbc(0xfe)]();if(_0xe97e52){if(_0xa25c7f[_0x1d3bbc(0xfa)](_0xa25c7f[_0x1d3bbc(0x10c)],_0xa25c7f[_0x1d3bbc(0x105)])){const _0x5459a8=message_util_1[_0x1d3bbc(0x109)]['messageStep'](_0xe97e52['id']);if(_0xa25c7f[_0x1d3bbc(0xf3)](_0x5459a8,_0x31c2c1[_0x1d3bbc(0x129)]())){if(_0xa25c7f['BVPZE']('GJoby',_0xa25c7f[_0x1d3bbc(0x11d)])){const _0xe5fd61=_0x46cf38?function(){if(_0x3f3775){const _0x32c256=_0x3a8ddb['apply'](_0x1c940c,arguments);return _0x25951e=null,_0x32c256;}}:function(){};return _0x41c05b=![],_0xe5fd61;}else await _0x286437[_0x1d3bbc(0x115)](),_0xe97e52=_0x31c2c1['onCrossing'](_0xe97e52,_0x5459a8);}}else return _0x241081[_0x1d3bbc(0xee)](_0x124876);}else{const _0x4698c5=message_util_1['MessageUtil'][_0x1d3bbc(0x102)](_0x2a2096);if(_0x4698c5){if(_0xa25c7f['brcRn']===_0x1d3bbc(0x117)){const _0x530b25=message_util_1[_0x1d3bbc(0x109)][_0x1d3bbc(0xf0)](_0x4698c5['id']);if(_0x530b25!=_0x31c2c1[_0x1d3bbc(0x129)]()){if(_0xa25c7f[_0x1d3bbc(0x12c)](_0xa25c7f[_0x1d3bbc(0x116)],'WcgGA')){const _0xb33a44=_0x55c31d[_0x1d3bbc(0x106)](_0x51af39,arguments);return _0x3abc2f=null,_0xb33a44;}else await _0x286437[_0x1d3bbc(0x115)](),_0xe97e52=_0x31c2c1[_0x1d3bbc(0xf9)](_0xe97e52,_0x530b25);}}else _0x371b99[_0x1d3bbc(0x122)](new _0x1b83d0[(_0x1d3bbc(0x103))]({'content':''}));}else _0xa25c7f[_0x1d3bbc(0x119)]('LAiur',_0xa25c7f[_0x1d3bbc(0x124)])?_0x2e0e26[_0x1d3bbc(0x122)](_0x36efd7['message']):(await _0x286437['saveSession'](),_0xe97e52=_0x31c2c1[_0x1d3bbc(0xf9)](_0xe97e52));}_0xa25c7f[_0x1d3bbc(0x12c)](_0x2a2096[_0x1d3bbc(0xe6)],0x0)&&(_0xa25c7f['CapeE'](_0xa25c7f['lCMmK'],_0xa25c7f['lCMmK'])?_0x5d6882[_0x1d3bbc(0x126)](_0xab6c7a[_0x1d3bbc(0x10a)]):_0x2a2096['push'](new messages_1[(_0x1d3bbc(0x103))]({'content':''})));const _0x12ec4c=_0xe97e52??new message_util_1[(_0x1d3bbc(0xe4))](_0x31c2c1,_0x1d3bbc(0xed)+_0x31c2c1[_0x1d3bbc(0x129)]());_0x2a2096[_0x1d3bbc(0x122)](_0x12ec4c);const _0x1fd0f2=await _0x31c2c1[_0x1d3bbc(0xea)](),_0x454e24=new Array();if(typeof _0x1fd0f2===_0xa25c7f['uCJIR'])await _0x286437[_0x1d3bbc(0xe3)](_0x1fd0f2);else{if(_0xa25c7f[_0x1d3bbc(0x12c)](typeof _0x1fd0f2,_0xa25c7f[_0x1d3bbc(0x10b)]))await _0x286437[_0x1d3bbc(0xe1)](_0x1fd0f2);else{if(_0xa25c7f['RmsoD'](_0xa25c7f[_0x1d3bbc(0xf5)],_0x1fd0f2)){let _0x2fdf09;_0xa25c7f[_0x1d3bbc(0xfb)](typeof _0x1fd0f2[_0x1d3bbc(0x11a)],_0xa25c7f['uCJIR'])?_0xa25c7f[_0x1d3bbc(0x12b)](_0xa25c7f['eltcu'],_0xa25c7f['NKrRc'])?_0x450a3a['contentType']=_0x33c252[_0x1d3bbc(0x114)]:_0x2fdf09=await _0x286437[_0x1d3bbc(0xe3)](_0x1fd0f2[_0x1d3bbc(0x11a)]):_0x2fdf09=await _0x286437[_0x1d3bbc(0xe1)](_0x1fd0f2[_0x1d3bbc(0x11a)]),_0x1fd0f2[_0x1d3bbc(0x10d)]&&_0x2fdf09[_0x1d3bbc(0x126)]({'_prompt':_0x1fd0f2[_0x1d3bbc(0x10d)]}),_0x1fd0f2[_0x1d3bbc(0x10a)]&&_0x2fdf09[_0x1d3bbc(0x126)](_0x1fd0f2[_0x1d3bbc(0x10a)]),_0x1fd0f2[_0x1d3bbc(0x114)]&&(_0x2fdf09[_0x1d3bbc(0x114)]=_0x1fd0f2['contentType']),_0x1fd0f2[_0xa25c7f[_0x1d3bbc(0x101)]]&&_0x454e24[_0x1d3bbc(0x122)](_0x1fd0f2[_0xa25c7f[_0x1d3bbc(0x101)]]);}}}const _0x8ba76e=_0x286437['getActiveStep']();return _0x2a2096=_0x8ba76e[_0x1d3bbc(0xfe)](),_0x454e24['length']>0x0&&_0x2a2096[_0x1d3bbc(0x122)](..._0x454e24),_0x8ba76e[_0x1d3bbc(0x11c)]()?LogicRunner[_0x1d3bbc(0xee)](_0x286437):_0xa25c7f['Floks'](_0xa25c7f[_0x1d3bbc(0x108)],_0xa25c7f['oUppn'])?_0x817417['toString']()['search'](_0x1d3bbc(0xf2))[_0x1d3bbc(0x10f)]()[_0x1d3bbc(0xe7)](_0x5ed097)[_0x1d3bbc(0x112)](OlxawL[_0x1d3bbc(0x12d)]):await llm_runner_1[_0x1d3bbc(0x121)]['send'](_0x286437);}}exports[a10_0x556372(0xf7)]=LogicRunner;function a10_0x13e6(){const _0x159d2e=['14990196WWeqfr','zefGM','YRxri','dRAXg','RCBAm','yhlWc','activate','20065fIsepM','activateByName','AiMessageEx','yuNyd','length','constructor','112hDjlKA','66HBFMRm','runLogic','nDOqD','SgEYe','Transition\x20to\x20step:','send','140jQNQeG','messageStep','message','(((.+)+)+)+$','zddsG','defineProperty','WHali','866742ydvPCE','LogicRunner','bBMHq','onCrossing','BVPZE','ukXHG','ElLGo','3894eTomEl','getMemory','12duuORE','192MZpvmg','gduJa','peek','SystemMessage','@langchain/core/messages','XTadT','apply','hYozn','oUppn','MessageUtil','state','RRIta','JMsrp','prompt','getActiveStep','toString','26148nzVmlW','sRyOf','search','8680sbyPxk','contentType','saveSession','mJvIk','FhGBk','eqHOy','KGFha','step','MXIIh','isLogic','tppJC','GJoby','qdnJh','UVJME','LlmRunner','push','ZNBgO','leoQP','1085553MrhRxO','saveState','162675fOpnBm','string','getName'];a10_0x13e6=function(){return _0x159d2e;};return a10_0x13e6();}
1
+ const a10_0x557d25=a10_0x1f90;(function(_0x18bbc6,_0x5853a8){const _0x15786e=a10_0x1f90,_0x3c2649=_0x18bbc6();while(!![]){try{const _0x22f0d5=parseInt(_0x15786e(0x1b2))/0x1+-parseInt(_0x15786e(0x190))/0x2*(parseInt(_0x15786e(0x1ba))/0x3)+-parseInt(_0x15786e(0x1a1))/0x4+parseInt(_0x15786e(0x1c5))/0x5*(parseInt(_0x15786e(0x1aa))/0x6)+-parseInt(_0x15786e(0x198))/0x7*(-parseInt(_0x15786e(0x1b0))/0x8)+-parseInt(_0x15786e(0x18f))/0x9+parseInt(_0x15786e(0x19d))/0xa;if(_0x22f0d5===_0x5853a8)break;else _0x3c2649['push'](_0x3c2649['shift']());}catch(_0x2e3daa){_0x3c2649['push'](_0x3c2649['shift']());}}}(a10_0x55a4,0x503d2));const a10_0x5a850f=(function(){const _0x622199=a10_0x1f90,_0xc91b5b={'gNAYt':function(_0x86850,_0x6dfe2a){return _0x86850===_0x6dfe2a;},'UFSwA':_0x622199(0x1ca),'tOSlz':_0x622199(0x193)};let _0x2c1310=!![];return function(_0xfc2519,_0x58d5e0){const _0x42e8a4=_0x622199;if(_0xc91b5b['gNAYt'](_0xc91b5b[_0x42e8a4(0x194)],_0xc91b5b['tOSlz']))return _0x4c0f61[_0x42e8a4(0x1d1)]()[_0x42e8a4(0x18e)](_0x42e8a4(0x192))[_0x42e8a4(0x1d1)]()[_0x42e8a4(0x19f)](_0x52065a)[_0x42e8a4(0x18e)]('(((.+)+)+)+$');else{const _0x228b19=_0x2c1310?function(){const _0x2e639c=_0x42e8a4;if(_0x58d5e0){const _0x327278=_0x58d5e0[_0x2e639c(0x1af)](_0xfc2519,arguments);return _0x58d5e0=null,_0x327278;}}:function(){};return _0x2c1310=![],_0x228b19;}};}()),a10_0x3b44e0=a10_0x5a850f(this,function(){const _0x4d98aa=a10_0x1f90,_0x5a9645={'CoOsW':'(((.+)+)+)+$'};return a10_0x3b44e0[_0x4d98aa(0x1d1)]()[_0x4d98aa(0x18e)](_0x5a9645[_0x4d98aa(0x1b4)])[_0x4d98aa(0x1d1)]()[_0x4d98aa(0x19f)](a10_0x3b44e0)[_0x4d98aa(0x18e)](_0x5a9645[_0x4d98aa(0x1b4)]);});a10_0x3b44e0();'use strict';Object[a10_0x557d25(0x1a5)](exports,a10_0x557d25(0x1c9),{'value':!![]}),exports[a10_0x557d25(0x1ad)]=void 0x0;const messages_1=require(a10_0x557d25(0x1b6)),message_util_1=require('../utils/message-util'),llm_runner_1=require(a10_0x557d25(0x19b));function a10_0x1f90(_0x1cc3f1,_0x327a7e){const _0x1ff561=a10_0x55a4();return a10_0x1f90=function(_0x3b44e0,_0x5a850f){_0x3b44e0=_0x3b44e0-0x18c;let _0x55a4a9=_0x1ff561[_0x3b44e0];return _0x55a4a9;},a10_0x1f90(_0x1cc3f1,_0x327a7e);}class LogicRunner{static async[a10_0x557d25(0x1a0)](_0x5462f4,_0x22731e){const _0x3277a7=a10_0x557d25,_0x20dbae={'VPCza':function(_0x3fc078,_0x22a9e5){return _0x3fc078!=_0x22a9e5;},'pHsTO':function(_0x4ad2c4,_0x413650){return _0x4ad2c4!==_0x413650;},'GGzwM':_0x3277a7(0x195),'HSJuc':function(_0x2cb627,_0x335331){return _0x2cb627!=_0x335331;},'hXPnM':'Isdtr','lcrsM':function(_0x379143,_0x21381e){return _0x379143===_0x21381e;},'HQvlX':_0x3277a7(0x1a7),'wkDtY':_0x3277a7(0x1a8),'Jmihb':function(_0x294e66,_0x25a8ea){return _0x294e66===_0x25a8ea;},'TErZI':_0x3277a7(0x1ab),'BvTpj':_0x3277a7(0x1c1),'gEnkr':function(_0x4120d4,_0x4dfa35){return _0x4120d4===_0x4dfa35;},'IqtBv':'oqXkb','liwiU':_0x3277a7(0x18d),'nUPPz':_0x3277a7(0x1cc),'MgSDz':'message','dvglb':function(_0x10524b,_0x16f7aa){return _0x10524b>_0x16f7aa;}},_0x1b1a89=_0x5462f4[_0x3277a7(0x1c3)]();let _0x50c45a=_0x1b1a89[_0x3277a7(0x196)]();if(_0x22731e){const _0x471f2a=message_util_1['MessageUtil'][_0x3277a7(0x1a6)](_0x22731e['id']);_0x20dbae['VPCza'](_0x471f2a,_0x1b1a89[_0x3277a7(0x1d3)]())&&(await _0x5462f4[_0x3277a7(0x191)](),_0x22731e=_0x1b1a89['onCrossing'](_0x22731e,_0x471f2a));}else{if(_0x20dbae['pHsTO'](_0x20dbae[_0x3277a7(0x1b5)],_0x3277a7(0x1c0))){const _0x54234c=message_util_1[_0x3277a7(0x19e)][_0x3277a7(0x1d0)](_0x50c45a);if(_0x54234c){const _0x54e59f=message_util_1['MessageUtil'][_0x3277a7(0x1a6)](_0x54234c['id']);if(_0x20dbae[_0x3277a7(0x1c7)](_0x54e59f,_0x1b1a89[_0x3277a7(0x1d3)]())){if(_0x3277a7(0x1b7)!==_0x20dbae[_0x3277a7(0x19c)])await _0x5462f4['saveSession'](),_0x22731e=_0x1b1a89[_0x3277a7(0x1cb)](_0x22731e,_0x54e59f);else{const _0x29e187=_0xb50dbd[_0x3277a7(0x1af)](_0x32ec86,arguments);return _0x19ba95=null,_0x29e187;}}}else{if(_0x20dbae[_0x3277a7(0x1a2)](_0x20dbae[_0x3277a7(0x1b8)],_0x20dbae[_0x3277a7(0x197)]))return _0x3f8218[_0x3277a7(0x1a0)](_0x318239);else await _0x5462f4[_0x3277a7(0x191)](),_0x22731e=_0x1b1a89['onCrossing'](_0x22731e);}}else{const _0x3e6ba2=_0x1aebad?function(){const _0x4d6d61=_0x3277a7;if(_0x254f02){const _0x53b10f=_0x3024d9[_0x4d6d61(0x1af)](_0x166ca9,arguments);return _0xe2077b=null,_0x53b10f;}}:function(){};return _0x30e108=![],_0x3e6ba2;}}_0x50c45a[_0x3277a7(0x1bf)]===0x0&&_0x50c45a[_0x3277a7(0x1ac)](new messages_1[(_0x3277a7(0x1c2))]({'content':''}));const _0x41c26c=_0x22731e??new message_util_1[(_0x3277a7(0x1cf))](_0x1b1a89,_0x3277a7(0x1c6)+_0x1b1a89['getName']());_0x50c45a[_0x3277a7(0x1ac)](_0x41c26c);const _0x1e7cce=await _0x1b1a89['runLogic'](),_0x593bd5=new Array();if(_0x20dbae[_0x3277a7(0x1c4)](typeof _0x1e7cce,_0x20dbae[_0x3277a7(0x1bd)]))await _0x5462f4[_0x3277a7(0x1a3)](_0x1e7cce);else{if(_0x20dbae[_0x3277a7(0x1a2)](typeof _0x1e7cce,_0x3277a7(0x1d2)))await _0x5462f4[_0x3277a7(0x1bc)](_0x1e7cce);else{if(_0x20dbae[_0x3277a7(0x18c)]in _0x1e7cce){let _0x1cbf1d;_0x20dbae[_0x3277a7(0x1ae)](typeof _0x1e7cce[_0x3277a7(0x1c1)],_0x20dbae[_0x3277a7(0x1bd)])?_0x1cbf1d=await _0x5462f4[_0x3277a7(0x1a3)](_0x1e7cce[_0x3277a7(0x1c1)]):_0x20dbae[_0x3277a7(0x1bb)]!=='tLqMY'?_0x1cbf1d=await _0x5462f4['activate'](_0x1e7cce[_0x3277a7(0x1c1)]):_0x3a18f2[_0x3277a7(0x1cd)](_0x2fd302['state']),_0x1e7cce[_0x3277a7(0x1ce)]&&(_0x20dbae[_0x3277a7(0x1ae)](_0x3277a7(0x18d),_0x20dbae[_0x3277a7(0x1be)])?_0x1cbf1d[_0x3277a7(0x1cd)]({'_prompt':_0x1e7cce['prompt']}):_0x19a909[_0x3277a7(0x1ac)](_0x56584e[_0x3277a7(0x1b1)])),_0x1e7cce[_0x3277a7(0x1b9)]&&_0x1cbf1d[_0x3277a7(0x1cd)](_0x1e7cce['state']),_0x1e7cce[_0x3277a7(0x1a4)]&&(_0x20dbae[_0x3277a7(0x19a)]==='Uzbox'?_0xa146f2[_0x3277a7(0x1ac)](new _0x462280['SystemMessage']({'content':''})):_0x1cbf1d[_0x3277a7(0x1a4)]=_0x1e7cce[_0x3277a7(0x1a4)]),_0x1e7cce[_0x20dbae[_0x3277a7(0x1b3)]]&&_0x593bd5['push'](_0x1e7cce[_0x3277a7(0x1b1)]);}}}const _0x27a08d=_0x5462f4[_0x3277a7(0x1c3)]();return _0x50c45a=_0x27a08d[_0x3277a7(0x196)](),_0x20dbae[_0x3277a7(0x199)](_0x593bd5[_0x3277a7(0x1bf)],0x0)&&_0x50c45a[_0x3277a7(0x1ac)](..._0x593bd5),_0x27a08d[_0x3277a7(0x1a9)]()?LogicRunner[_0x3277a7(0x1a0)](_0x5462f4):await llm_runner_1[_0x3277a7(0x1c8)][_0x3277a7(0x1a0)](_0x5462f4);}}function a10_0x55a4(){const _0x31d15e=['activateByName','contentType','defineProperty','messageStep','UlHPU','jXSnV','isLogic','7284AZSAXJ','string','push','LogicRunner','gEnkr','apply','8672nFWdsc','message','610133xHXsmt','MgSDz','CoOsW','GGzwM','@langchain/core/messages','FkSnT','HQvlX','state','15LrkzxF','IqtBv','activate','TErZI','liwiU','length','VtBeQ','step','SystemMessage','getActiveStep','Jmihb','515ElQaxy','Transition\x20to\x20step:','HSJuc','LlmRunner','__esModule','nMRcs','onCrossing','ZEGFU','saveState','prompt','AiMessageEx','peek','toString','function','getName','BvTpj','tGEEH','search','5413311PqVeQg','49150WzvfPp','saveSession','(((.+)+)+)+$','BABJp','UFSwA','GNHtB','getMemory','wkDtY','2807NYfNnl','dvglb','nUPPz','./llm-runner','hXPnM','2886370BhZiqC','MessageUtil','constructor','send','1621936NpZbkT','lcrsM'];a10_0x55a4=function(){return _0x31d15e;};return a10_0x55a4();}exports[a10_0x557d25(0x1ad)]=LogicRunner;
@@ -1 +1 @@
1
- const a11_0xa9ecf4=a11_0x1435;(function(_0x34bcc6,_0x1dad9f){const _0x4db2ce=a11_0x1435,_0x594328=_0x34bcc6();while(!![]){try{const _0x5f1711=parseInt(_0x4db2ce(0xe1))/0x1*(parseInt(_0x4db2ce(0xdc))/0x2)+-parseInt(_0x4db2ce(0xd1))/0x3*(parseInt(_0x4db2ce(0xdb))/0x4)+-parseInt(_0x4db2ce(0xe2))/0x5+parseInt(_0x4db2ce(0xcf))/0x6+-parseInt(_0x4db2ce(0xe3))/0x7*(parseInt(_0x4db2ce(0xda))/0x8)+parseInt(_0x4db2ce(0xce))/0x9*(-parseInt(_0x4db2ce(0xcc))/0xa)+parseInt(_0x4db2ce(0xd8))/0xb;if(_0x5f1711===_0x1dad9f)break;else _0x594328['push'](_0x594328['shift']());}catch(_0x1f62c8){_0x594328['push'](_0x594328['shift']());}}}(a11_0x29a7,0x9968b));const a11_0x1faad3=(function(){const _0x52654d=a11_0x1435,_0x4ee98d={'tdgHF':function(_0x5210af,_0xde0f4b){return _0x5210af===_0xde0f4b;},'JROlE':_0x52654d(0xd6),'Wqglj':_0x52654d(0xcd),'MvTVX':'iauYV'};let _0x3f8aa9=!![];return function(_0x4d081a,_0x57d764){const _0x3b4ab6=_0x52654d;if(_0x4ee98d[_0x3b4ab6(0xdd)](_0x4ee98d['MvTVX'],_0x4ee98d[_0x3b4ab6(0xca)])){const _0x1e023e=_0x3f8aa9?function(){const _0x226a0e=_0x3b4ab6;if(_0x57d764){if(_0x4ee98d[_0x226a0e(0xdd)](_0x4ee98d[_0x226a0e(0xd9)],_0x4ee98d[_0x226a0e(0xde)])){const _0x404b83=_0x47066[_0x226a0e(0xe4)](_0x16fee2,arguments);return _0x548efd=null,_0x404b83;}else{const _0x4030e7=_0x57d764[_0x226a0e(0xe4)](_0x4d081a,arguments);return _0x57d764=null,_0x4030e7;}}}:function(){};return _0x3f8aa9=![],_0x1e023e;}else return!![];};}()),a11_0x541103=a11_0x1faad3(this,function(){const _0x512e29=a11_0x1435,_0x1bbb78={'AGkCN':_0x512e29(0xd3)};return a11_0x541103['toString']()[_0x512e29(0xd2)](_0x1bbb78[_0x512e29(0xd5)])[_0x512e29(0xd0)]()[_0x512e29(0xdf)](a11_0x541103)[_0x512e29(0xd2)](_0x1bbb78['AGkCN']);});a11_0x541103();'use strict';function a11_0x1435(_0x4b2eac,_0x5ca7d9){const _0x8d77e4=a11_0x29a7();return a11_0x1435=function(_0x541103,_0x1faad3){_0x541103=_0x541103-0xca;let _0x29a71c=_0x8d77e4[_0x541103];return _0x29a71c;},a11_0x1435(_0x4b2eac,_0x5ca7d9);}Object[a11_0xa9ecf4(0xcb)](exports,'__esModule',{'value':!![]}),exports['LogicStep']=void 0x0;const step_1=require(a11_0xa9ecf4(0xe0));class LogicStep extends step_1[a11_0xa9ecf4(0xe5)]{constructor(_0x291365,_0x28121e,_0xa079d0=![]){super(_0x291365,_0x28121e,_0xa079d0);}[a11_0xa9ecf4(0xd7)](){return!![];}}function a11_0x29a7(){const _0x383f29=['16306807AmgDKp','JROlE','24ryGTvw','2144MHVXFd','28382hANuEJ','tdgHF','Wqglj','constructor','./step','26gLZLRw','2604400AWeQsH','2039002uGaptG','apply','Step','MvTVX','defineProperty','1269680FGylHw','gNWHb','9mGQuAs','6175404xuVWUG','toString','4089GvFDIv','search','(((.+)+)+)+$','LogicStep','AGkCN','QyxCN','isLogic'];a11_0x29a7=function(){return _0x383f29;};return a11_0x29a7();}exports[a11_0xa9ecf4(0xd4)]=LogicStep;
1
+ function a11_0x19b2(){const _0x2c1e3e=['mZZRI','./step','161mLuLgT','LogicStep','__esModule','971252fvdPAi','1634634aAQSaG','HnPUo','toString','56525McPkNr','pDNfP','gDbAm','search','13637169pKuLPS','3XaRbHP','constructor','65864TduaFG','isLogic','5123690BwNxuH','(((.+)+)+)+$','12loFDtb','defineProperty','896142rtTTut'];a11_0x19b2=function(){return _0x2c1e3e;};return a11_0x19b2();}function a11_0x3530(_0x314018,_0x3ddeec){const _0x5a5daf=a11_0x19b2();return a11_0x3530=function(_0x25a496,_0x1842ce){_0x25a496=_0x25a496-0x176;let _0x19b298=_0x5a5daf[_0x25a496];return _0x19b298;},a11_0x3530(_0x314018,_0x3ddeec);}const a11_0x264c29=a11_0x3530;(function(_0xefeb20,_0x59e33d){const _0x151707=a11_0x3530,_0x3cae07=_0xefeb20();while(!![]){try{const _0x5bfb61=-parseInt(_0x151707(0x17f))/0x1*(-parseInt(_0x151707(0x187))/0x2)+-parseInt(_0x151707(0x185))/0x3*(-parseInt(_0x151707(0x176))/0x4)+parseInt(_0x151707(0x17a))/0x5+parseInt(_0x151707(0x177))/0x6+-parseInt(_0x151707(0x18a))/0x7*(-parseInt(_0x151707(0x181))/0x8)+-parseInt(_0x151707(0x17e))/0x9+-parseInt(_0x151707(0x183))/0xa;if(_0x5bfb61===_0x59e33d)break;else _0x3cae07['push'](_0x3cae07['shift']());}catch(_0x3612a8){_0x3cae07['push'](_0x3cae07['shift']());}}}(a11_0x19b2,0xb9c7e));const a11_0x1842ce=(function(){const _0x5de6af=a11_0x3530,_0x8811a9={'mZZRI':_0x5de6af(0x17c)};let _0x87fd3e=!![];return function(_0x1f380d,_0xda6d2a){const _0x3ff3d9=_0x5de6af,_0x552d06={'hIpWH':_0x3ff3d9(0x178),'pDNfP':_0x8811a9[_0x3ff3d9(0x188)]},_0x2de879=_0x87fd3e?function(){const _0x2a4541=_0x3ff3d9;if(_0x552d06['hIpWH']===_0x552d06[_0x2a4541(0x17b)])return!![];else{if(_0xda6d2a){const _0x1405b6=_0xda6d2a['apply'](_0x1f380d,arguments);return _0xda6d2a=null,_0x1405b6;}}}:function(){};return _0x87fd3e=![],_0x2de879;};}()),a11_0x25a496=a11_0x1842ce(this,function(){const _0x18a59f=a11_0x3530,_0x2b07d9={'DRupk':_0x18a59f(0x184)};return a11_0x25a496['toString']()[_0x18a59f(0x17d)](_0x2b07d9['DRupk'])[_0x18a59f(0x179)]()[_0x18a59f(0x180)](a11_0x25a496)[_0x18a59f(0x17d)](_0x2b07d9['DRupk']);});a11_0x25a496();'use strict';Object[a11_0x264c29(0x186)](exports,a11_0x264c29(0x18c),{'value':!![]}),exports['LogicStep']=void 0x0;const step_1=require(a11_0x264c29(0x189));class LogicStep extends step_1['Step']{constructor(_0x409cc4,_0x23d854,_0x18d8ac=![]){super(_0x409cc4,_0x23d854,_0x18d8ac);}[a11_0x264c29(0x182)](){return!![];}}exports[a11_0x264c29(0x18b)]=LogicStep;
package/flow/memory.js CHANGED
@@ -1 +1 @@
1
- const a12_0x5f5a42=a12_0x1905;(function(_0x2016e7,_0x4f0543){const _0x55d3d8=a12_0x1905,_0x13d912=_0x2016e7();while(!![]){try{const _0x39f9dc=parseInt(_0x55d3d8(0xad))/0x1*(-parseInt(_0x55d3d8(0xa4))/0x2)+parseInt(_0x55d3d8(0xb8))/0x3+-parseInt(_0x55d3d8(0xa5))/0x4+parseInt(_0x55d3d8(0xbe))/0x5*(-parseInt(_0x55d3d8(0xbb))/0x6)+-parseInt(_0x55d3d8(0xc4))/0x7+-parseInt(_0x55d3d8(0xa2))/0x8*(parseInt(_0x55d3d8(0xae))/0x9)+parseInt(_0x55d3d8(0x9d))/0xa;if(_0x39f9dc===_0x4f0543)break;else _0x13d912['push'](_0x13d912['shift']());}catch(_0x3905d2){_0x13d912['push'](_0x13d912['shift']());}}}(a12_0x550d,0x9ab0e));const a12_0x29eabb=(function(){const _0x5520fa={'raySo':'lEYrC'};let _0x4e675d=!![];return function(_0x662715,_0x144993){const _0x19cfaf=a12_0x1905;if(_0x5520fa['raySo']===_0x19cfaf(0x9e)){const _0xb7fc94=_0x4e675d?function(){if(_0x144993){const _0x2c36e2=_0x144993['apply'](_0x662715,arguments);return _0x144993=null,_0x2c36e2;}}:function(){};return _0x4e675d=![],_0xb7fc94;}else{const _0xb638d9=_0x30511e[_0x19cfaf(0xa6)](_0x3ba3a7,arguments);return _0x38665e=null,_0xb638d9;}};}()),a12_0x167633=a12_0x29eabb(this,function(){const _0x2d9c8e=a12_0x1905,_0x178851={'GtXpg':_0x2d9c8e(0xb2)};return a12_0x167633[_0x2d9c8e(0xa3)]()[_0x2d9c8e(0x9b)]('(((.+)+)+)+$')['toString']()[_0x2d9c8e(0xac)](a12_0x167633)[_0x2d9c8e(0x9b)](_0x178851[_0x2d9c8e(0xbd)]);});a12_0x167633();'use strict';function a12_0x1905(_0x864559,_0x57dcc9){const _0xf3ba73=a12_0x550d();return a12_0x1905=function(_0x167633,_0x29eabb){_0x167633=_0x167633-0x96;let _0x550dbe=_0xf3ba73[_0x167633];return _0x550dbe;},a12_0x1905(_0x864559,_0x57dcc9);}Object['defineProperty'](exports,a12_0x5f5a42(0xa9),{'value':!![]}),exports['Memory']=void 0x0;function a12_0x550d(){const _0x440e50=['10cmErNj','type','ybpzM','push','MessageUtil','get','425187xqIykJ','getMessages','AIMessage','nameSpace','cgWrD','smtby','readDoc','tool_calls','SystemMessage','ziKXv','human','content','history','makeToolStruct','search','@langchain/core/messages','26345720OMsLjL','lEYrC','bnpZP','name','xwOpS','8lfhrNR','toString','18866rzmJxd','1998904XjLRKs','apply','set','isEmptyObject','__esModule','length','hjOJf','constructor','134PPPvBa','2446866QupMti','createOoc','nameSpaceMap','status','(((.+)+)+)+$','additional_kwargs','tool','../utils/message-util','tool_call_id','map','2844837JhMUMu','YrztH','rmJzB','2558622cXIkcX','writeDoc','GtXpg'];a12_0x550d=function(){return _0x440e50;};return a12_0x550d();}const messages_1=require(a12_0x5f5a42(0x9c)),message_util_1=require(a12_0x5f5a42(0xb5));class Memory{constructor(_0x45e8e4){const _0x97048d=a12_0x5f5a42;this[_0x97048d(0xb0)]=new Map();if(_0x45e8e4)for(const _0x215f28 of _0x45e8e4){this[_0x97048d(0xc5)](_0x215f28);}else{}}[a12_0x5f5a42(0xc5)](_0x46e8f3){const _0x31a801=a12_0x5f5a42;let _0x215a30=this[_0x31a801(0xb0)][_0x31a801(0xc3)](_0x46e8f3);return!_0x215a30&&(_0x215a30=[],this[_0x31a801(0xb0)][_0x31a801(0xa7)](_0x46e8f3,_0x215a30)),_0x215a30;}[a12_0x5f5a42(0xaf)](){const _0x51b9ab=a12_0x5f5a42,_0x114013=[];for(const [_0x45afcb]of this[_0x51b9ab(0xb0)]){_0x114013[_0x51b9ab(0xc1)]({'nameSpace':_0x45afcb,'history':[]});}return _0x114013;}[a12_0x5f5a42(0xca)](_0x3acbd5){const _0x567c53=a12_0x5f5a42,_0x2a8083={'nGpRY':function(_0x16fc19,_0xb21794){return _0x16fc19===_0xb21794;},'cgWrD':_0x567c53(0xc0),'bnpZP':_0x567c53(0xb4)};for(const _0x4a64fe of _0x3acbd5){const _0x3cb23b=_0x4a64fe[_0x567c53(0x99)],_0x490e54=_0x3cb23b[_0x567c53(0xb7)](_0x118199=>{const _0x3e89f9=_0x567c53;switch(_0x118199[_0x3e89f9(0xbf)]){case'system':return new messages_1[(_0x3e89f9(0xcc))]({'content':_0x118199[_0x3e89f9(0x98)],'id':_0x118199['id']});case _0x3e89f9(0x97):return new messages_1['HumanMessage']({'content':_0x118199[_0x3e89f9(0x98)],'id':_0x118199['id'],'additional_kwargs':_0x118199[_0x3e89f9(0xb3)]});case'ai':return _0x118199[_0x3e89f9(0xcb)]?.[_0x3e89f9(0xaa)]>0x0?_0x2a8083['nGpRY'](_0x2a8083[_0x3e89f9(0xc8)],_0x3e89f9(0xc0))?new messages_1[(_0x3e89f9(0xc6))]({'content':_0x118199[_0x3e89f9(0x98)],'id':_0x118199['id'],'additional_kwargs':_0x118199[_0x3e89f9(0xb3)],'tool_calls':message_util_1['MessageUtil'][_0x3e89f9(0x9a)](_0x118199[_0x3e89f9(0xcb)])}):new _0x4df900['AIMessage']({'content':_0x45a1b5[_0x3e89f9(0x98)],'id':_0x2ed463['id'],'additional_kwargs':_0x39c9c3[_0x3e89f9(0xb3)]}):new messages_1[(_0x3e89f9(0xc6))]({'content':_0x118199[_0x3e89f9(0x98)],'id':_0x118199['id'],'additional_kwargs':_0x118199[_0x3e89f9(0xb3)]});case _0x2a8083[_0x3e89f9(0x9f)]:return new messages_1['ToolMessage']({'content':_0x118199[_0x3e89f9(0x98)],'id':_0x118199['id'],'tool_call_id':_0x118199[_0x3e89f9(0xb6)],'status':_0x118199[_0x3e89f9(0xb1)],'name':_0x118199[_0x3e89f9(0xa0)],'additional_kwargs':_0x118199[_0x3e89f9(0xb3)]});}});this[_0x567c53(0xb0)][_0x567c53(0xa7)](_0x4a64fe[_0x567c53(0xc7)],_0x490e54);}return this;}[a12_0x5f5a42(0xbc)](_0x102234){const _0x30a352=a12_0x5f5a42,_0x4419cf={'ziKXv':_0x30a352(0xc9),'rmJzB':'additional_kwargs','xwOpS':'tool','YMpPm':_0x30a352(0xb6),'fAKeY':_0x30a352(0xb1),'hjOJf':_0x30a352(0xa0),'YrztH':'tool_calls'};for(const [_0x241783,_0x3fcaed]of this[_0x30a352(0xb0)]){const _0x1cb59b=_0x3fcaed[_0x30a352(0xb7)](_0xa84d91=>{const _0x500670=_0x30a352;if(_0x4419cf[_0x500670(0x96)]===_0x4419cf['ziKXv']){const _0x5f998f={'type':_0xa84d91[_0x500670(0xbf)],'content':_0xa84d91[_0x500670(0x98)],'id':_0xa84d91['id']};!message_util_1[_0x500670(0xc2)][_0x500670(0xa8)](_0xa84d91[_0x500670(0xb3)])&&(_0x5f998f[_0x4419cf[_0x500670(0xba)]]=_0xa84d91[_0x500670(0xb3)]);switch(_0xa84d91[_0x500670(0xbf)]){case _0x4419cf[_0x500670(0xa1)]:const _0x5c2f0d=_0xa84d91;_0x5f998f[_0x4419cf['YMpPm']]=_0x5c2f0d[_0x500670(0xb6)],_0x5f998f[_0x4419cf['fAKeY']]=_0x5c2f0d['status'],_0x5f998f[_0x4419cf[_0x500670(0xab)]]=_0x5c2f0d['name'];return _0x5f998f;case'ai':const _0x2223c6=_0xa84d91;if(_0x2223c6[_0x500670(0xcb)][_0x500670(0xaa)]>0x0)return _0x5f998f[_0x4419cf[_0x500670(0xb9)]]=message_util_1['MessageUtil'][_0x500670(0x9a)](_0x2223c6[_0x500670(0xcb)]),_0x5f998f;default:return _0x5f998f;}}else for(const _0x41f514 of _0xde52){this[_0x500670(0xc5)](_0x41f514);}});let _0x148214=![];for(const _0x4eabb6 of _0x102234){if(_0x4eabb6[_0x30a352(0xc7)]===_0x241783){_0x4eabb6[_0x30a352(0x99)]=_0x1cb59b,_0x148214=!![];break;}}!_0x148214&&_0x102234[_0x30a352(0xc1)]({'nameSpace':_0x241783,'history':_0x1cb59b});}}}exports['Memory']=Memory;
1
+ const a12_0x433719=a12_0xdb98;(function(_0x5be501,_0x443a0c){const _0x554672=a12_0xdb98,_0x30aee2=_0x5be501();while(!![]){try{const _0x5d9ba0=-parseInt(_0x554672(0xf0))/0x1+parseInt(_0x554672(0x113))/0x2+parseInt(_0x554672(0x107))/0x3+parseInt(_0x554672(0x121))/0x4+-parseInt(_0x554672(0xe2))/0x5*(parseInt(_0x554672(0xe1))/0x6)+parseInt(_0x554672(0xdb))/0x7+parseInt(_0x554672(0x11d))/0x8*(-parseInt(_0x554672(0xfd))/0x9);if(_0x5d9ba0===_0x443a0c)break;else _0x30aee2['push'](_0x30aee2['shift']());}catch(_0x44d642){_0x30aee2['push'](_0x30aee2['shift']());}}}(a12_0x3d69,0x5d9a3));const a12_0x18e6bc=(function(){let _0x4be11a=!![];return function(_0x30dd4b,_0x12aaf6){const _0x53ca88=_0x4be11a?function(){const _0x7b890a=a12_0xdb98;if(_0x12aaf6){const _0x18aae8=_0x12aaf6[_0x7b890a(0xdf)](_0x30dd4b,arguments);return _0x12aaf6=null,_0x18aae8;}}:function(){};return _0x4be11a=![],_0x53ca88;};}()),a12_0x310f54=a12_0x18e6bc(this,function(){const _0x4d0ae0=a12_0xdb98,_0x2c7f54={'GbhJh':_0x4d0ae0(0xf8)};return a12_0x310f54[_0x4d0ae0(0x101)]()[_0x4d0ae0(0x110)](_0x2c7f54[_0x4d0ae0(0xe9)])[_0x4d0ae0(0x101)]()[_0x4d0ae0(0x10d)](a12_0x310f54)[_0x4d0ae0(0x110)](_0x4d0ae0(0xf8));});function a12_0xdb98(_0xf59d43,_0x1132d6){const _0x57945e=a12_0x3d69();return a12_0xdb98=function(_0x310f54,_0x18e6bc){_0x310f54=_0x310f54-0xd7;let _0x3d69b5=_0x57945e[_0x310f54];return _0x3d69b5;},a12_0xdb98(_0xf59d43,_0x1132d6);}a12_0x310f54();'use strict';function a12_0x3d69(){const _0x4512cb=['system','tool_calls','nameSpace','32tANMCU','dJBpq','DIXoB','tool_call_id','2736144hOkawz','PHqFS','SystemMessage','oeqfA','KoKBX','IeGiu','set','content','isEmptyObject','push','PtXug','3794364VryaZc','JrQNS','tgdyJ','createOoc','apply','LUgsn','30BzqXiE','640595GsmGrO','map','HaLfF','OVpgg','wiVZK','get','pOftL','GbhJh','AecnO','history','LfDNe','fRTeX','../utils/message-util','type','251624uOUUxy','VdRea','__esModule','uBBDP','iINnu','AIMessage','defineProperty','YRfEP','(((.+)+)+)+$','wTOoX','bTqqM','readDoc','HumanMessage','2274588feaOwi','SDhJD','makeToolStruct','status','toString','length','MessageUtil','iHTKN','yBdoH','wXbWA','1764294IjOyrx','xBXXY','GPPuW','getMessages','pPOzY','Memory','constructor','tool','shbQu','search','AyWzV','fjOOh','944712jZSixO','name','QBzOv','FwGNj','nameSpaceMap','tcfwL','additional_kwargs'];a12_0x3d69=function(){return _0x4512cb;};return a12_0x3d69();}Object[a12_0x433719(0xf6)](exports,a12_0x433719(0xf2),{'value':!![]}),exports[a12_0x433719(0x10c)]=void 0x0;const messages_1=require('@langchain/core/messages'),message_util_1=require(a12_0x433719(0xee));class Memory{constructor(_0x4e8727){const _0x4e6681=a12_0x433719,_0x17b3da={'pPOzY':function(_0x2deb53,_0x4e79bd){return _0x2deb53!==_0x4e79bd;},'xBXXY':'UluOY'};this[_0x4e6681(0x117)]=new Map();if(_0x4e8727){if(_0x17b3da[_0x4e6681(0x10b)](_0x17b3da[_0x4e6681(0x108)],_0x17b3da[_0x4e6681(0x108)]))this[_0x4e6681(0x10a)](_0x3210a4);else for(const _0xa8d10a of _0x4e8727){this[_0x4e6681(0x10a)](_0xa8d10a);}}else{}}[a12_0x433719(0x10a)](_0x1a08da){const _0x4ab851=a12_0x433719,_0x3c64c1={'KoKBX':_0x4ab851(0xec)};let _0x4d1588=this[_0x4ab851(0x117)][_0x4ab851(0xe7)](_0x1a08da);if(!_0x4d1588){if(_0x3c64c1[_0x4ab851(0x125)]===_0x3c64c1['KoKBX'])_0x4d1588=[],this['nameSpaceMap'][_0x4ab851(0x127)](_0x1a08da,_0x4d1588);else{const _0x2e50cf=_0xc6c56e['apply'](_0x1f16e4,arguments);return _0x76817e=null,_0x2e50cf;}}return _0x4d1588;}[a12_0x433719(0xde)](){const _0x693505=a12_0x433719,_0xcc77c5=[];for(const [_0x4a1ee3]of this[_0x693505(0x117)]){_0xcc77c5['push']({'nameSpace':_0x4a1ee3,'history':[]});}return _0xcc77c5;}[a12_0x433719(0xfb)](_0x129b4c){const _0x2f0674=a12_0x433719,_0x159918={'VupWp':_0x2f0674(0x11b),'dJBpq':'human','YRfEP':function(_0x564bea,_0x57d6ce){return _0x564bea>_0x57d6ce;},'GPPuW':_0x2f0674(0x10e),'EKVSY':function(_0x36ea50,_0x40ab76){return _0x36ea50!==_0x40ab76;},'tcfwL':_0x2f0674(0x11a),'QaQkg':function(_0x19b9f9,_0x2fec47){return _0x19b9f9>_0x2fec47;},'oeqfA':function(_0x3529e3,_0x5d506c){return _0x3529e3!==_0x5d506c;},'JrQNS':_0x2f0674(0xed)};for(const _0x119af9 of _0x129b4c){const _0x43121e=_0x119af9[_0x2f0674(0xeb)],_0x16194c=_0x43121e[_0x2f0674(0xe3)](_0x11569e=>{const _0x4ae1a4=_0x2f0674,_0x2ecb26={'iHTKN':_0x159918['dJBpq'],'jFJtV':function(_0x170681,_0x4b39fb){const _0x529f69=a12_0xdb98;return _0x159918[_0x529f69(0xf7)](_0x170681,_0x4b39fb);},'iINnu':_0x159918[_0x4ae1a4(0x109)]};if(_0x159918['EKVSY'](_0x4ae1a4(0x126),_0x4ae1a4(0x126)))return _0x152182[_0x159918['VupWp']]=_0x548b0a[_0x4ae1a4(0x103)][_0x4ae1a4(0xff)](_0x213694[_0x4ae1a4(0x11b)]),_0x14549f;else switch(_0x11569e[_0x4ae1a4(0xef)]){case _0x159918[_0x4ae1a4(0x118)]:return new messages_1[(_0x4ae1a4(0x123))]({'content':_0x11569e[_0x4ae1a4(0xd7)],'id':_0x11569e['id']});case _0x159918[_0x4ae1a4(0x11e)]:return new messages_1['HumanMessage']({'content':_0x11569e['content'],'id':_0x11569e['id'],'additional_kwargs':_0x11569e['additional_kwargs']});case'ai':if(_0x159918['QaQkg'](_0x11569e['tool_calls']?.['length'],0x0)){if(_0x159918[_0x4ae1a4(0x124)](_0x159918[_0x4ae1a4(0xdc)],_0x159918[_0x4ae1a4(0xdc)]))switch(_0x406545[_0x4ae1a4(0xef)]){case _0x4ae1a4(0x11a):return new _0x25d65d[(_0x4ae1a4(0x123))]({'content':_0x13727c['content'],'id':_0x3d6794['id']});case _0x2ecb26[_0x4ae1a4(0x104)]:return new _0x7a4455[(_0x4ae1a4(0xfc))]({'content':_0x581521['content'],'id':_0x4854ca['id'],'additional_kwargs':_0x19da2c[_0x4ae1a4(0x119)]});case'ai':return _0x2ecb26['jFJtV'](_0x232c8f[_0x4ae1a4(0x11b)]?.[_0x4ae1a4(0x102)],0x0)?new _0x16498e['AIMessage']({'content':_0x3ad604[_0x4ae1a4(0xd7)],'id':_0x598876['id'],'additional_kwargs':_0x515bdd['additional_kwargs'],'tool_calls':_0x35c854[_0x4ae1a4(0x103)][_0x4ae1a4(0xff)](_0x4b28e1['tool_calls'])}):new _0x4cf1df['AIMessage']({'content':_0x4a84af[_0x4ae1a4(0xd7)],'id':_0x3c29df['id'],'additional_kwargs':_0x1b7ab7['additional_kwargs']});case _0x2ecb26[_0x4ae1a4(0xf4)]:return new _0x3c580f['ToolMessage']({'content':_0x3f2d89['content'],'id':_0x57b0f5['id'],'tool_call_id':_0x2cff7d[_0x4ae1a4(0x120)],'status':_0x27e9a5['status'],'name':_0x4bb385[_0x4ae1a4(0x114)],'additional_kwargs':_0x42451c[_0x4ae1a4(0x119)]});}else return new messages_1[(_0x4ae1a4(0xf5))]({'content':_0x11569e['content'],'id':_0x11569e['id'],'additional_kwargs':_0x11569e['additional_kwargs'],'tool_calls':message_util_1[_0x4ae1a4(0x103)][_0x4ae1a4(0xff)](_0x11569e['tool_calls'])});}else return new messages_1[(_0x4ae1a4(0xf5))]({'content':_0x11569e[_0x4ae1a4(0xd7)],'id':_0x11569e['id'],'additional_kwargs':_0x11569e['additional_kwargs']});case _0x159918[_0x4ae1a4(0x109)]:return new messages_1['ToolMessage']({'content':_0x11569e[_0x4ae1a4(0xd7)],'id':_0x11569e['id'],'tool_call_id':_0x11569e['tool_call_id'],'status':_0x11569e[_0x4ae1a4(0x100)],'name':_0x11569e['name'],'additional_kwargs':_0x11569e[_0x4ae1a4(0x119)]});}});this[_0x2f0674(0x117)]['set'](_0x119af9[_0x2f0674(0x11c)],_0x16194c);}return this;}['writeDoc'](_0x4b6000){const _0x4f929a=a12_0x433719,_0x2dac52={'wiVZK':_0x4f929a(0x119),'AyWzV':_0x4f929a(0x10e),'wXbWA':_0x4f929a(0x120),'HaLfF':_0x4f929a(0x100),'SDhJD':_0x4f929a(0x114),'PtXug':function(_0x1c65ec,_0x3c1259){return _0x1c65ec>_0x3c1259;},'LUgsn':'kjtGP','uBBDP':'tool_calls','pOftL':function(_0x4a6f46,_0x59d1e0){return _0x4a6f46===_0x59d1e0;},'tgGxa':_0x4f929a(0x116),'wTOoX':function(_0x30d43f,_0x3d6c11){return _0x30d43f===_0x3d6c11;},'fjOOh':_0x4f929a(0x115),'yBdoH':_0x4f929a(0x122),'OVpgg':'DbvDH'};for(const [_0x28acd9,_0x201af0]of this[_0x4f929a(0x117)]){if(_0x2dac52[_0x4f929a(0xe8)](_0x2dac52['tgGxa'],'PIraE')){if(_0x8648fa){const _0x21985b=_0x43b8b2[_0x4f929a(0xdf)](_0x42efdd,arguments);return _0x69675=null,_0x21985b;}}else{const _0x4fe456=_0x201af0[_0x4f929a(0xe3)](_0x53a254=>{const _0x40d3e5=_0x4f929a,_0x547a88={'tgdyJ':_0x2dac52[_0x40d3e5(0xe6)],'AecnO':_0x2dac52[_0x40d3e5(0x111)],'XSZqr':_0x2dac52['wXbWA'],'DIXoB':_0x2dac52[_0x40d3e5(0xe4)],'bTqqM':_0x2dac52[_0x40d3e5(0xfe)],'shbQu':function(_0xf32c61,_0x2d8f5b){return _0x2dac52['PtXug'](_0xf32c61,_0x2d8f5b);},'VdRea':_0x40d3e5(0x11b)},_0x246d86={'type':_0x53a254[_0x40d3e5(0xef)],'content':_0x53a254[_0x40d3e5(0xd7)],'id':_0x53a254['id']};if(!message_util_1['MessageUtil'][_0x40d3e5(0xd8)](_0x53a254['additional_kwargs'])){if(_0x2dac52[_0x40d3e5(0xe0)]===_0x2dac52[_0x40d3e5(0xe0)])_0x246d86[_0x40d3e5(0x119)]=_0x53a254[_0x40d3e5(0x119)];else{const _0x304a5b={'type':_0x136874[_0x40d3e5(0xef)],'content':_0x56834c[_0x40d3e5(0xd7)],'id':_0x1aa790['id']};!_0x3df3bf['MessageUtil']['isEmptyObject'](_0xc2bd26[_0x40d3e5(0x119)])&&(_0x304a5b[_0x547a88[_0x40d3e5(0xdd)]]=_0x4fce94[_0x40d3e5(0x119)]);switch(_0x25c4ef[_0x40d3e5(0xef)]){case _0x547a88[_0x40d3e5(0xea)]:const _0x3ff847=_0x221700;_0x304a5b[_0x547a88['XSZqr']]=_0x3ff847[_0x40d3e5(0x120)],_0x304a5b[_0x547a88[_0x40d3e5(0x11f)]]=_0x3ff847[_0x40d3e5(0x100)],_0x304a5b[_0x547a88[_0x40d3e5(0xfa)]]=_0x3ff847['name'];return _0x304a5b;case'ai':const _0x36a293=_0x3e7b26;if(_0x547a88[_0x40d3e5(0x10f)](_0x36a293['tool_calls'][_0x40d3e5(0x102)],0x0))return _0x304a5b[_0x547a88[_0x40d3e5(0xf1)]]=_0x3c1d00[_0x40d3e5(0x103)]['makeToolStruct'](_0x36a293[_0x40d3e5(0x11b)]),_0x304a5b;default:return _0x304a5b;}}}switch(_0x53a254[_0x40d3e5(0xef)]){case _0x2dac52[_0x40d3e5(0x111)]:const _0xc4b331=_0x53a254;_0x246d86[_0x2dac52[_0x40d3e5(0x106)]]=_0xc4b331['tool_call_id'],_0x246d86[_0x2dac52[_0x40d3e5(0xe4)]]=_0xc4b331[_0x40d3e5(0x100)],_0x246d86[_0x2dac52['SDhJD']]=_0xc4b331[_0x40d3e5(0x114)];return _0x246d86;case'ai':const _0x5c08db=_0x53a254;if(_0x2dac52[_0x40d3e5(0xda)](_0x5c08db[_0x40d3e5(0x11b)][_0x40d3e5(0x102)],0x0))return _0x246d86[_0x2dac52[_0x40d3e5(0xf3)]]=message_util_1[_0x40d3e5(0x103)][_0x40d3e5(0xff)](_0x5c08db[_0x40d3e5(0x11b)]),_0x246d86;default:return _0x246d86;}});let _0x213f52=![];for(const _0x142d06 of _0x4b6000){if(_0x2dac52[_0x4f929a(0xf9)](_0x2dac52[_0x4f929a(0x112)],'QBzOv')){if(_0x142d06[_0x4f929a(0x11c)]===_0x28acd9){_0x142d06[_0x4f929a(0xeb)]=_0x4fe456,_0x213f52=!![];break;}}else _0x111a9f['push']({'nameSpace':_0x290f0d,'history':[]});}!_0x213f52&&(_0x2dac52[_0x4f929a(0x105)]!==_0x2dac52[_0x4f929a(0xe5)]?_0x4b6000[_0x4f929a(0xd9)]({'nameSpace':_0x28acd9,'history':_0x4fe456}):_0x5122d2[_0x2dac52[_0x4f929a(0xe6)]]=_0x1703b8[_0x4f929a(0x119)]);}}}}exports[a12_0x433719(0x10c)]=Memory;
package/flow/step.d.ts CHANGED
@@ -7,7 +7,12 @@ import { DynamicStructuredTool } from '@langchain/core/tools';
7
7
  import { HttpContentType } from './content-type';
8
8
  import { LLMType } from '../utils/llm-file.js';
9
9
  import { ModelOverride } from '../models/model-registry';
10
+ type RunStepRequest = {
11
+ step: StepClassType;
12
+ userMessage?: string;
13
+ };
10
14
  export declare abstract class Step {
15
+ private static readonly activeStepScope;
11
16
  protected flow: Flow;
12
17
  protected isActive: boolean;
13
18
  protected name: string;
@@ -21,10 +26,11 @@ export declare abstract class Step {
21
26
  getName(): string;
22
27
  protected onEnter(): void;
23
28
  protected onExit(): void;
24
- onResponse(llmText: string): string | StepClassType;
29
+ onResponse(llmText: string): Promise<string | StepClassType>;
25
30
  get active(): boolean;
26
31
  isLogic(): boolean;
27
32
  set active(flag: boolean);
33
+ private static withActiveStepScope;
28
34
  get contentType(): HttpContentType;
29
35
  set contentType(ctType: HttpContentType);
30
36
  getState(key?: string, isTransient?: boolean): object;
@@ -53,6 +59,7 @@ export declare abstract class Step {
53
59
  invokeTool(_tools: ToolCall[]): Promise<[string, boolean]>;
54
60
  run(userMessage: string): Promise<MessageContent | null>;
55
61
  runStep(stepClass: StepClassType, userMessage?: string): Promise<MessageContent | null>;
62
+ runSteps(steps: RunStepRequest[]): Promise<(MessageContent | null)[]>;
56
63
  isEnd(): boolean;
57
64
  writeDoc(stepDoc: StepType[]): void;
58
65
  readDoc(stepDoc: StepType[]): void;
@@ -65,3 +72,4 @@ export declare abstract class Step {
65
72
  getLLMType(): LLMType;
66
73
  structOutputSchema(): object;
67
74
  }
75
+ export {};
package/flow/step.js CHANGED
@@ -1 +1 @@
1
- const a13_0x1b6103=a13_0x1b71;(function(_0x1d85ae,_0x15704f){const _0x4d595d=a13_0x1b71,_0x21cf5e=_0x1d85ae();while(!![]){try{const _0x3fe34c=-parseInt(_0x4d595d(0x138))/0x1+parseInt(_0x4d595d(0x175))/0x2+parseInt(_0x4d595d(0x15b))/0x3*(parseInt(_0x4d595d(0x110))/0x4)+-parseInt(_0x4d595d(0x18e))/0x5*(parseInt(_0x4d595d(0x194))/0x6)+parseInt(_0x4d595d(0x127))/0x7+parseInt(_0x4d595d(0x135))/0x8*(parseInt(_0x4d595d(0x167))/0x9)+parseInt(_0x4d595d(0x116))/0xa*(-parseInt(_0x4d595d(0x109))/0xb);if(_0x3fe34c===_0x15704f)break;else _0x21cf5e['push'](_0x21cf5e['shift']());}catch(_0x41909b){_0x21cf5e['push'](_0x21cf5e['shift']());}}}(a13_0x4517,0xd145d));const a13_0x206f1b=(function(){const _0xf14833=a13_0x1b71,_0x733e90={'DljQb':function(_0x6d567a,_0x3683be){return _0x6d567a!==_0x3683be;},'NIYpu':_0xf14833(0x128),'kokCs':_0xf14833(0x15c),'luHBb':'QOkvJ'};let _0x36624b=!![];return function(_0x57390e,_0x7eb98a){const _0x589203=_0x36624b?function(){const _0x439e57=a13_0x1b71;if(_0x733e90['DljQb'](_0x733e90['NIYpu'],_0x733e90[_0x439e57(0x15d)]))return null;else{if(_0x7eb98a){if(_0x733e90[_0x439e57(0x100)]===_0x733e90[_0x439e57(0x17d)])_0x51cdc6[_0x439e57(0x12b)](new _0xe7be62['SystemMessage']({'content':'','id':this[_0x439e57(0x140)]()}));else{const _0x464076=_0x7eb98a[_0x439e57(0xf7)](_0x57390e,arguments);return _0x7eb98a=null,_0x464076;}}}}:function(){};return _0x36624b=![],_0x589203;};}()),a13_0x1db7fd=a13_0x206f1b(this,function(){const _0x4517b0=a13_0x1b71,_0x1e2742={'VPOrm':_0x4517b0(0x162)};return a13_0x1db7fd[_0x4517b0(0x10b)]()[_0x4517b0(0x169)](_0x4517b0(0x162))[_0x4517b0(0x10b)]()['constructor'](a13_0x1db7fd)[_0x4517b0(0x169)](_0x1e2742['VPOrm']);});function a13_0x4517(){const _0x3e4a9b=['setStopTool','./llm-runner','XOxVb','activateByName','85296bqUFrx','modelParams','run','244432FYxVLZ','getLastMessage','Plain','uzpmP','merge','bomKH','csSPk','claude','genMessageId','__importDefault','MerXS','LlmRunner','stopTool','kfZQa','myFtS','nDLvf','yRBtW','ouwlx','temperature','eraseMemory','isActive','UUeGk','additional_kwargs','invokeTool','UNSUPPORTED','HttpContentType','YYYY-MM-DDTHH:mm:ss.SSS[Z]','getMemory','PbWHW','getModel','HumanMessageEx','startsWith','getLLMType','dHjoq','NatQH','545037dGDaOs','zfzei','NIYpu','get','completed','keys','__esModule','(((.+)+)+)+$','readDoc','HGxEW','../utils/constants','getContext','1413rXROIc','getSessionDoc','search','NqJsl','bcoYR','UCIEG','GBYOi','getName','**Important:**\x20After\x20collecting\x20data,\x20call\x20tool\x20','contentType','lPMzw','floor','FLoFU','RGxnv','1175896zODktW','GEMINI','KAplz','utc','function','HPGej','onCrossing','modelParamsName','luHBb','map','writeDoc','flow','active','split','isLogic','_stopTool','defineProperty','yQQIu','getPrompt','toLowerCase','replace','useModel','getStopTool','getTool','createDoc','35ZDzvxV','sAIwD','length','removeState','iUbVB','nHBGr','1310622QEgtBB','runStatus','cRsIk','_prompt','format','AmYPR','omit','zsdLj','apply','upBud','isToolAvailable','saveState','onEnter','LgEci','defineTool','\x20to\x20ensure\x20the\x20tool\x20is\x20triggered.','default','kokCs','send','ApWkL','getModelParams','klScf','../utils/llm-file.js','FenJS','memorySpace','icIZy','17567fKAvUD','GaUfv','toString','ACPNB','jJsHQ','getState','trim','4zfEtau','ctType','Syaiy','getModelParamsModelName','mCztS','./content-type','7390ctvOQh','random10Digits','toDate','ANTHROPIC','name','LOBmu','SystemMessage','IamWZ','SfjaJ','vsDwB','hDncj','state','TRANSIENT','EPzgv','moment','LLMType','onExit','9571058DsMfIH','ErWWW','Step','gemini','push','mrRtU','tSQBZ','modelName','NNNxZ','seTJC'];a13_0x4517=function(){return _0x3e4a9b;};return a13_0x4517();}a13_0x1db7fd();'use strict';function a13_0x1b71(_0x22f8f6,_0x2fa668){const _0x25a9c9=a13_0x4517();return a13_0x1b71=function(_0x1db7fd,_0x206f1b){_0x1db7fd=_0x1db7fd-0xf7;let _0x451769=_0x25a9c9[_0x1db7fd];return _0x451769;},a13_0x1b71(_0x22f8f6,_0x2fa668);}var __importDefault=this&&this[a13_0x1b6103(0x141)]||function(_0x4536a7){const _0x2e454b=a13_0x1b6103;return _0x4536a7&&_0x4536a7[_0x2e454b(0x161)]?_0x4536a7:{'default':_0x4536a7};};Object[a13_0x1b6103(0x185)](exports,a13_0x1b6103(0x161),{'value':!![]}),exports['Step']=void 0x0;const lodash_1=require('lodash'),moment_1=__importDefault(require(a13_0x1b6103(0x124))),messages_1=require('@langchain/core/messages'),llm_runner_1=require(a13_0x1b6103(0x132)),message_util_1=require('../utils/message-util'),content_type_1=require(a13_0x1b6103(0x115)),llm_file_js_1=require(a13_0x1b6103(0x105)),constants_1=require(a13_0x1b6103(0x165));class Step{constructor(_0x105d94,_0x468a00,_0x435693=![]){const _0x207f34=a13_0x1b6103,_0x3d119c={'AHVYP':'2|3|1|5|8|6|0|7|4'},_0x51299c=_0x3d119c['AHVYP'][_0x207f34(0x182)]('|');let _0x22f00a=0x0;while(!![]){switch(_0x51299c[_0x22f00a++]){case'0':this[_0x207f34(0x180)]=_0x468a00;continue;case'1':this[_0x207f34(0x12e)]=undefined;continue;case'2':this['isActive']=![];continue;case'3':this[_0x207f34(0x121)]={};continue;case'4':this[_0x207f34(0x107)]=_0x105d94[_0x207f34(0x11a)];continue;case'5':this[_0x207f34(0x136)]={};continue;case'6':this[_0x207f34(0x11a)]=_0x105d94[_0x207f34(0x11a)];continue;case'7':this[_0x207f34(0x14c)]=_0x435693;continue;case'8':this[_0x207f34(0x111)]=content_type_1[_0x207f34(0x151)][_0x207f34(0x13a)];continue;}break;}}[a13_0x1b6103(0x16e)](){const _0x392980=a13_0x1b6103;return this[_0x392980(0x11a)];}[a13_0x1b6103(0xfb)](){}[a13_0x1b6103(0x126)](){}['onResponse'](_0x4d43dd){return _0x4d43dd;}get['active'](){const _0xd9a6e9=a13_0x1b6103;return this[_0xd9a6e9(0x14c)];}['isLogic'](){return![];}set[a13_0x1b6103(0x181)](_0x556b04){const _0x428434=a13_0x1b6103;!this[_0x428434(0x14c)]&&_0x556b04&&this[_0x428434(0xfb)](),this['isActive']&&!_0x556b04&&this[_0x428434(0x126)](),this[_0x428434(0x14c)]=_0x556b04;}get[a13_0x1b6103(0x170)](){const _0x1818f0=a13_0x1b6103;return this[_0x1818f0(0x111)];}set[a13_0x1b6103(0x170)](_0x34fe1b){const _0x57aae7=a13_0x1b6103;this[_0x57aae7(0x111)]=_0x34fe1b;}['getState'](_0x350a9d,_0x1b1518=![]){const _0x109d68=a13_0x1b6103,_0x271b35=_0x1b1518?(0x0,lodash_1[_0x109d68(0x15e)])(this['state'],constants_1['K']['TRANSIENT'],{}):this[_0x109d68(0x121)];if(_0x350a9d)return(0x0,lodash_1[_0x109d68(0x15e)])(_0x271b35,_0x350a9d);return _0x271b35;}['getStateAs'](_0x1b1e3e,_0x1b4e1c=![]){const _0x5783f5=a13_0x1b6103,_0x44c6de=_0x1b4e1c?(0x0,lodash_1['get'])(this[_0x5783f5(0x121)],constants_1['K']['TRANSIENT'],{}):this[_0x5783f5(0x121)];if(_0x1b1e3e)return(0x0,lodash_1[_0x5783f5(0x15e)])(_0x44c6de,_0x1b1e3e);return _0x44c6de;}[a13_0x1b6103(0xfa)](_0x44e311,_0x5ba11e=![]){const _0xc3bcc=a13_0x1b6103,_0x30d00f={'vyxug':function(_0x436659,_0x24ac70){return _0x436659===_0x24ac70;},'ZVpZP':'HCQpq'};if(_0x44e311){const _0x3676b1=Object[_0xc3bcc(0x160)](_0x44e311)[0x0];if(_0x5ba11e){if(_0x30d00f['vyxug'](_0xc3bcc(0xf8),_0x30d00f['ZVpZP']))return[];else{const _0x3858a3=(0x0,lodash_1[_0xc3bcc(0x19a)])((0x0,lodash_1[_0xc3bcc(0x15e)])(this[_0xc3bcc(0x121)],constants_1['K']['TRANSIENT'],{}),_0x3676b1);this[_0xc3bcc(0x121)]=(0x0,lodash_1['merge'])({},this[_0xc3bcc(0x121)],{[constants_1['K'][_0xc3bcc(0x122)]]:(0x0,lodash_1[_0xc3bcc(0x13c)])({},_0x3858a3,_0x44e311)});}}else this['state']=(0x0,lodash_1[_0xc3bcc(0x19a)])(this['state'],_0x3676b1),this[_0xc3bcc(0x121)]=(0x0,lodash_1[_0xc3bcc(0x13c)])({},this[_0xc3bcc(0x121)],_0x44e311);this[_0xc3bcc(0x121)]=(0x0,lodash_1[_0xc3bcc(0x13c)])(this[_0xc3bcc(0x121)],{'_saveOn':(0x0,moment_1['default'])()[_0xc3bcc(0x118)]()});}}['sessionCompleted'](){const _0x5067d4=a13_0x1b6103,_0x58c918={'sAIwD':_0x5067d4(0x15f)},_0x56cd6d=this[_0x5067d4(0x180)]['getSessionDoc']();_0x56cd6d[_0x5067d4(0x195)]=_0x58c918[_0x5067d4(0x18f)];}[a13_0x1b6103(0x166)](_0x4e6395){const _0x339fd7=a13_0x1b6103;return this[_0x339fd7(0x180)][_0x339fd7(0x166)](_0x4e6395);}[a13_0x1b6103(0x191)](_0x50a229){const _0xa78eca=a13_0x1b6103;this[_0xa78eca(0x121)]=(0x0,lodash_1[_0xa78eca(0x19a)])(this[_0xa78eca(0x121)],_0x50a229);}[a13_0x1b6103(0x187)](){const _0x3eca9f=a13_0x1b6103,_0x4349e=this[_0x3eca9f(0x10e)](_0x3eca9f(0x197));return _0x4349e?_0x4349e['toString']():null;}[a13_0x1b6103(0x17b)](_0x2e0ecb,_0x3b5ab7){const _0x3dac80=a13_0x1b6103,_0x2d8db1={'myFtS':'vvceR','FLoFU':_0x3dac80(0x10d),'mCztS':function(_0x3f3e03,_0x519712){return _0x3f3e03===_0x519712;},'bomKH':function(_0x301723,_0x907a6f){return _0x301723!==_0x907a6f;},'Syaiy':_0x3dac80(0x154),'TcgYQ':'Start'};if(!_0x2e0ecb){if(_0x2d8db1[_0x3dac80(0x146)]!==_0x2d8db1[_0x3dac80(0x173)]){const _0x5abc82=this[_0x3dac80(0x153)]();_0x2d8db1[_0x3dac80(0x114)](_0x5abc82[_0x3dac80(0x190)],0x1)&&(_0x2d8db1[_0x3dac80(0x13d)](_0x2d8db1[_0x3dac80(0x112)],_0x2d8db1[_0x3dac80(0x112)])?this[_0x3dac80(0x136)][_0x3dac80(0x14a)]=_0x2db65a:_0x2e0ecb=new message_util_1[(_0x3dac80(0x156))](this,_0x2d8db1['TcgYQ']));}else return![];}return _0x2e0ecb;}['getMemory'](){const _0x1ee7c8=a13_0x1b6103,_0x25efd2={'PKtvA':function(_0xf8beb2,_0x2bef10){return _0xf8beb2===_0x2bef10;}},_0x4c44a8=this[_0x1ee7c8(0x180)][_0x1ee7c8(0x153)](this[_0x1ee7c8(0x107)]);return _0x25efd2['PKtvA'](_0x4c44a8[_0x1ee7c8(0x190)],0x0)&&_0x4c44a8['push'](new messages_1[(_0x1ee7c8(0x11c))]({'content':'','id':this['genMessageId']()})),_0x4c44a8;}[a13_0x1b6103(0x139)](){const _0x58e26b=a13_0x1b6103,_0x3f94ea={'VZHfb':_0x58e26b(0x184),'MerXS':function(_0x5e1044,_0x3bb323){return _0x5e1044>_0x3bb323;},'bcoYR':function(_0x609d39,_0x218511){return _0x609d39!==_0x218511;},'ouwlx':_0x58e26b(0x17a),'NatQH':_0x58e26b(0x174),'nDLvf':function(_0x36a6fd,_0x2d4497){return _0x36a6fd-_0x2d4497;}},_0x5990df=this['flow'][_0x58e26b(0x153)](this['memorySpace']);if(_0x3f94ea[_0x58e26b(0x142)](_0x5990df[_0x58e26b(0x190)],0x0)){if(_0x3f94ea[_0x58e26b(0x16b)](_0x3f94ea[_0x58e26b(0x149)],_0x3f94ea[_0x58e26b(0x15a)]))return _0x5990df[_0x3f94ea[_0x58e26b(0x147)](_0x5990df[_0x58e26b(0x190)],0x1)];else{const _0xa12da4=this['getState'](_0x3f94ea['VZHfb'])[_0x303ae5],_0x285eca=_0x58e26b(0x16f)+_0x35114f+_0x58e26b(0xfe),_0x38439a=_0xa12da4?_0x285eca:'';_0x316541=_0x2cc5fe[_0x58e26b(0x189)]('{{'+_0x4a992e+'}}',_0x38439a);}}return null;}['useMemory'](_0x511d58){const _0x33c352=a13_0x1b6103;return this[_0x33c352(0x107)]=_0x511d58,this;}[a13_0x1b6103(0x18a)](_0x38fdfa,_0x230f6f){const _0xd9cde2=a13_0x1b6103;return this['modelName']=_0x38fdfa,this[_0xd9cde2(0x17c)]=_0x38fdfa,_0x230f6f&&this['useModelParams'](_0x230f6f),this;}['useModelParams'](_0x5dff33,_0x4ef481){const _0x39f2a1=a13_0x1b6103,_0x522296={'uzpmP':function(_0x909904,_0x4b3605){return _0x909904===_0x4b3605;},'XOxVb':'string','FenJS':function(_0x4c0242,_0x485af9){return _0x4c0242===_0x485af9;},'yQQIu':_0x39f2a1(0x19b),'UUeGk':_0x39f2a1(0x120),'bnDJM':function(_0x349bce,_0x26353f){return _0x349bce??_0x26353f;}};if(_0x522296[_0x39f2a1(0x13b)](typeof _0x5dff33,_0x522296[_0x39f2a1(0x133)])){if(_0x522296[_0x39f2a1(0x106)](_0x522296[_0x39f2a1(0x186)],_0x522296[_0x39f2a1(0x14d)])){if(_0x303bb6){const _0x2f9b26=_0x1ff338[_0x39f2a1(0x160)](_0xe05af2)[0x0];if(_0xed87e){const _0x34acf0=(0x0,_0x3c2fe4['omit'])((0x0,_0x4a3740['get'])(this[_0x39f2a1(0x121)],_0x1befdf['K']['TRANSIENT'],{}),_0x2f9b26);this[_0x39f2a1(0x121)]=(0x0,_0x46336e[_0x39f2a1(0x13c)])({},this[_0x39f2a1(0x121)],{[_0x539142['K'][_0x39f2a1(0x122)]]:(0x0,_0x5e967[_0x39f2a1(0x13c)])({},_0x34acf0,_0xf3c9e5)});}else this[_0x39f2a1(0x121)]=(0x0,_0x1fe635[_0x39f2a1(0x19a)])(this[_0x39f2a1(0x121)],_0x2f9b26),this[_0x39f2a1(0x121)]=(0x0,_0x340e3e['merge'])({},this[_0x39f2a1(0x121)],_0x4270c5);this[_0x39f2a1(0x121)]=(0x0,_0x126e83[_0x39f2a1(0x13c)])(this[_0x39f2a1(0x121)],{'_saveOn':(0x0,_0x503d44[_0x39f2a1(0xff)])()[_0x39f2a1(0x118)]()});}}else return this[_0x39f2a1(0x17c)]=_0x5dff33,this[_0x39f2a1(0x136)]=(0x0,lodash_1[_0x39f2a1(0x13c)])({},this[_0x39f2a1(0x136)],_0x522296['bnDJM'](_0x4ef481,{})),this;}return this[_0x39f2a1(0x17c)]=this[_0x39f2a1(0x12e)]??this[_0x39f2a1(0x180)]['getModel'](),this[_0x39f2a1(0x136)]=(0x0,lodash_1[_0x39f2a1(0x13c)])({},this[_0x39f2a1(0x136)],_0x5dff33),this;}[a13_0x1b6103(0x155)](){return this['modelName'];}[a13_0x1b6103(0x103)](){const _0x10f267=a13_0x1b6103;return this[_0x10f267(0x136)];}[a13_0x1b6103(0x113)](){const _0x42b317=a13_0x1b6103;return this[_0x42b317(0x17c)];}[a13_0x1b6103(0xfd)](){return null;}[a13_0x1b6103(0xf9)](_0x3426a2){const _0x1e5ef5=a13_0x1b6103;for(const _0x25f0ed of this[_0x1e5ef5(0x18c)]()){if(_0x25f0ed===_0x3426a2)return!![];}return![];}[a13_0x1b6103(0x18c)](){return[];}['getStopTool'](){return[];}['obtainTools'](){const _0x459c8a=a13_0x1b6103,_0x33b53e=this['getTool']();return _0x33b53e[_0x459c8a(0x17e)](_0x2fbe7e=>{const _0x13ff74=_0x459c8a;return this['flow'][_0x13ff74(0x18c)](_0x2fbe7e);});}['amendTool'](_0x5e811f){const _0x2c84af=a13_0x1b6103,_0x431acc={'EPzgv':'_stopTool'},_0x41de8f=this[_0x2c84af(0x18b)]();for(const _0xfb6a31 of _0x41de8f){const _0x40eeaa=this['getState'](_0x431acc[_0x2c84af(0x123)])[_0xfb6a31],_0x464d5d=_0x2c84af(0x16f)+_0xfb6a31+_0x2c84af(0xfe),_0x57850f=_0x40eeaa?_0x464d5d:'';_0x5e811f=_0x5e811f['replace']('{{'+_0xfb6a31+'}}',_0x57850f);}return _0x5e811f;}async[a13_0x1b6103(0x14f)](_0x4679fe){return null;}async[a13_0x1b6103(0x137)](_0x3f93ea){const _0x566e9b=a13_0x1b6103,_0xfd6f3c={'mrRtU':function(_0x520dd9,_0x5d220d){return _0x520dd9===_0x5d220d;},'GaUfv':function(_0x5a226a,_0x4fd6fe){return _0x5a226a!==_0x4fd6fe;},'cRsIk':_0x566e9b(0x192),'LgEci':'esSGr'};let _0x5a6c41;if(!_0x3f93ea)_0x5a6c41=this['onCrossing'](null);else{if(_0xfd6f3c[_0x566e9b(0x10a)](_0xfd6f3c[_0x566e9b(0x196)],_0xfd6f3c[_0x566e9b(0xfc)]))_0x5a6c41=new message_util_1['HumanMessageEx'](this,_0x3f93ea);else{for(const _0x1b6cbd of this['getTool']()){if(_0xfd6f3c[_0x566e9b(0x12c)](_0x1b6cbd,_0x2ce73f))return!![];}return![];}}const _0x36bd04=this[_0x566e9b(0x18b)]();for(const _0x5c1af2 of _0x36bd04){this[_0x566e9b(0xfa)]({'_stopTool':{[_0x5c1af2]:!![]}});}const _0x13300e=await llm_runner_1[_0x566e9b(0x143)][_0x566e9b(0x101)](this[_0x566e9b(0x180)],_0x5a6c41);return _0x13300e;}async['runStep'](_0x1f49ac,_0x17c1d4){const _0x415e1a=a13_0x1b6103,_0x1df889=await this[_0x415e1a(0x180)]['activate'](_0x1f49ac),_0x3403dd=await _0x1df889[_0x415e1a(0x137)](_0x17c1d4);return await this[_0x415e1a(0x180)][_0x415e1a(0x134)](this['name']),_0x3403dd;}['isEnd'](){const _0x588ae4=a13_0x1b6103,_0x3b6122={'icIZy':_0x588ae4(0x15f)};return this['flow'][_0x588ae4(0x168)]()[_0x588ae4(0x195)]===_0x3b6122[_0x588ae4(0x108)];}[a13_0x1b6103(0x17f)](_0x4ccd07){const _0x3d8e99=a13_0x1b6103,_0x1d3290={'nHBGr':function(_0x21ea5b,_0x5e1c31){return _0x21ea5b===_0x5e1c31;},'SfjaJ':function(_0x4429ba,_0x29d506){return _0x4429ba!==_0x29d506;},'seTJC':'completed','ACPNB':_0x3d8e99(0x145),'UCIEG':function(_0x827adc,_0x52052c){return _0x827adc===_0x52052c;},'klScf':'XOCnu','vsDwB':function(_0x4ac030,_0x292337){return _0x4ac030!==_0x292337;},'HGxEW':_0x3d8e99(0x12f)};for(const _0x30a4a4 of _0x4ccd07){if(_0x1d3290[_0x3d8e99(0x10c)]!=='kfZQa'){if(_0x1d3290[_0x3d8e99(0x193)](_0x75813f[_0x3d8e99(0x11a)],this[_0x3d8e99(0x11a)])){this[_0x3d8e99(0x14c)]=_0x2ec40b[_0x3d8e99(0x14c)],this['state']=_0x4220f6['state'];_0x1625b2[_0x3d8e99(0x12e)]&&(this[_0x3d8e99(0x12e)]=_0x48df33['modelName']);this[_0x3d8e99(0x17c)]=_0x3847cf[_0x3d8e99(0x17c)],this[_0x3d8e99(0x136)]=(0x0,_0x47d8d6['merge'])({},_0x6e8ddd[_0x3d8e99(0x136)]??{});const _0x3eb589=_0x2ca91d[_0x3d8e99(0x14a)];_0x1d3290[_0x3d8e99(0x11e)](_0x3eb589,_0x5adda6)&&this[_0x3d8e99(0x136)][_0x3d8e99(0x14a)]===_0x335052&&(this[_0x3d8e99(0x136)][_0x3d8e99(0x14a)]=_0x3eb589);}}else{if(_0x1d3290[_0x3d8e99(0x16c)](_0x30a4a4[_0x3d8e99(0x11a)],this[_0x3d8e99(0x11a)])){if(_0x1d3290[_0x3d8e99(0x11e)](_0x1d3290[_0x3d8e99(0x104)],_0x3d8e99(0x148))){_0x30a4a4[_0x3d8e99(0x14c)]=this[_0x3d8e99(0x14c)],_0x30a4a4[_0x3d8e99(0x121)]=(0x0,lodash_1['omit'])(this[_0x3d8e99(0x121)],constants_1['K'][_0x3d8e99(0x122)]);if(!this[_0x3d8e99(0x183)]()){if(_0x1d3290[_0x3d8e99(0x11f)](_0x1d3290[_0x3d8e99(0x164)],_0x1d3290[_0x3d8e99(0x164)])){const _0x5391b8=this[_0x3d8e99(0x180)]['getSessionDoc']();_0x5391b8['runStatus']=_0x1d3290[_0x3d8e99(0x130)];}else _0x30a4a4[_0x3d8e99(0x12e)]=this[_0x3d8e99(0x12e)],_0x30a4a4[_0x3d8e99(0x17c)]=this[_0x3d8e99(0x17c)],_0x30a4a4[_0x3d8e99(0x136)]=this['modelParams'];}}else _0xf7b2ff['modelName']=this['modelName'],_0x34df44[_0x3d8e99(0x17c)]=this[_0x3d8e99(0x17c)],_0x32b7ea['modelParams']=this[_0x3d8e99(0x136)];}}}}[a13_0x1b6103(0x163)](_0x2c5c4f){const _0x22b60e=a13_0x1b6103,_0x2120ca={'lPMzw':function(_0x28ee2a,_0x516654){return _0x28ee2a===_0x516654;},'LOBmu':function(_0x20e522,_0x546f22){return _0x20e522!==_0x546f22;},'csSPk':_0x22b60e(0x11d)};for(const _0xbdd10d of _0x2c5c4f){if(_0x2120ca[_0x22b60e(0x171)](_0xbdd10d['name'],this[_0x22b60e(0x11a)])){this[_0x22b60e(0x14c)]=_0xbdd10d['isActive'],this['state']=_0xbdd10d[_0x22b60e(0x121)];if(_0xbdd10d[_0x22b60e(0x12e)]){if(_0x2120ca[_0x22b60e(0x11b)](_0x2120ca[_0x22b60e(0x13e)],'IamWZ'))return(0x0,_0x7ee9b3[_0x22b60e(0x15e)])(_0x45c40c,_0x135f07);else this['modelName']=_0xbdd10d[_0x22b60e(0x12e)];}this[_0x22b60e(0x17c)]=_0xbdd10d[_0x22b60e(0x17c)],this[_0x22b60e(0x136)]=(0x0,lodash_1[_0x22b60e(0x13c)])({},_0xbdd10d[_0x22b60e(0x136)]??{});const _0x59d1a4=_0xbdd10d[_0x22b60e(0x14a)];_0x59d1a4!==undefined&&this['modelParams']['temperature']===undefined&&(this[_0x22b60e(0x136)][_0x22b60e(0x14a)]=_0x59d1a4);}}}[a13_0x1b6103(0x18d)](){const _0x1c9270=a13_0x1b6103;return{'name':this[_0x1c9270(0x11a)],'isActive':this['isActive'],'state':this[_0x1c9270(0x121)],'modelName':this[_0x1c9270(0x12e)],'modelParamsName':this[_0x1c9270(0x17c)],'modelParams':this[_0x1c9270(0x136)]};}[a13_0x1b6103(0x14b)](){const _0x51833a=a13_0x1b6103,_0x4d7ba6=this[_0x51833a(0x180)]['getMemory'](this[_0x51833a(0x107)]);return _0x4d7ba6[_0x51833a(0x190)]=0x0,_0x4d7ba6;}async['callStepTool'](_0x27e853,_0x135dcd){const _0x31590c=a13_0x1b6103,_0x3fed3e={'NqJsl':function(_0x1c5344,_0x2ce834){return _0x1c5344===_0x2ce834;},'KAplz':_0x31590c(0x179)},_0x276d7d=this[_0x31590c(0x180)]['getStep'](_0x27e853[_0x31590c(0x11a)]);return _0x3fed3e[_0x31590c(0x16a)](typeof this[_0x135dcd[_0x31590c(0x11a)]],_0x3fed3e[_0x31590c(0x177)])?await _0x276d7d[_0x135dcd['name']](_0x135dcd):_0x27e853;}[a13_0x1b6103(0x131)](_0x9e80e7){const _0xcb1639=a13_0x1b6103,_0x7829e5={'tSQBZ':_0xcb1639(0x144)},_0x5cdeb6=this[_0xcb1639(0x18b)]();for(const _0x1fab6e of _0x5cdeb6){this[_0xcb1639(0xfa)]({'_stopTool':{[_0x1fab6e]:![]}});}return _0x9e80e7[_0xcb1639(0x14e)][_0x7829e5[_0xcb1639(0x12d)]]=!![],_0x9e80e7;}['genMessageId'](){const _0x51e8fe=a13_0x1b6103,_0x3dd842={'gKMjD':_0x51e8fe(0x152)};return this[_0x51e8fe(0x11a)]+'|'+moment_1['default'][_0x51e8fe(0x178)]()[_0x51e8fe(0x198)](_0x3dd842['gKMjD'])+'|'+this[_0x51e8fe(0x117)]();}[a13_0x1b6103(0x117)](){const _0x2b50fb=a13_0x1b6103,_0x4dfcaa={'ApWkL':function(_0x4162bc,_0x19362e){return _0x4162bc+_0x19362e;},'AmYPR':function(_0x4ad8c0,_0x5254d3){return _0x4ad8c0*_0x5254d3;},'GBYOi':function(_0x2056ca,_0x48ad11){return _0x2056ca-_0x48ad11;}},_0x1a7f7a=0x3b9aca00,_0xfa8ace=0x2540be3ff;return _0x4dfcaa[_0x2b50fb(0x102)](Math[_0x2b50fb(0x172)](_0x4dfcaa[_0x2b50fb(0x199)](Math['random'](),_0x4dfcaa[_0x2b50fb(0x102)](_0x4dfcaa[_0x2b50fb(0x16d)](_0xfa8ace,_0x1a7f7a),0x1))),_0x1a7f7a);}[a13_0x1b6103(0x158)](){const _0x15e1c6=a13_0x1b6103,_0x14676f={'dHjoq':_0x15e1c6(0x12a),'aIvKn':'gpt'},_0x280089=this['modelName']||this[_0x15e1c6(0x180)]['getModel'](),_0xff5632=_0x280089[_0x15e1c6(0x10f)]()[_0x15e1c6(0x188)]();if(_0xff5632['startsWith'](_0x14676f[_0x15e1c6(0x159)]))return llm_file_js_1['LLMType'][_0x15e1c6(0x176)];if(_0xff5632[_0x15e1c6(0x157)](_0x14676f['aIvKn']))return llm_file_js_1[_0x15e1c6(0x125)]['OPENAI'];if(_0xff5632[_0x15e1c6(0x157)](_0x15e1c6(0x13f)))return llm_file_js_1[_0x15e1c6(0x125)][_0x15e1c6(0x119)];return llm_file_js_1[_0x15e1c6(0x125)][_0x15e1c6(0x150)];}['structOutputSchema'](){return null;}}exports[a13_0x1b6103(0x129)]=Step;
1
+ function a13_0x3f00(_0x247d3e,_0x46e084){const _0x42655e=a13_0x3019();return a13_0x3f00=function(_0x215c5c,_0x6280e7){_0x215c5c=_0x215c5c-0x1d5;let _0x301995=_0x42655e[_0x215c5c];return _0x301995;},a13_0x3f00(_0x247d3e,_0x46e084);}const a13_0x46e361=a13_0x3f00;(function(_0x49f28e,_0x390ffd){const _0x4612c5=a13_0x3f00,_0x463800=_0x49f28e();while(!![]){try{const _0x24042a=parseInt(_0x4612c5(0x1fc))/0x1*(-parseInt(_0x4612c5(0x248))/0x2)+-parseInt(_0x4612c5(0x1f5))/0x3+-parseInt(_0x4612c5(0x224))/0x4*(parseInt(_0x4612c5(0x22b))/0x5)+-parseInt(_0x4612c5(0x1fb))/0x6+-parseInt(_0x4612c5(0x220))/0x7+parseInt(_0x4612c5(0x24f))/0x8*(-parseInt(_0x4612c5(0x232))/0x9)+parseInt(_0x4612c5(0x26d))/0xa;if(_0x24042a===_0x390ffd)break;else _0x463800['push'](_0x463800['shift']());}catch(_0x366158){_0x463800['push'](_0x463800['shift']());}}}(a13_0x3019,0x36e4a));const a13_0x6280e7=(function(){const _0x5d5ee1={'JazBO':function(_0x3318f9,_0x5a7e96){return _0x3318f9!==_0x5a7e96;},'RUWTi':'BtFOS','lLdNJ':'VQCFx'};let _0x55bd2b=!![];return function(_0x29328c,_0x1906a7){const _0x127354=a13_0x3f00;if(_0x5d5ee1[_0x127354(0x25f)]===_0x5d5ee1[_0x127354(0x25f)]){const _0x305d26=_0x55bd2b?function(){const _0x2ed85b=_0x127354;if(_0x5d5ee1[_0x2ed85b(0x25b)](_0x5d5ee1['RUWTi'],_0x5d5ee1[_0x2ed85b(0x1e4)]))this[_0x2ed85b(0x23b)]({'_stopTool':{[_0x3b9ba0]:![]}});else{if(_0x1906a7){const _0x27f7b1=_0x1906a7['apply'](_0x29328c,arguments);return _0x1906a7=null,_0x27f7b1;}}}:function(){};return _0x55bd2b=![],_0x305d26;}else return this[_0x127354(0x285)];};}()),a13_0x215c5c=a13_0x6280e7(this,function(){const _0x554725=a13_0x3f00,_0x2dc4db={'JbAwY':_0x554725(0x1e7)};return a13_0x215c5c[_0x554725(0x267)]()[_0x554725(0x231)](_0x2dc4db['JbAwY'])[_0x554725(0x267)]()[_0x554725(0x238)](a13_0x215c5c)[_0x554725(0x231)](_0x2dc4db[_0x554725(0x264)]);});a13_0x215c5c();'use strict';var __importDefault=this&&this[a13_0x46e361(0x1d6)]||function(_0x1f8b1a){const _0x404c43=a13_0x46e361;return _0x1f8b1a&&_0x1f8b1a[_0x404c43(0x23a)]?_0x1f8b1a:{'default':_0x1f8b1a};};Object[a13_0x46e361(0x240)](exports,'__esModule',{'value':!![]}),exports['Step']=void 0x0;const lodash_1=require(a13_0x46e361(0x23f)),moment_1=__importDefault(require('moment')),messages_1=require(a13_0x46e361(0x1de)),node_async_hooks_1=require('node:async_hooks'),llm_runner_1=require(a13_0x46e361(0x20d)),message_util_1=require('../utils/message-util'),content_type_1=require(a13_0x46e361(0x20e)),llm_file_js_1=require(a13_0x46e361(0x1f3)),constants_1=require(a13_0x46e361(0x20f));function a13_0x3019(){const _0x3e2993=['VOoxG','createDoc','genMessageId','get','map','NvZyj','ZQeVd','SystemMessage','VlNUN','onExit','vCJNP','nrQAj','startsWith','YCukj','getMemory','callStepTool','1071182lYPIpC','wxADw','VmjQo','jmOSN','80740ephBdQ','BFJWy','Start','XdpaD','OPENAI','active','AsyncLocalStorage','75qRiFRp','runStatus','SHTFL','FapVF','activeStepScope','memorySpace','search','3571209dfNbjs','trim','getSessionDoc','string','onCrossing','zxOjd','constructor','UNSUPPORTED','__esModule','saveState','xzFke','lJsKc','YDbzU','lodash','defineProperty','iyUPF','TRANSIENT','mVcAf','name','JQqTB','LLMType','FKwQe','18KHPquN','sessionCompleted','hYoju','keys','push','replace','isLogic','8UXPvRt','invokeTool','random10Digits','BkJEA','getModel','useMemory','pXaZm','length','merge','GEMINI','ylqTf','FZpzp','JazBO','PIYNw','gpt','utc','lLdNJ','toDate','flow','run','DYQIe','JbAwY','WgyjL','zJOMT','toString','yATCv','getStore','VYoug','runStep','getStateAs','17760710NXhUsq','activate','claude','ovzgF','NtpYF','tiMwD','modelParamsName','qIZaL','XmsQq','**Important:**\x20After\x20collecting\x20data,\x20call\x20tool\x20','HumanMessageEx','getLLMType','send','contentType','getTool','getModelParams','getPrompt','amendTool','_stopTool','HttpContentType','zXinR','SWlqT','OoLjd','yrzTN','ctType','step','yZABK','__importDefault','YYYY-MM-DDTHH:mm:ss.SSS[Z]','modelParams','_prompt','getStep','writeDoc','EZdHl','removeState','@langchain/core/messages','temperature','floor','getContext','structOutputSchema','ShBOw','RUWTi','isEnd','fIgHf','(((.+)+)+)+$','eraseMemory','withActiveStepScope','getLastMessage','isActive','obtainTools','useModelParams','setStopTool','modelName','kjsTw','VGgiW','ksKKj','../utils/llm-file.js','smfkG','437349NUIWDY','ANTHROPIC','VAJzu','gemini','onResponse','default','1514166vyloCr','33387CafbbZ','xURrn','state','KxQAE','TNIiM','XZluf','\x20to\x20ensure\x20the\x20tool\x20is\x20triggered.','readDoc','function','defineTool','getStopTool','completed','omit','random','getState','onEnter','getModelParamsModelName','./llm-runner','./content-type','../utils/constants'];a13_0x3019=function(){return _0x3e2993;};return a13_0x3019();}class Step{constructor(_0xa831f6,_0x1fd147,_0x13ab7a=![]){const _0x4c0bd1=a13_0x46e361;this['isActive']=![],this['state']={},this[_0x4c0bd1(0x1ef)]=undefined,this['modelParams']={},this[_0x4c0bd1(0x285)]=content_type_1[_0x4c0bd1(0x280)]['Plain'],this[_0x4c0bd1(0x244)]=_0xa831f6[_0x4c0bd1(0x244)],this[_0x4c0bd1(0x261)]=_0x1fd147,this[_0x4c0bd1(0x1eb)]=_0x13ab7a,this[_0x4c0bd1(0x230)]=_0xa831f6[_0x4c0bd1(0x244)];}['getName'](){const _0x9817c6=a13_0x46e361;return this[_0x9817c6(0x244)];}[a13_0x46e361(0x20b)](){}[a13_0x46e361(0x219)](){}async[a13_0x46e361(0x1f9)](_0x33deac){return _0x33deac;}get[a13_0x46e361(0x229)](){const _0x56f573=a13_0x46e361,_0x56c7a4={'yATCv':function(_0x44cf8d,_0x46c2d4){return _0x44cf8d===_0x46c2d4;}},_0x1be493=Step[_0x56f573(0x22f)][_0x56f573(0x269)]();if(_0x1be493)return _0x56c7a4[_0x56f573(0x268)](_0x1be493[_0x56f573(0x286)],this);return this[_0x56f573(0x1eb)];}[a13_0x46e361(0x24e)](){return![];}set['active'](_0x30312b){const _0x17c952=a13_0x46e361,_0x1f8e09={'NvZyj':'gemini','DYQIe':_0x17c952(0x25d),'zxOjd':_0x17c952(0x26f),'FapVF':function(_0x4583b7,_0x753976){return _0x4583b7!==_0x753976;},'VAJzu':function(_0x2d5d85,_0xd0352d){return _0x2d5d85===_0xd0352d;},'tiMwD':function(_0xafb71c,_0x35639a){return _0xafb71c===_0x35639a;},'iyUPF':_0x17c952(0x1dc),'SWlqT':'LGJJV','KxQAE':function(_0x4e886f,_0x5b2edb){return _0x4e886f===_0x5b2edb;},'NtpYF':'svZJp','tkAyW':'bugJh'},_0x25810e=Step[_0x17c952(0x22f)][_0x17c952(0x269)]();if(_0x25810e){if(_0x30312b){if(_0x1f8e09[_0x17c952(0x22e)](_0x25810e[_0x17c952(0x286)],this)){if(_0x1f8e09[_0x17c952(0x22e)]('PctaT',_0x17c952(0x24a)))_0x25810e[_0x17c952(0x286)]&&(_0x25810e[_0x17c952(0x286)][_0x17c952(0x229)]=![]),this[_0x17c952(0x20b)](),_0x25810e[_0x17c952(0x286)]=this;else{this[_0x17c952(0x1eb)]=_0x4da337[_0x17c952(0x1eb)],this['state']=_0x49a18f[_0x17c952(0x1fe)];_0x2ee6dc['modelName']&&(this[_0x17c952(0x1ef)]=_0x130e33[_0x17c952(0x1ef)]);this[_0x17c952(0x273)]=_0xc8d1bf[_0x17c952(0x273)],this[_0x17c952(0x1d8)]=(0x0,_0x52e254[_0x17c952(0x257)])({},_0x34f46e['modelParams']??{});const _0x42d034=_0x1be480[_0x17c952(0x1df)];_0x42d034!==_0x544154&&this['modelParams'][_0x17c952(0x1df)]===_0x25996f&&(this[_0x17c952(0x1d8)][_0x17c952(0x1df)]=_0x42d034);}}}else{if(_0x1f8e09[_0x17c952(0x1f7)](_0x25810e['step'],this)){if(_0x1f8e09[_0x17c952(0x272)](_0x1f8e09[_0x17c952(0x241)],_0x1f8e09[_0x17c952(0x282)])){const _0x435fdf=this[_0x17c952(0x1ef)]||this['flow']['getModel'](),_0x45fd29=_0x435fdf[_0x17c952(0x233)]()['toLowerCase']();if(_0x45fd29[_0x17c952(0x21c)](_0x1f8e09[_0x17c952(0x215)]))return _0x570f72[_0x17c952(0x246)]['GEMINI'];if(_0x45fd29['startsWith'](_0x1f8e09[_0x17c952(0x263)]))return _0x17fc51[_0x17c952(0x246)][_0x17c952(0x228)];if(_0x45fd29[_0x17c952(0x21c)](_0x1f8e09[_0x17c952(0x237)]))return _0x5ec9be['LLMType'][_0x17c952(0x1f6)];return _0x492735[_0x17c952(0x246)][_0x17c952(0x239)];}else this['onExit'](),_0x25810e['step']=null;}}return;}!this[_0x17c952(0x1eb)]&&_0x30312b&&this[_0x17c952(0x20b)]();if(this['isActive']&&!_0x30312b){if(_0x1f8e09[_0x17c952(0x1ff)](_0x1f8e09[_0x17c952(0x271)],_0x1f8e09['tkAyW'])){if(_0x423bca){const _0x3c38ce=_0x58f364[_0x17c952(0x24b)](_0x58420c)[0x0];if(_0x5f1713){const _0x95aec3=(0x0,_0x2b2ef2[_0x17c952(0x208)])((0x0,_0x2a0cd2[_0x17c952(0x213)])(this[_0x17c952(0x1fe)],_0x4e704d['K'][_0x17c952(0x242)],{}),_0x3c38ce);this[_0x17c952(0x1fe)]=(0x0,_0x50db03['merge'])({},this[_0x17c952(0x1fe)],{[_0x173bbd['K'][_0x17c952(0x242)]]:(0x0,_0x35a88e[_0x17c952(0x257)])({},_0x95aec3,_0x15537f)});}else this[_0x17c952(0x1fe)]=(0x0,_0x2e3f15[_0x17c952(0x208)])(this[_0x17c952(0x1fe)],_0x3c38ce),this['state']=(0x0,_0xcb81a3['merge'])({},this[_0x17c952(0x1fe)],_0x4c21b4);this[_0x17c952(0x1fe)]=(0x0,_0x42c621['merge'])(this[_0x17c952(0x1fe)],{'_saveOn':(0x0,_0x2338a6[_0x17c952(0x1fa)])()['toDate']()});}}else this['onExit']();}this[_0x17c952(0x1eb)]=_0x30312b;}static async[a13_0x46e361(0x1e9)](_0x116691){const _0x37443f=a13_0x46e361;return await Step[_0x37443f(0x22f)][_0x37443f(0x262)]({'step':null},_0x116691);}get[a13_0x46e361(0x27a)](){const _0x8161ed=a13_0x46e361;return this[_0x8161ed(0x285)];}set['contentType'](_0x3b7df3){const _0x423978=a13_0x46e361;this[_0x423978(0x285)]=_0x3b7df3;}[a13_0x46e361(0x20a)](_0xe02ae7,_0x571037=![]){const _0x33e1b4=a13_0x46e361,_0x402453={'jEuSd':function(_0x114b61,_0x3c593c){return _0x114b61!==_0x3c593c;},'PIYNw':'YHyQr'},_0x35e7ee=_0x571037?(0x0,lodash_1[_0x33e1b4(0x213)])(this[_0x33e1b4(0x1fe)],constants_1['K']['TRANSIENT'],{}):this[_0x33e1b4(0x1fe)];if(_0xe02ae7){if(_0x402453['jEuSd']('JDmdN',_0x402453[_0x33e1b4(0x25c)]))return(0x0,lodash_1[_0x33e1b4(0x213)])(_0x35e7ee,_0xe02ae7);else{const _0x3af522=_0x25019c?(0x0,_0x513459[_0x33e1b4(0x213)])(this[_0x33e1b4(0x1fe)],_0x4ae1ee['K'][_0x33e1b4(0x242)],{}):this[_0x33e1b4(0x1fe)];if(_0x3c16bd)return(0x0,_0x24395c[_0x33e1b4(0x213)])(_0x3af522,_0x5bd41f);return _0x3af522;}}return _0x35e7ee;}[a13_0x46e361(0x26c)](_0x17ec3e,_0x5b8400=![]){const _0x2b2bda=a13_0x46e361,_0x4a5e96={'XqxVD':function(_0x2aed08,_0x362854){return _0x2aed08===_0x362854;},'XmsQq':_0x2b2bda(0x259)},_0x300c77=_0x5b8400?(0x0,lodash_1['get'])(this[_0x2b2bda(0x1fe)],constants_1['K']['TRANSIENT'],{}):this[_0x2b2bda(0x1fe)];if(_0x17ec3e)return _0x4a5e96['XqxVD'](_0x4a5e96[_0x2b2bda(0x275)],_0x4a5e96[_0x2b2bda(0x275)])?(0x0,lodash_1[_0x2b2bda(0x213)])(_0x300c77,_0x17ec3e):(0x0,_0x514525['get'])(_0xbf2f75,_0x5244bb);return _0x300c77;}[a13_0x46e361(0x23b)](_0x42fa82,_0x14ec55=![]){const _0x56883d=a13_0x46e361,_0x123ee2={'yrzTN':function(_0x406661,_0x54829c){return _0x406661===_0x54829c;},'ZQeVd':'TRlIw'};if(_0x42fa82){const _0x33a88b=Object[_0x56883d(0x24b)](_0x42fa82)[0x0];if(_0x14ec55){const _0x2eb82b=(0x0,lodash_1[_0x56883d(0x208)])((0x0,lodash_1[_0x56883d(0x213)])(this['state'],constants_1['K'][_0x56883d(0x242)],{}),_0x33a88b);this[_0x56883d(0x1fe)]=(0x0,lodash_1[_0x56883d(0x257)])({},this[_0x56883d(0x1fe)],{[constants_1['K'][_0x56883d(0x242)]]:(0x0,lodash_1['merge'])({},_0x2eb82b,_0x42fa82)});}else _0x123ee2[_0x56883d(0x284)]('qcBKA',_0x123ee2[_0x56883d(0x216)])?this[_0x56883d(0x1ef)]=_0x493b6[_0x56883d(0x1ef)]:(this[_0x56883d(0x1fe)]=(0x0,lodash_1[_0x56883d(0x208)])(this[_0x56883d(0x1fe)],_0x33a88b),this[_0x56883d(0x1fe)]=(0x0,lodash_1[_0x56883d(0x257)])({},this[_0x56883d(0x1fe)],_0x42fa82));this[_0x56883d(0x1fe)]=(0x0,lodash_1[_0x56883d(0x257)])(this['state'],{'_saveOn':(0x0,moment_1[_0x56883d(0x1fa)])()[_0x56883d(0x260)]()});}}[a13_0x46e361(0x249)](){const _0x2b34f5=a13_0x46e361,_0x59aa65={'OoLjd':_0x2b34f5(0x207)},_0x45af5e=this[_0x2b34f5(0x261)][_0x2b34f5(0x234)]();_0x45af5e[_0x2b34f5(0x22c)]=_0x59aa65[_0x2b34f5(0x283)];}[a13_0x46e361(0x1e1)](_0x19ab85){const _0x558479=a13_0x46e361;return this[_0x558479(0x261)]['getContext'](_0x19ab85);}[a13_0x46e361(0x1dd)](_0x5f6ca1){const _0x54eb0e=a13_0x46e361;this[_0x54eb0e(0x1fe)]=(0x0,lodash_1[_0x54eb0e(0x208)])(this['state'],_0x5f6ca1);}[a13_0x46e361(0x27d)](){const _0x281368=a13_0x46e361,_0x747894={'VOoxG':_0x281368(0x1d9)},_0x2441c7=this[_0x281368(0x20a)](_0x747894[_0x281368(0x210)]);return _0x2441c7?_0x2441c7['toString']():null;}[a13_0x46e361(0x236)](_0x549ae0,_0x3195f4){const _0x316756=a13_0x46e361,_0x1ef1ff={'lJsKc':function(_0x542bad,_0x3e15ed){return _0x542bad===_0x3e15ed;},'jXVkd':function(_0x2ef83a,_0x389d7f){return _0x2ef83a===_0x389d7f;},'FIIZq':'skAkk','XdpaD':function(_0x162c03,_0x23c51e){return _0x162c03!==_0x23c51e;},'xURrn':'dowtg','JQqTB':'pqKDa','fIgHf':_0x316756(0x226)};if(!_0x549ae0){if(_0x1ef1ff['jXVkd'](_0x1ef1ff['FIIZq'],_0x316756(0x1e3))){const _0x3333e1=this[_0x316756(0x21e)]();_0x1ef1ff[_0x316756(0x23d)](_0x3333e1[_0x316756(0x256)],0x1)&&(_0x232cc9=new _0x2be652[(_0x316756(0x277))](this,_0x316756(0x226)));}else{const _0x416924=this[_0x316756(0x21e)]();if(_0x416924['length']===0x1){if(_0x1ef1ff[_0x316756(0x227)](_0x1ef1ff[_0x316756(0x1fd)],_0x1ef1ff[_0x316756(0x245)]))_0x549ae0=new message_util_1[(_0x316756(0x277))](this,_0x1ef1ff[_0x316756(0x1e6)]);else return(0x0,_0x4be55d[_0x316756(0x213)])(_0x56bab4,_0xa95d9e);}}}return _0x549ae0;}[a13_0x46e361(0x21e)](){const _0xa386d9=a13_0x46e361,_0x3785c5={'VmjQo':function(_0xc24f02,_0x18e632){return _0xc24f02===_0x18e632;}},_0x296184=this[_0xa386d9(0x261)][_0xa386d9(0x21e)](this[_0xa386d9(0x230)]);return _0x3785c5[_0xa386d9(0x222)](_0x296184[_0xa386d9(0x256)],0x0)&&_0x296184[_0xa386d9(0x24c)](new messages_1[(_0xa386d9(0x217))]({'content':'','id':this[_0xa386d9(0x212)]()})),_0x296184;}[a13_0x46e361(0x1ea)](){const _0x4e74f3=a13_0x46e361,_0x2d4c56={'jmOSN':function(_0x35e362,_0x5531d9){return _0x35e362===_0x5531d9;},'vCJNP':function(_0x1328b1,_0x476868){return _0x1328b1>_0x476868;},'XZluf':'KSDwd'},_0x39b692=this[_0x4e74f3(0x261)][_0x4e74f3(0x21e)](this[_0x4e74f3(0x230)]);if(_0x2d4c56[_0x4e74f3(0x21a)](_0x39b692[_0x4e74f3(0x256)],0x0)){if(_0x2d4c56[_0x4e74f3(0x201)]===_0x2d4c56[_0x4e74f3(0x201)])return _0x39b692[_0x39b692[_0x4e74f3(0x256)]-0x1];else for(const _0x4258bc of _0x289baf){_0x2d4c56[_0x4e74f3(0x223)](_0x4258bc[_0x4e74f3(0x244)],this[_0x4e74f3(0x244)])&&(_0x4258bc[_0x4e74f3(0x1eb)]=this['isActive'],_0x4258bc[_0x4e74f3(0x1fe)]=(0x0,_0x32634d['omit'])(this[_0x4e74f3(0x1fe)],_0x376791['K'][_0x4e74f3(0x242)]),!this[_0x4e74f3(0x24e)]()&&(_0x4258bc['modelName']=this[_0x4e74f3(0x1ef)],_0x4258bc[_0x4e74f3(0x273)]=this[_0x4e74f3(0x273)],_0x4258bc['modelParams']=this['modelParams']));}}return null;}[a13_0x46e361(0x254)](_0xaebf8f){const _0x396033=a13_0x46e361;return this[_0x396033(0x230)]=_0xaebf8f,this;}['useModel'](_0x2d6003,_0x28fa7a){const _0x44fe21=a13_0x46e361;return this['modelName']=_0x2d6003,this['modelParamsName']=_0x2d6003,_0x28fa7a&&this[_0x44fe21(0x1ed)](_0x28fa7a),this;}['useModelParams'](_0x1bb202,_0x15d7f3){const _0x46b048=a13_0x46e361,_0x14c11f={'ovzgF':_0x46b048(0x235),'wxADw':function(_0x24698d,_0x3ce6b5){return _0x24698d??_0x3ce6b5;}};if(typeof _0x1bb202===_0x14c11f[_0x46b048(0x270)])return this[_0x46b048(0x273)]=_0x1bb202,this[_0x46b048(0x1d8)]=(0x0,lodash_1['merge'])({},this[_0x46b048(0x1d8)],_0x14c11f[_0x46b048(0x221)](_0x15d7f3,{})),this;return this[_0x46b048(0x273)]=this[_0x46b048(0x1ef)]??this[_0x46b048(0x261)][_0x46b048(0x253)](),this[_0x46b048(0x1d8)]=(0x0,lodash_1[_0x46b048(0x257)])({},this[_0x46b048(0x1d8)],_0x1bb202),this;}['getModel'](){const _0x5e87cb=a13_0x46e361;return this[_0x5e87cb(0x1ef)];}[a13_0x46e361(0x27c)](){const _0x1ac99e=a13_0x46e361;return this[_0x1ac99e(0x1d8)];}[a13_0x46e361(0x20c)](){const _0x525c81=a13_0x46e361;return this[_0x525c81(0x273)];}[a13_0x46e361(0x205)](){return null;}['isToolAvailable'](_0x2c58be){const _0x5eacbb=a13_0x46e361,_0x19872f={'pXaZm':function(_0xbe06b9,_0x36f1c2){return _0xbe06b9===_0x36f1c2;}};for(const _0x1ea2e3 of this[_0x5eacbb(0x27b)]()){if(_0x19872f[_0x5eacbb(0x255)](_0x1ea2e3,_0x2c58be))return!![];}return![];}[a13_0x46e361(0x27b)](){return[];}['getStopTool'](){return[];}[a13_0x46e361(0x1ec)](){const _0x29c060=a13_0x46e361,_0x3bad4c=this[_0x29c060(0x27b)]();return _0x3bad4c[_0x29c060(0x214)](_0x38595d=>{const _0x11a3d9=_0x29c060;return this['flow'][_0x11a3d9(0x27b)](_0x38595d);});}[a13_0x46e361(0x27e)](_0x2f3f00){const _0x539a98=a13_0x46e361,_0x5091bc={'smfkG':_0x539a98(0x27f)},_0x52e4e0=this[_0x539a98(0x206)]();for(const _0x1fe7bd of _0x52e4e0){const _0x2810c6=this[_0x539a98(0x20a)](_0x5091bc[_0x539a98(0x1f4)])[_0x1fe7bd],_0x4b05bb=_0x539a98(0x276)+_0x1fe7bd+_0x539a98(0x202),_0xd7cce7=_0x2810c6?_0x4b05bb:'';_0x2f3f00=_0x2f3f00[_0x539a98(0x24d)]('{{'+_0x1fe7bd+'}}',_0xd7cce7);}return _0x2f3f00;}async[a13_0x46e361(0x250)](_0x510e9d){return null;}async[a13_0x46e361(0x262)](_0x45512d){const _0x2e9ee2=a13_0x46e361,_0x2159fb={'qIZaL':function(_0x3fff96,_0x5053a9){return _0x3fff96-_0x5053a9;},'BJgpv':function(_0x25f739,_0x4a8129){return _0x25f739!==_0x4a8129;},'WgyjL':_0x2e9ee2(0x200),'xzFke':function(_0x8dd02c,_0x1ec480){return _0x8dd02c!==_0x1ec480;},'KUGTg':_0x2e9ee2(0x21d),'SHTFL':_0x2e9ee2(0x1f1)};let _0x21388a;if(!_0x45512d)_0x2159fb['BJgpv'](_0x2e9ee2(0x200),_0x2159fb[_0x2e9ee2(0x265)])?_0x1d7e9a=new _0x2123b0[(_0x2e9ee2(0x277))](this,_0x2e9ee2(0x226)):_0x21388a=this[_0x2e9ee2(0x236)](null);else{if(_0x2159fb[_0x2e9ee2(0x23c)](_0x2159fb['KUGTg'],_0x2159fb[_0x2e9ee2(0x22d)]))_0x21388a=new message_util_1[(_0x2e9ee2(0x277))](this,_0x45512d);else return _0x21fcab[_0x2159fb[_0x2e9ee2(0x274)](_0x28be20[_0x2e9ee2(0x256)],0x1)];}const _0x2d56c2=this[_0x2e9ee2(0x206)]();for(const _0x56d3b7 of _0x2d56c2){this[_0x2e9ee2(0x23b)]({'_stopTool':{[_0x56d3b7]:!![]}});}const _0x2b5f6=await llm_runner_1['LlmRunner'][_0x2e9ee2(0x279)](this['flow'],_0x21388a);return _0x2b5f6;}async[a13_0x46e361(0x26b)](_0x1eca64,_0x54ec3d){const _0x58a3f2=a13_0x46e361;return await Step[_0x58a3f2(0x1e9)](async()=>{const _0x5e9010=_0x58a3f2,_0x500751=await this[_0x5e9010(0x261)][_0x5e9010(0x26e)](_0x1eca64);return await _0x500751[_0x5e9010(0x262)](_0x54ec3d);});}async['runSteps'](_0x15950b){const _0x23f699=a13_0x46e361,_0x3d57ce=_0x15950b[_0x23f699(0x214)](({step:_0x503a38,userMessage:_0x4e6f46})=>{const _0xe51f6=_0x23f699;return Step[_0xe51f6(0x1e9)](async()=>{const _0x459dc4=_0xe51f6,_0x5c5430=await this[_0x459dc4(0x261)][_0x459dc4(0x26e)](_0x503a38);return await _0x5c5430[_0x459dc4(0x262)](_0x4e6f46);});});return await Promise['all'](_0x3d57ce);}[a13_0x46e361(0x1e5)](){const _0x1c58b2=a13_0x46e361,_0x2ba499={'foRca':function(_0x87dd0d,_0x2bf999){return _0x87dd0d===_0x2bf999;},'qiymS':'completed'};return _0x2ba499['foRca'](this['flow'][_0x1c58b2(0x234)]()[_0x1c58b2(0x22c)],_0x2ba499['qiymS']);}[a13_0x46e361(0x1db)](_0x507fd3){const _0x54ffd5=a13_0x46e361,_0xf86f58={'vDbHR':function(_0x2ffa10,_0x333951){return _0x2ffa10===_0x333951;},'FKwQe':function(_0x562d59,_0x52ebc8){return _0x562d59===_0x52ebc8;}};for(const _0xdaef45 of _0x507fd3){if(_0x54ffd5(0x281)===_0x54ffd5(0x281))_0xf86f58[_0x54ffd5(0x247)](_0xdaef45[_0x54ffd5(0x244)],this[_0x54ffd5(0x244)])&&(_0xdaef45[_0x54ffd5(0x1eb)]=this[_0x54ffd5(0x1eb)],_0xdaef45[_0x54ffd5(0x1fe)]=(0x0,lodash_1[_0x54ffd5(0x208)])(this[_0x54ffd5(0x1fe)],constants_1['K'][_0x54ffd5(0x242)]),!this[_0x54ffd5(0x24e)]()&&(_0xdaef45[_0x54ffd5(0x1ef)]=this[_0x54ffd5(0x1ef)],_0xdaef45['modelParamsName']=this[_0x54ffd5(0x273)],_0xdaef45[_0x54ffd5(0x1d8)]=this[_0x54ffd5(0x1d8)]));else{for(const _0x231e17 of this[_0x54ffd5(0x27b)]()){if(_0xf86f58['vDbHR'](_0x231e17,_0x4167b4))return!![];}return![];}}}[a13_0x46e361(0x203)](_0x218056){const _0x17b76f=a13_0x46e361,_0x53b314={'nrQAj':function(_0x488f99,_0x219927){return _0x488f99!==_0x219927;},'FZpzp':_0x17b76f(0x225),'yZABK':function(_0x45cf36,_0x1abd8b){return _0x45cf36===_0x1abd8b;}};for(const _0x214906 of _0x218056){if(_0x53b314[_0x17b76f(0x21b)](_0x53b314[_0x17b76f(0x25a)],_0x53b314[_0x17b76f(0x25a)]))return _0x31555d[_0x17b76f(0x246)][_0x17b76f(0x258)];else{if(_0x53b314[_0x17b76f(0x1d5)](_0x214906[_0x17b76f(0x244)],this[_0x17b76f(0x244)])){this['isActive']=_0x214906[_0x17b76f(0x1eb)],this[_0x17b76f(0x1fe)]=_0x214906[_0x17b76f(0x1fe)];_0x214906['modelName']&&(this[_0x17b76f(0x1ef)]=_0x214906[_0x17b76f(0x1ef)]);this[_0x17b76f(0x273)]=_0x214906['modelParamsName'],this[_0x17b76f(0x1d8)]=(0x0,lodash_1[_0x17b76f(0x257)])({},_0x214906['modelParams']??{});const _0xdef75f=_0x214906[_0x17b76f(0x1df)];_0x53b314[_0x17b76f(0x21b)](_0xdef75f,undefined)&&this['modelParams']['temperature']===undefined&&(this[_0x17b76f(0x1d8)][_0x17b76f(0x1df)]=_0xdef75f);}}}}[a13_0x46e361(0x211)](){const _0x447cf0=a13_0x46e361;return{'name':this['name'],'isActive':this['isActive'],'state':this['state'],'modelName':this[_0x447cf0(0x1ef)],'modelParamsName':this[_0x447cf0(0x273)],'modelParams':this[_0x447cf0(0x1d8)]};}[a13_0x46e361(0x1e8)](){const _0x567282=a13_0x46e361,_0x3e9161=this[_0x567282(0x261)][_0x567282(0x21e)](this[_0x567282(0x230)]);return _0x3e9161[_0x567282(0x256)]=0x0,_0x3e9161;}async[a13_0x46e361(0x21f)](_0x31a36a,_0xb610a1){const _0x27f5b9=a13_0x46e361,_0x34ee4e={'VYoug':function(_0x38ef97,_0x314b44){return _0x38ef97===_0x314b44;},'BSOVQ':_0x27f5b9(0x204)},_0x445e35=this['flow'][_0x27f5b9(0x1da)](_0x31a36a[_0x27f5b9(0x244)]);return _0x34ee4e[_0x27f5b9(0x26a)](typeof this[_0xb610a1['name']],_0x34ee4e['BSOVQ'])?await _0x445e35[_0xb610a1[_0x27f5b9(0x244)]](_0xb610a1):_0x31a36a;}[a13_0x46e361(0x1ee)](_0x461fe2){const _0x398bf5=a13_0x46e361,_0x58259a={'YDbzU':'stopTool'},_0x2edf07=this[_0x398bf5(0x206)]();for(const _0x393b4f of _0x2edf07){this['saveState']({'_stopTool':{[_0x393b4f]:![]}});}return _0x461fe2['additional_kwargs'][_0x58259a[_0x398bf5(0x23e)]]=!![],_0x461fe2;}[a13_0x46e361(0x212)](){const _0x146e71=a13_0x46e361,_0x2d6f07={'ksKKj':_0x146e71(0x1d7)};return this[_0x146e71(0x244)]+'|'+moment_1[_0x146e71(0x1fa)][_0x146e71(0x25e)]()['format'](_0x2d6f07[_0x146e71(0x1f2)])+'|'+this[_0x146e71(0x251)]();}[a13_0x46e361(0x251)](){const _0x1b6a79=a13_0x46e361,_0x5dda1d={'zJOMT':function(_0x5c2e46,_0x4de1ac){return _0x5c2e46+_0x4de1ac;},'BkJEA':function(_0x3fe468,_0x8cecf8){return _0x3fe468*_0x8cecf8;},'VlNUN':function(_0x2b46b0,_0xf861ad){return _0x2b46b0+_0xf861ad;},'wEBnS':function(_0x12cd70,_0x740f08){return _0x12cd70-_0x740f08;}},_0x31bbbf=0x3b9aca00,_0x53ee91=0x2540be3ff;return _0x5dda1d[_0x1b6a79(0x266)](Math[_0x1b6a79(0x1e0)](_0x5dda1d[_0x1b6a79(0x252)](Math[_0x1b6a79(0x209)](),_0x5dda1d[_0x1b6a79(0x218)](_0x5dda1d['wEBnS'](_0x53ee91,_0x31bbbf),0x1))),_0x31bbbf);}[a13_0x46e361(0x278)](){const _0x5b4d0c=a13_0x46e361,_0x26487f={'mVcAf':_0x5b4d0c(0x1f8),'kjsTw':_0x5b4d0c(0x25d),'jmCTZ':_0x5b4d0c(0x26f)},_0x5d70a5=this[_0x5b4d0c(0x1ef)]||this[_0x5b4d0c(0x261)][_0x5b4d0c(0x253)](),_0x1b20d8=_0x5d70a5['trim']()['toLowerCase']();if(_0x1b20d8[_0x5b4d0c(0x21c)](_0x26487f[_0x5b4d0c(0x243)]))return llm_file_js_1[_0x5b4d0c(0x246)][_0x5b4d0c(0x258)];if(_0x1b20d8[_0x5b4d0c(0x21c)](_0x26487f[_0x5b4d0c(0x1f0)]))return llm_file_js_1[_0x5b4d0c(0x246)][_0x5b4d0c(0x228)];if(_0x1b20d8['startsWith'](_0x26487f['jmCTZ']))return llm_file_js_1[_0x5b4d0c(0x246)][_0x5b4d0c(0x1f6)];return llm_file_js_1[_0x5b4d0c(0x246)]['UNSUPPORTED'];}[a13_0x46e361(0x1e2)](){return null;}}exports['Step']=Step,Step[a13_0x46e361(0x22f)]=new node_async_hooks_1[(a13_0x46e361(0x22a))]();
@@ -1 +1 @@
1
- function a14_0x36d3(_0x221925,_0x30ab4b){const _0x51517d=a14_0x44db();return a14_0x36d3=function(_0x306ca5,_0x480b06){_0x306ca5=_0x306ca5-0x198;let _0x44dbff=_0x51517d[_0x306ca5];return _0x44dbff;},a14_0x36d3(_0x221925,_0x30ab4b);}const a14_0x26d116=a14_0x36d3;(function(_0x590639,_0x569250){const _0x46d862=a14_0x36d3,_0x204958=_0x590639();while(!![]){try{const _0x2ec28e=-parseInt(_0x46d862(0x1b4))/0x1+parseInt(_0x46d862(0x1ec))/0x2+-parseInt(_0x46d862(0x1f8))/0x3+-parseInt(_0x46d862(0x1e8))/0x4*(parseInt(_0x46d862(0x19b))/0x5)+parseInt(_0x46d862(0x1f5))/0x6*(parseInt(_0x46d862(0x1ed))/0x7)+-parseInt(_0x46d862(0x1cb))/0x8+parseInt(_0x46d862(0x1ad))/0x9;if(_0x2ec28e===_0x569250)break;else _0x204958['push'](_0x204958['shift']());}catch(_0x55ddbe){_0x204958['push'](_0x204958['shift']());}}}(a14_0x44db,0x69f38));function a14_0x44db(){const _0x5b0b3a=['xHqNv','WfRZc','cucdr','claude-3-7-sonnet-latest','defineProperty','claude-opus-4-1-20250805','yMHLB','gemini-3.1-flash-lite-preview','wVDNV','gemini-2.5-pro','llmTemperature','ollama','Rpztu','gemini-3-flash-preview','../configs/core-config','WbRog','sfSvs','Gumhy','claude-haiku-4-5-20251001','gemini-2.5-flash','nVKFz','claude-sonnet-4-6','llmRetry','tqmxY','gAPgA','xJaAp','yBKkf','EBUrv','20JStGJT','PBFiJ','CoreConfig','Yehbu','28530ZWxVJw','180761MzaQcc','toString','GeminiKey','claude-opus-4-6-thinking','imtDF','./model-registry','claude-sonnet-4-6-thinking','yTIFD','54bitexc','bUvBc','gpt-4o-mini','1265982BLpkJm','mCMRw','FQPeC','lbZET','enabled','JMLXm','kioHm','ieroW','RTfxz','PDjEx','qwen2.5:1.5b','(((.+)+)+)+$','XgRzy','Model','17860YkFKAI','bcCpY','fElUr','EZVjI','sLYqy','WgPHM','LQxWM','JLNif','YDLAG','medium','SaYZk','Afjba','DCebY','ymxWm','eAjPz','claude-opus-4-6','eiurO','gemini-3.1-pro-preview','15520905BqlBWO','gpt-4.1-mini','uvChF','ksVxI','search','gpt-5-nano','oPkrf','426709vitBAu','QPOaL','claude-3-5-haiku-latest','gemini-2.5-flash-lite','claude-opus-4-1-20250805-thinking','claude-3-7-sonnet-thinking','YOGEE','TLKgA','DrBbg','AnthropicKey','cNoXP','OpenAIKey','kbYdM','rBVvS','gpt-5-mini','gpt-4o','gpt-4.1','uclcI','NdVPg','apply','LqRgk','zAAPc','yCkKC','5365424CWxmiw'];a14_0x44db=function(){return _0x5b0b3a;};return a14_0x44db();}const a14_0x480b06=(function(){const _0x57a4d2=a14_0x36d3,_0x3b87d0={'SaYZk':'gpt-5.4','Yehbu':_0x57a4d2(0x1a4),'xHqNv':_0x57a4d2(0x1c2),'XgRzy':_0x57a4d2(0x1b2),'cucdr':_0x57a4d2(0x1ae),'ymxWm':_0x57a4d2(0x1f7),'LqRgk':_0x57a4d2(0x1fc),'EZVjI':'claude-opus-4-6','Afjba':_0x57a4d2(0x1e1),'KCaPC':_0x57a4d2(0x1f3),'WfRZc':'claude-haiku-4-5-20251001','kioHm':_0x57a4d2(0x1b8),'LQxWM':'claude-3-7-sonnet-latest','Gumhy':'claude-3-5-haiku-latest','eAjPz':_0x57a4d2(0x1ac),'DrBbg':_0x57a4d2(0x1d9),'WbRog':_0x57a4d2(0x1df),'YOGEE':_0x57a4d2(0x1b7),'kbYdM':'qwen2.5:1.5b','xJaAp':_0x57a4d2(0x1fb),'DCebY':_0x57a4d2(0x1dc),'PDjEx':_0x57a4d2(0x19d)};let _0x12d425=!![];return function(_0xaa7300,_0x3bd98d){const _0x374c46=_0x57a4d2,_0x1baddd={'CTLlm':_0x3b87d0[_0x374c46(0x1a5)],'RTfxz':_0x3b87d0[_0x374c46(0x1eb)],'mKfdj':_0x3b87d0[_0x374c46(0x1cc)],'cNoXP':_0x3b87d0[_0x374c46(0x199)],'yMHLB':_0x374c46(0x1c4),'JMLXm':_0x3b87d0[_0x374c46(0x1ce)],'nVKFz':_0x3b87d0[_0x374c46(0x1a8)],'imtDF':_0x3b87d0[_0x374c46(0x1c8)],'uclcI':_0x3b87d0[_0x374c46(0x19e)],'zAAPc':_0x3b87d0[_0x374c46(0x1a6)],'tbJyd':_0x3b87d0['KCaPC'],'oPkrf':_0x3b87d0[_0x374c46(0x1cd)],'PBFiJ':'claude-opus-4-1-20250805','bcCpY':_0x3b87d0[_0x374c46(0x1fe)],'NsgEz':_0x374c46(0x1b9),'GjffT':_0x3b87d0[_0x374c46(0x1a1)],'mCMRw':_0x3b87d0[_0x374c46(0x1dd)],'ieroW':_0x3b87d0[_0x374c46(0x1a9)],'tqmxY':_0x3b87d0[_0x374c46(0x1bc)],'xaJcp':_0x374c46(0x1d3),'sLYqy':'gemini-2.5-pro','ljLaU':_0x3b87d0[_0x374c46(0x1db)],'HAZAU':_0x3b87d0[_0x374c46(0x1ba)],'FrKAU':_0x3b87d0[_0x374c46(0x1c0)],'JmsSA':_0x3b87d0[_0x374c46(0x1e5)],'uvChF':_0x3b87d0[_0x374c46(0x1a7)]};if(_0x3b87d0[_0x374c46(0x201)]!=='fElUr'){const _0x14668e=_0x3ac790[_0x374c46(0x1c7)](_0x5e729a,arguments);return _0x179485=null,_0x14668e;}else{const _0x2eb831=_0x12d425?function(){const _0x37b9fc=_0x374c46;if(_0x3bd98d){if(_0x1baddd['JmsSA']!==_0x1baddd[_0x37b9fc(0x1af)]){const _0x29b9bd=_0x3bd98d[_0x37b9fc(0x1c7)](_0xaa7300,arguments);return _0x3bd98d=null,_0x29b9bd;}else return[new _0x40e22f[(_0x37b9fc(0x19a))](_0x1baddd['CTLlm'],{'apiKey':_0x5174f1[_0x37b9fc(0x1ea)][_0x37b9fc(0x1bf)],'maxRetries':_0x132276[_0x37b9fc(0x1ea)][_0x37b9fc(0x1e2)],'reasoning':{'effort':_0x1baddd[_0x37b9fc(0x200)]}}),new _0x27771f[(_0x37b9fc(0x19a))]('gpt-5',{'apiKey':_0x50e27b['CoreConfig'][_0x37b9fc(0x1bf)],'maxRetries':_0x251244['CoreConfig'][_0x37b9fc(0x1e2)],'reasoning':{'effort':_0x1baddd[_0x37b9fc(0x200)]}}),new _0x3c3188[(_0x37b9fc(0x19a))](_0x1baddd['mKfdj'],{'apiKey':_0x54faa6[_0x37b9fc(0x1ea)][_0x37b9fc(0x1bf)],'maxRetries':_0x1ec215['CoreConfig'][_0x37b9fc(0x1e2)],'reasoning':{'effort':'medium'}}),new _0x22e779[(_0x37b9fc(0x19a))](_0x1baddd[_0x37b9fc(0x1be)],{'apiKey':_0x1426da[_0x37b9fc(0x1ea)][_0x37b9fc(0x1bf)],'maxRetries':_0x3e9a1e[_0x37b9fc(0x1ea)][_0x37b9fc(0x1e2)],'reasoning':{'effort':_0x1baddd[_0x37b9fc(0x200)]}}),new _0x4fd1ab[(_0x37b9fc(0x19a))](_0x1baddd[_0x37b9fc(0x1d2)],{'temperature':_0x313f61[_0x37b9fc(0x1ea)][_0x37b9fc(0x1d6)],'apiKey':_0x50a540[_0x37b9fc(0x1ea)][_0x37b9fc(0x1bf)],'maxRetries':_0x2636fd['CoreConfig']['llmRetry']}),new _0x513571[(_0x37b9fc(0x19a))](_0x1baddd[_0x37b9fc(0x1fd)],{'temperature':_0x48a363[_0x37b9fc(0x1ea)]['llmTemperature'],'apiKey':_0x3d2f17[_0x37b9fc(0x1ea)]['OpenAIKey'],'maxRetries':_0x5a7866[_0x37b9fc(0x1ea)][_0x37b9fc(0x1e2)]}),new _0x128a34[(_0x37b9fc(0x19a))](_0x37b9fc(0x1c3),{'temperature':_0x12834f[_0x37b9fc(0x1ea)][_0x37b9fc(0x1d6)],'apiKey':_0x8d1d8f[_0x37b9fc(0x1ea)][_0x37b9fc(0x1bf)],'maxRetries':_0x1d6e31[_0x37b9fc(0x1ea)][_0x37b9fc(0x1e2)]}),new _0x4ae55c['Model'](_0x1baddd[_0x37b9fc(0x1e0)],{'temperature':_0x573a7e[_0x37b9fc(0x1ea)][_0x37b9fc(0x1d6)],'apiKey':_0x35189a[_0x37b9fc(0x1ea)][_0x37b9fc(0x1bf)],'maxRetries':_0x119dbc[_0x37b9fc(0x1ea)]['llmRetry']}),new _0xdea8b9[(_0x37b9fc(0x19a))](_0x37b9fc(0x1aa),{'temperature':0x0,'apiKey':_0x2653d6[_0x37b9fc(0x1ea)][_0x37b9fc(0x1bd)],'maxRetries':_0x35b0ac[_0x37b9fc(0x1ea)][_0x37b9fc(0x1e2)]}),new _0x2ff52f['Model'](_0x37b9fc(0x1f0),{'apiKey':_0xac869a[_0x37b9fc(0x1ea)][_0x37b9fc(0x1bd)],'maxRetries':_0xa543c[_0x37b9fc(0x1ea)][_0x37b9fc(0x1e2)],'thinking':{'type':_0x1baddd['imtDF'],'budget_tokens':0x800}},_0x1baddd[_0x37b9fc(0x1c5)]),new _0x348383[(_0x37b9fc(0x19a))](_0x1baddd[_0x37b9fc(0x1c9)],{'temperature':0x0,'apiKey':_0x277498[_0x37b9fc(0x1ea)][_0x37b9fc(0x1bd)],'maxRetries':_0x21c573['CoreConfig']['llmRetry']}),new _0xfea753[(_0x37b9fc(0x19a))](_0x1baddd['tbJyd'],{'apiKey':_0x479853[_0x37b9fc(0x1ea)]['AnthropicKey'],'maxRetries':_0x2361ae['CoreConfig'][_0x37b9fc(0x1e2)],'thinking':{'type':_0x1baddd['imtDF'],'budget_tokens':0x800}},_0x1baddd[_0x37b9fc(0x1c9)]),new _0xf5bcbe[(_0x37b9fc(0x19a))](_0x1baddd[_0x37b9fc(0x1b3)],{'temperature':_0x1b79a4[_0x37b9fc(0x1ea)][_0x37b9fc(0x1d6)],'apiKey':_0x3885d4[_0x37b9fc(0x1ea)][_0x37b9fc(0x1bd)],'maxRetries':_0xaeaff[_0x37b9fc(0x1ea)][_0x37b9fc(0x1e2)]}),new _0x29ca97['Model'](_0x1baddd[_0x37b9fc(0x1e9)],{'temperature':0x0,'apiKey':_0x36f8b8[_0x37b9fc(0x1ea)][_0x37b9fc(0x1bd)],'maxRetries':_0x5c63cb[_0x37b9fc(0x1ea)][_0x37b9fc(0x1e2)]}),new _0x2f6a1f[(_0x37b9fc(0x19a))](_0x1baddd[_0x37b9fc(0x19c)],{'apiKey':_0x381260[_0x37b9fc(0x1ea)]['AnthropicKey'],'maxRetries':_0x60cdc9[_0x37b9fc(0x1ea)][_0x37b9fc(0x1e2)],'thinking':{'type':_0x1baddd['imtDF'],'budget_tokens':0x800}},_0x1baddd[_0x37b9fc(0x1e9)]),new _0x153185['Model'](_0x37b9fc(0x1cf),{'temperature':0x0,'apiKey':_0x590937['CoreConfig'][_0x37b9fc(0x1bd)],'maxRetries':_0x5a4cd7['CoreConfig']['llmRetry']}),new _0x3e95b2[(_0x37b9fc(0x19a))](_0x1baddd['NsgEz'],{'apiKey':_0x4e5a62[_0x37b9fc(0x1ea)][_0x37b9fc(0x1bd)],'maxRetries':_0x175f5d[_0x37b9fc(0x1ea)][_0x37b9fc(0x1e2)],'thinking':{'type':_0x1baddd[_0x37b9fc(0x1f1)],'budget_tokens':0x800}},_0x1baddd['GjffT']),new _0x13779b[(_0x37b9fc(0x19a))](_0x1baddd[_0x37b9fc(0x1f9)],{'temperature':_0x3f6665['CoreConfig']['llmTemperature'],'apiKey':_0x46efb8[_0x37b9fc(0x1ea)][_0x37b9fc(0x1bd)],'maxRetries':_0x2edb91[_0x37b9fc(0x1ea)][_0x37b9fc(0x1e2)]}),new _0x3ee96c[(_0x37b9fc(0x19a))](_0x1baddd[_0x37b9fc(0x1ff)],{'temperature':_0x1509d5['CoreConfig'][_0x37b9fc(0x1d6)],'apiKey':_0x25f6e8[_0x37b9fc(0x1ea)][_0x37b9fc(0x1ef)],'maxRetries':_0x39f6df[_0x37b9fc(0x1ea)]['llmRetry']}),new _0x18a7c5[(_0x37b9fc(0x19a))](_0x1baddd[_0x37b9fc(0x1e3)],{'temperature':_0x5948b3['CoreConfig'][_0x37b9fc(0x1d6)],'apiKey':_0x2d518f[_0x37b9fc(0x1ea)][_0x37b9fc(0x1ef)],'maxRetries':_0x38dad7[_0x37b9fc(0x1ea)][_0x37b9fc(0x1e2)]}),new _0x559ea7['Model'](_0x1baddd['xaJcp'],{'temperature':_0x5f0357['CoreConfig'][_0x37b9fc(0x1d6)],'apiKey':_0x4a9575[_0x37b9fc(0x1ea)][_0x37b9fc(0x1ef)],'maxRetries':_0x37e9ea[_0x37b9fc(0x1ea)][_0x37b9fc(0x1e2)]}),new _0x53404e[(_0x37b9fc(0x19a))](_0x1baddd[_0x37b9fc(0x19f)],{'temperature':_0x263324[_0x37b9fc(0x1ea)][_0x37b9fc(0x1d6)],'apiKey':_0x499064[_0x37b9fc(0x1ea)][_0x37b9fc(0x1ef)],'maxRetries':_0x518f5b[_0x37b9fc(0x1ea)][_0x37b9fc(0x1e2)]}),new _0x5d8ae5[(_0x37b9fc(0x19a))](_0x1baddd['ljLaU'],{'temperature':_0x26c341[_0x37b9fc(0x1ea)]['llmTemperature'],'apiKey':_0x9fd7ce[_0x37b9fc(0x1ea)][_0x37b9fc(0x1ef)],'maxRetries':_0x2ba1dd[_0x37b9fc(0x1ea)][_0x37b9fc(0x1e2)]}),new _0x5663f7[(_0x37b9fc(0x19a))](_0x1baddd['HAZAU'],{'temperature':_0x1da6fa[_0x37b9fc(0x1ea)]['llmTemperature'],'apiKey':_0x56815c['CoreConfig']['GeminiKey'],'maxRetries':_0x588876[_0x37b9fc(0x1ea)][_0x37b9fc(0x1e2)]}),new _0x52b88d[(_0x37b9fc(0x19a))](_0x1baddd['FrKAU'],{'provider':'ollama','think':![],'maxRetries':_0x38face['CoreConfig'][_0x37b9fc(0x1e2)],'options':{'temperature':_0x1ae94f[_0x37b9fc(0x1ea)][_0x37b9fc(0x1d6)]}})];}}:function(){};return _0x12d425=![],_0x2eb831;}};}()),a14_0x306ca5=a14_0x480b06(this,function(){const _0x2a3955=a14_0x36d3,_0x58ccf9={'QPOaL':_0x2a3955(0x198)};return a14_0x306ca5[_0x2a3955(0x1ee)]()[_0x2a3955(0x1b1)](_0x58ccf9[_0x2a3955(0x1b5)])[_0x2a3955(0x1ee)]()['constructor'](a14_0x306ca5)[_0x2a3955(0x1b1)](_0x58ccf9[_0x2a3955(0x1b5)]);});a14_0x306ca5();'use strict';Object[a14_0x26d116(0x1d0)](exports,'__esModule',{'value':!![]}),exports['createPopularModels']=createPopularModels;const core_config_1=require(a14_0x26d116(0x1da)),model_registry_1=require(a14_0x26d116(0x1f2));function createPopularModels(){const _0x37ddc1=a14_0x26d116,_0x4f7870={'TLKgA':'gpt-5.4','URzzy':'gpt-5','YDLAG':'medium','HSXRw':'gpt-5-nano','yCkKC':'gpt-4.1','bUvBc':_0x37ddc1(0x1c3),'NdVPg':'gpt-4o-mini','yBKkf':'claude-opus-4-6-thinking','rBVvS':_0x37ddc1(0x1e1),'FQPeC':_0x37ddc1(0x1fc),'Rpztu':_0x37ddc1(0x1de),'ksVxI':_0x37ddc1(0x1d1),'TSQFp':_0x37ddc1(0x1cf),'ZFGVk':'claude-3-7-sonnet-thinking','EBUrv':_0x37ddc1(0x1b6),'yTIFD':'gemini-3.1-pro-preview','JUAiV':_0x37ddc1(0x1d9),'eiurO':_0x37ddc1(0x1d3),'wVDNV':_0x37ddc1(0x1d5),'JLNif':_0x37ddc1(0x1df),'WgPHM':_0x37ddc1(0x202),'gAPgA':_0x37ddc1(0x1d7)};return[new model_registry_1[(_0x37ddc1(0x19a))](_0x4f7870[_0x37ddc1(0x1bb)],{'apiKey':core_config_1[_0x37ddc1(0x1ea)][_0x37ddc1(0x1bf)],'maxRetries':core_config_1[_0x37ddc1(0x1ea)][_0x37ddc1(0x1e2)],'reasoning':{'effort':_0x37ddc1(0x1a4)}}),new model_registry_1['Model'](_0x4f7870['URzzy'],{'apiKey':core_config_1[_0x37ddc1(0x1ea)][_0x37ddc1(0x1bf)],'maxRetries':core_config_1['CoreConfig'][_0x37ddc1(0x1e2)],'reasoning':{'effort':_0x4f7870[_0x37ddc1(0x1a3)]}}),new model_registry_1['Model'](_0x37ddc1(0x1c2),{'apiKey':core_config_1[_0x37ddc1(0x1ea)][_0x37ddc1(0x1bf)],'maxRetries':core_config_1[_0x37ddc1(0x1ea)]['llmRetry'],'reasoning':{'effort':_0x4f7870[_0x37ddc1(0x1a3)]}}),new model_registry_1[(_0x37ddc1(0x19a))](_0x4f7870['HSXRw'],{'apiKey':core_config_1[_0x37ddc1(0x1ea)]['OpenAIKey'],'maxRetries':core_config_1[_0x37ddc1(0x1ea)][_0x37ddc1(0x1e2)],'reasoning':{'effort':_0x4f7870[_0x37ddc1(0x1a3)]}}),new model_registry_1['Model'](_0x4f7870[_0x37ddc1(0x1ca)],{'temperature':core_config_1[_0x37ddc1(0x1ea)][_0x37ddc1(0x1d6)],'apiKey':core_config_1[_0x37ddc1(0x1ea)][_0x37ddc1(0x1bf)],'maxRetries':core_config_1[_0x37ddc1(0x1ea)][_0x37ddc1(0x1e2)]}),new model_registry_1[(_0x37ddc1(0x19a))](_0x37ddc1(0x1ae),{'temperature':core_config_1[_0x37ddc1(0x1ea)][_0x37ddc1(0x1d6)],'apiKey':core_config_1[_0x37ddc1(0x1ea)]['OpenAIKey'],'maxRetries':core_config_1['CoreConfig'][_0x37ddc1(0x1e2)]}),new model_registry_1[(_0x37ddc1(0x19a))](_0x4f7870[_0x37ddc1(0x1f6)],{'temperature':core_config_1['CoreConfig']['llmTemperature'],'apiKey':core_config_1[_0x37ddc1(0x1ea)][_0x37ddc1(0x1bf)],'maxRetries':core_config_1[_0x37ddc1(0x1ea)]['llmRetry']}),new model_registry_1[(_0x37ddc1(0x19a))](_0x4f7870[_0x37ddc1(0x1c6)],{'temperature':core_config_1[_0x37ddc1(0x1ea)][_0x37ddc1(0x1d6)],'apiKey':core_config_1['CoreConfig'][_0x37ddc1(0x1bf)],'maxRetries':core_config_1['CoreConfig'][_0x37ddc1(0x1e2)]}),new model_registry_1[(_0x37ddc1(0x19a))](_0x37ddc1(0x1aa),{'temperature':0x0,'apiKey':core_config_1[_0x37ddc1(0x1ea)][_0x37ddc1(0x1bd)],'maxRetries':core_config_1[_0x37ddc1(0x1ea)]['llmRetry']}),new model_registry_1[(_0x37ddc1(0x19a))](_0x4f7870[_0x37ddc1(0x1e6)],{'apiKey':core_config_1['CoreConfig']['AnthropicKey'],'maxRetries':core_config_1[_0x37ddc1(0x1ea)][_0x37ddc1(0x1e2)],'thinking':{'type':'enabled','budget_tokens':0x800}},'claude-opus-4-6'),new model_registry_1[(_0x37ddc1(0x19a))](_0x4f7870[_0x37ddc1(0x1c1)],{'temperature':0x0,'apiKey':core_config_1[_0x37ddc1(0x1ea)]['AnthropicKey'],'maxRetries':core_config_1['CoreConfig'][_0x37ddc1(0x1e2)]}),new model_registry_1[(_0x37ddc1(0x19a))](_0x37ddc1(0x1f3),{'apiKey':core_config_1['CoreConfig']['AnthropicKey'],'maxRetries':core_config_1[_0x37ddc1(0x1ea)]['llmRetry'],'thinking':{'type':_0x4f7870[_0x37ddc1(0x1fa)],'budget_tokens':0x800}},_0x4f7870[_0x37ddc1(0x1c1)]),new model_registry_1['Model'](_0x4f7870[_0x37ddc1(0x1d8)],{'temperature':core_config_1[_0x37ddc1(0x1ea)][_0x37ddc1(0x1d6)],'apiKey':core_config_1[_0x37ddc1(0x1ea)][_0x37ddc1(0x1bd)],'maxRetries':core_config_1['CoreConfig']['llmRetry']}),new model_registry_1['Model'](_0x4f7870[_0x37ddc1(0x1b0)],{'temperature':0x0,'apiKey':core_config_1['CoreConfig'][_0x37ddc1(0x1bd)],'maxRetries':core_config_1[_0x37ddc1(0x1ea)][_0x37ddc1(0x1e2)]}),new model_registry_1['Model'](_0x37ddc1(0x1b8),{'apiKey':core_config_1[_0x37ddc1(0x1ea)]['AnthropicKey'],'maxRetries':core_config_1[_0x37ddc1(0x1ea)]['llmRetry'],'thinking':{'type':_0x4f7870[_0x37ddc1(0x1fa)],'budget_tokens':0x800}},_0x4f7870[_0x37ddc1(0x1b0)]),new model_registry_1[(_0x37ddc1(0x19a))](_0x4f7870['TSQFp'],{'temperature':0x0,'apiKey':core_config_1[_0x37ddc1(0x1ea)][_0x37ddc1(0x1bd)],'maxRetries':core_config_1['CoreConfig'][_0x37ddc1(0x1e2)]}),new model_registry_1[(_0x37ddc1(0x19a))](_0x4f7870['ZFGVk'],{'apiKey':core_config_1[_0x37ddc1(0x1ea)]['AnthropicKey'],'maxRetries':core_config_1['CoreConfig']['llmRetry'],'thinking':{'type':_0x4f7870[_0x37ddc1(0x1fa)],'budget_tokens':0x800}},_0x37ddc1(0x1cf)),new model_registry_1[(_0x37ddc1(0x19a))](_0x4f7870[_0x37ddc1(0x1e7)],{'temperature':core_config_1[_0x37ddc1(0x1ea)][_0x37ddc1(0x1d6)],'apiKey':core_config_1[_0x37ddc1(0x1ea)][_0x37ddc1(0x1bd)],'maxRetries':core_config_1[_0x37ddc1(0x1ea)][_0x37ddc1(0x1e2)]}),new model_registry_1[(_0x37ddc1(0x19a))](_0x4f7870[_0x37ddc1(0x1f4)],{'temperature':core_config_1[_0x37ddc1(0x1ea)][_0x37ddc1(0x1d6)],'apiKey':core_config_1['CoreConfig'][_0x37ddc1(0x1ef)],'maxRetries':core_config_1[_0x37ddc1(0x1ea)]['llmRetry']}),new model_registry_1['Model'](_0x4f7870['JUAiV'],{'temperature':core_config_1[_0x37ddc1(0x1ea)]['llmTemperature'],'apiKey':core_config_1[_0x37ddc1(0x1ea)][_0x37ddc1(0x1ef)],'maxRetries':core_config_1[_0x37ddc1(0x1ea)]['llmRetry']}),new model_registry_1['Model'](_0x4f7870[_0x37ddc1(0x1ab)],{'temperature':core_config_1[_0x37ddc1(0x1ea)][_0x37ddc1(0x1d6)],'apiKey':core_config_1[_0x37ddc1(0x1ea)][_0x37ddc1(0x1ef)],'maxRetries':core_config_1['CoreConfig'][_0x37ddc1(0x1e2)]}),new model_registry_1[(_0x37ddc1(0x19a))](_0x4f7870[_0x37ddc1(0x1d4)],{'temperature':core_config_1[_0x37ddc1(0x1ea)][_0x37ddc1(0x1d6)],'apiKey':core_config_1[_0x37ddc1(0x1ea)][_0x37ddc1(0x1ef)],'maxRetries':core_config_1[_0x37ddc1(0x1ea)][_0x37ddc1(0x1e2)]}),new model_registry_1[(_0x37ddc1(0x19a))](_0x4f7870[_0x37ddc1(0x1a2)],{'temperature':core_config_1[_0x37ddc1(0x1ea)][_0x37ddc1(0x1d6)],'apiKey':core_config_1[_0x37ddc1(0x1ea)][_0x37ddc1(0x1ef)],'maxRetries':core_config_1[_0x37ddc1(0x1ea)][_0x37ddc1(0x1e2)]}),new model_registry_1['Model'](_0x37ddc1(0x1b7),{'temperature':core_config_1[_0x37ddc1(0x1ea)][_0x37ddc1(0x1d6)],'apiKey':core_config_1['CoreConfig'][_0x37ddc1(0x1ef)],'maxRetries':core_config_1['CoreConfig'][_0x37ddc1(0x1e2)]}),new model_registry_1[(_0x37ddc1(0x19a))](_0x4f7870[_0x37ddc1(0x1a0)],{'provider':_0x4f7870[_0x37ddc1(0x1e4)],'think':![],'maxRetries':core_config_1['CoreConfig'][_0x37ddc1(0x1e2)],'options':{'temperature':core_config_1[_0x37ddc1(0x1ea)][_0x37ddc1(0x1d6)]}})];}
1
+ const a14_0x287a77=a14_0x4e0f;function a14_0x4e0f(_0x5c0c32,_0x554e01){const _0x484104=a14_0x1b04();return a14_0x4e0f=function(_0x34fdcc,_0x4ca96e){_0x34fdcc=_0x34fdcc-0x1bd;let _0x1b04ab=_0x484104[_0x34fdcc];return _0x1b04ab;},a14_0x4e0f(_0x5c0c32,_0x554e01);}(function(_0x3e2d1a,_0xba8a5){const _0x310627=a14_0x4e0f,_0x3773f3=_0x3e2d1a();while(!![]){try{const _0x55868a=-parseInt(_0x310627(0x1ee))/0x1*(parseInt(_0x310627(0x1dd))/0x2)+-parseInt(_0x310627(0x1e0))/0x3+parseInt(_0x310627(0x1d4))/0x4+-parseInt(_0x310627(0x1e3))/0x5+-parseInt(_0x310627(0x1f3))/0x6+-parseInt(_0x310627(0x1cc))/0x7+parseInt(_0x310627(0x1f2))/0x8;if(_0x55868a===_0xba8a5)break;else _0x3773f3['push'](_0x3773f3['shift']());}catch(_0x378653){_0x3773f3['push'](_0x3773f3['shift']());}}}(a14_0x1b04,0x5077c));const a14_0x4ca96e=(function(){let _0x4c1a8c=!![];return function(_0x25c2e4,_0x3ce581){const _0x49424b=a14_0x4e0f,_0x13c55d={'KSpHe':function(_0x11f481,_0x62cc97){return _0x11f481!==_0x62cc97;},'NUWBK':_0x49424b(0x1c7)},_0xa0d1a7=_0x4c1a8c?function(){const _0x2e50fb=_0x49424b;if(_0x13c55d[_0x2e50fb(0x1c2)]('VvZFW',_0x13c55d[_0x2e50fb(0x1d8)])){if(_0x3ce581){const _0x407ad7=_0x3ce581[_0x2e50fb(0x1ec)](_0x25c2e4,arguments);return _0x3ce581=null,_0x407ad7;}}else{if(_0x4e77fc){const _0xb72ea8=_0x157209[_0x2e50fb(0x1ec)](_0x5ebbe3,arguments);return _0x460cb3=null,_0xb72ea8;}}}:function(){};return _0x4c1a8c=![],_0xa0d1a7;};}()),a14_0x34fdcc=a14_0x4ca96e(this,function(){const _0x171bbf=a14_0x4e0f,_0x4e7d4e={'QdWQr':_0x171bbf(0x1f6)};return a14_0x34fdcc['toString']()[_0x171bbf(0x1c5)](_0x4e7d4e['QdWQr'])['toString']()['constructor'](a14_0x34fdcc)[_0x171bbf(0x1c5)](_0x171bbf(0x1f6));});a14_0x34fdcc();function a14_0x1b04(){const _0x26afac=['defineProperty','4482625DGlRvz','claude-3-5-haiku-latest','gemini-2.5-pro','xdsHu','GveOD','claude-opus-4-1-20250805-thinking','CoreConfig','gpt-5-mini','2082620BUgiLf','lawMW','LAbPL','gpt-4o-mini','NUWBK','claude-sonnet-4-6','OpenAIKey','AnthropicKey','gpt-4.1-mini','52fetXXz','gemini-2.5-flash-lite','claude-3-7-sonnet-thinking','256431klNccw','AcDNz','HviJC','3081260QMoFSV','wntKC','HKXTI','claude-sonnet-4-6-thinking','qwen2.5:1.5b','./model-registry','claude-opus-4-6','dZWEy','KuLhC','apply','fQdGU','21311DfkqnW','__esModule','GeminiKey','llmTemperature','16575176hSrlOu','2200596iooFZR','createPopularModels','gpt-4.1','(((.+)+)+)+$','VTyeN','medium','llmRetry','WJByg','gemini-2.5-flash','IXQYS','bHzZZ','claude-opus-4-1-20250805','gpt-5.4','gemini-3.1-pro-preview','enabled','gemini-3.1-flash-lite-preview','gemini-3-flash-preview','Model','GCrws','Bxhub','KSpHe','claude-haiku-4-5-20251001','ollama','search','lxSpG','UPEbJ','tIIab','gpt-5-nano','uGIiL'];a14_0x1b04=function(){return _0x26afac;};return a14_0x1b04();}'use strict';Object[a14_0x287a77(0x1cb)](exports,a14_0x287a77(0x1ef),{'value':!![]}),exports[a14_0x287a77(0x1f4)]=createPopularModels;const core_config_1=require('../configs/core-config'),model_registry_1=require(a14_0x287a77(0x1e8));function createPopularModels(){const _0x374c99=a14_0x287a77,_0x19cedf={'xdsHu':_0x374c99(0x1ff),'WJByg':_0x374c99(0x1f8),'wntKC':'gpt-5','IXQYS':_0x374c99(0x1d3),'Bxhub':_0x374c99(0x1c9),'VTyeN':_0x374c99(0x1f5),'KuLhC':_0x374c99(0x1dc),'fQdGU':'gpt-4o','FGrQx':_0x374c99(0x1d7),'bHzZZ':_0x374c99(0x1e9),'lxSpG':'claude-opus-4-6-thinking','nkNlw':_0x374c99(0x1d9),'dZWEy':_0x374c99(0x1e6),'GCrws':_0x374c99(0x201),'uGIiL':_0x374c99(0x1c3),'mowQO':_0x374c99(0x1fe),'LAbPL':_0x374c99(0x1d1),'GveOD':'claude-3-7-sonnet-latest','WtAqe':_0x374c99(0x1cd),'tIIab':_0x374c99(0x200),'lawMW':_0x374c99(0x1bd),'mcYRj':_0x374c99(0x1fb),'HKXTI':_0x374c99(0x1de),'HviJC':_0x374c99(0x1e7),'AcDNz':_0x374c99(0x1c4)};return[new model_registry_1[(_0x374c99(0x1bf))](_0x19cedf[_0x374c99(0x1cf)],{'apiKey':core_config_1['CoreConfig'][_0x374c99(0x1da)],'maxRetries':core_config_1['CoreConfig']['llmRetry'],'reasoning':{'effort':_0x19cedf[_0x374c99(0x1fa)]}}),new model_registry_1['Model'](_0x19cedf[_0x374c99(0x1e4)],{'apiKey':core_config_1[_0x374c99(0x1d2)][_0x374c99(0x1da)],'maxRetries':core_config_1[_0x374c99(0x1d2)]['llmRetry'],'reasoning':{'effort':_0x19cedf[_0x374c99(0x1fa)]}}),new model_registry_1[(_0x374c99(0x1bf))](_0x19cedf[_0x374c99(0x1fc)],{'apiKey':core_config_1['CoreConfig'][_0x374c99(0x1da)],'maxRetries':core_config_1[_0x374c99(0x1d2)][_0x374c99(0x1f9)],'reasoning':{'effort':_0x19cedf[_0x374c99(0x1fa)]}}),new model_registry_1['Model'](_0x19cedf[_0x374c99(0x1c1)],{'apiKey':core_config_1['CoreConfig'][_0x374c99(0x1da)],'maxRetries':core_config_1[_0x374c99(0x1d2)][_0x374c99(0x1f9)],'reasoning':{'effort':_0x19cedf[_0x374c99(0x1fa)]}}),new model_registry_1[(_0x374c99(0x1bf))](_0x19cedf[_0x374c99(0x1f7)],{'temperature':core_config_1[_0x374c99(0x1d2)][_0x374c99(0x1f1)],'apiKey':core_config_1[_0x374c99(0x1d2)][_0x374c99(0x1da)],'maxRetries':core_config_1[_0x374c99(0x1d2)][_0x374c99(0x1f9)]}),new model_registry_1[(_0x374c99(0x1bf))](_0x19cedf[_0x374c99(0x1eb)],{'temperature':core_config_1[_0x374c99(0x1d2)][_0x374c99(0x1f1)],'apiKey':core_config_1['CoreConfig'][_0x374c99(0x1da)],'maxRetries':core_config_1[_0x374c99(0x1d2)][_0x374c99(0x1f9)]}),new model_registry_1['Model'](_0x19cedf[_0x374c99(0x1ed)],{'temperature':core_config_1[_0x374c99(0x1d2)]['llmTemperature'],'apiKey':core_config_1[_0x374c99(0x1d2)][_0x374c99(0x1da)],'maxRetries':core_config_1['CoreConfig'][_0x374c99(0x1f9)]}),new model_registry_1['Model'](_0x19cedf['FGrQx'],{'temperature':core_config_1[_0x374c99(0x1d2)][_0x374c99(0x1f1)],'apiKey':core_config_1[_0x374c99(0x1d2)][_0x374c99(0x1da)],'maxRetries':core_config_1['CoreConfig'][_0x374c99(0x1f9)]}),new model_registry_1[(_0x374c99(0x1bf))](_0x19cedf['bHzZZ'],{'temperature':0x0,'apiKey':core_config_1[_0x374c99(0x1d2)][_0x374c99(0x1db)],'maxRetries':core_config_1[_0x374c99(0x1d2)]['llmRetry']}),new model_registry_1[(_0x374c99(0x1bf))](_0x19cedf[_0x374c99(0x1c6)],{'apiKey':core_config_1[_0x374c99(0x1d2)][_0x374c99(0x1db)],'maxRetries':core_config_1[_0x374c99(0x1d2)][_0x374c99(0x1f9)],'thinking':{'type':_0x374c99(0x201),'budget_tokens':0x800}},_0x19cedf[_0x374c99(0x1fd)]),new model_registry_1['Model'](_0x19cedf['nkNlw'],{'temperature':0x0,'apiKey':core_config_1[_0x374c99(0x1d2)]['AnthropicKey'],'maxRetries':core_config_1[_0x374c99(0x1d2)][_0x374c99(0x1f9)]}),new model_registry_1['Model'](_0x19cedf[_0x374c99(0x1ea)],{'apiKey':core_config_1[_0x374c99(0x1d2)][_0x374c99(0x1db)],'maxRetries':core_config_1['CoreConfig'][_0x374c99(0x1f9)],'thinking':{'type':_0x19cedf[_0x374c99(0x1c0)],'budget_tokens':0x800}},_0x374c99(0x1d9)),new model_registry_1[(_0x374c99(0x1bf))](_0x19cedf[_0x374c99(0x1ca)],{'temperature':core_config_1[_0x374c99(0x1d2)]['llmTemperature'],'apiKey':core_config_1['CoreConfig'][_0x374c99(0x1db)],'maxRetries':core_config_1[_0x374c99(0x1d2)][_0x374c99(0x1f9)]}),new model_registry_1[(_0x374c99(0x1bf))](_0x19cedf['mowQO'],{'temperature':0x0,'apiKey':core_config_1[_0x374c99(0x1d2)][_0x374c99(0x1db)],'maxRetries':core_config_1[_0x374c99(0x1d2)][_0x374c99(0x1f9)]}),new model_registry_1['Model'](_0x19cedf[_0x374c99(0x1d6)],{'apiKey':core_config_1[_0x374c99(0x1d2)][_0x374c99(0x1db)],'maxRetries':core_config_1[_0x374c99(0x1d2)]['llmRetry'],'thinking':{'type':_0x19cedf['GCrws'],'budget_tokens':0x800}},_0x19cedf['mowQO']),new model_registry_1['Model'](_0x19cedf[_0x374c99(0x1d0)],{'temperature':0x0,'apiKey':core_config_1['CoreConfig'][_0x374c99(0x1db)],'maxRetries':core_config_1[_0x374c99(0x1d2)][_0x374c99(0x1f9)]}),new model_registry_1[(_0x374c99(0x1bf))](_0x374c99(0x1df),{'apiKey':core_config_1[_0x374c99(0x1d2)][_0x374c99(0x1db)],'maxRetries':core_config_1[_0x374c99(0x1d2)][_0x374c99(0x1f9)],'thinking':{'type':_0x19cedf[_0x374c99(0x1c0)],'budget_tokens':0x800}},_0x19cedf[_0x374c99(0x1d0)]),new model_registry_1[(_0x374c99(0x1bf))](_0x19cedf['WtAqe'],{'temperature':core_config_1[_0x374c99(0x1d2)][_0x374c99(0x1f1)],'apiKey':core_config_1[_0x374c99(0x1d2)][_0x374c99(0x1db)],'maxRetries':core_config_1[_0x374c99(0x1d2)][_0x374c99(0x1f9)]}),new model_registry_1['Model'](_0x19cedf[_0x374c99(0x1c8)],{'temperature':core_config_1[_0x374c99(0x1d2)][_0x374c99(0x1f1)],'apiKey':core_config_1[_0x374c99(0x1d2)][_0x374c99(0x1f0)],'maxRetries':core_config_1[_0x374c99(0x1d2)][_0x374c99(0x1f9)]}),new model_registry_1[(_0x374c99(0x1bf))](_0x374c99(0x1be),{'temperature':core_config_1[_0x374c99(0x1d2)][_0x374c99(0x1f1)],'apiKey':core_config_1[_0x374c99(0x1d2)][_0x374c99(0x1f0)],'maxRetries':core_config_1[_0x374c99(0x1d2)][_0x374c99(0x1f9)]}),new model_registry_1[(_0x374c99(0x1bf))](_0x19cedf[_0x374c99(0x1d5)],{'temperature':core_config_1['CoreConfig']['llmTemperature'],'apiKey':core_config_1[_0x374c99(0x1d2)][_0x374c99(0x1f0)],'maxRetries':core_config_1['CoreConfig'][_0x374c99(0x1f9)]}),new model_registry_1['Model'](_0x374c99(0x1ce),{'temperature':core_config_1[_0x374c99(0x1d2)][_0x374c99(0x1f1)],'apiKey':core_config_1[_0x374c99(0x1d2)][_0x374c99(0x1f0)],'maxRetries':core_config_1['CoreConfig'][_0x374c99(0x1f9)]}),new model_registry_1[(_0x374c99(0x1bf))](_0x19cedf['mcYRj'],{'temperature':core_config_1[_0x374c99(0x1d2)][_0x374c99(0x1f1)],'apiKey':core_config_1['CoreConfig']['GeminiKey'],'maxRetries':core_config_1['CoreConfig']['llmRetry']}),new model_registry_1[(_0x374c99(0x1bf))](_0x19cedf[_0x374c99(0x1e5)],{'temperature':core_config_1[_0x374c99(0x1d2)][_0x374c99(0x1f1)],'apiKey':core_config_1['CoreConfig'][_0x374c99(0x1f0)],'maxRetries':core_config_1[_0x374c99(0x1d2)][_0x374c99(0x1f9)]}),new model_registry_1[(_0x374c99(0x1bf))](_0x19cedf[_0x374c99(0x1e2)],{'provider':_0x19cedf[_0x374c99(0x1e1)],'think':![],'maxRetries':core_config_1[_0x374c99(0x1d2)][_0x374c99(0x1f9)],'options':{'temperature':core_config_1[_0x374c99(0x1d2)]['llmTemperature']}})];}