File tree Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -82,8 +82,7 @@ let client;
8282switch ( clientToUse ) {
8383 case 'bing' :
8484 client = new BingAIClient ( {
85- userToken : settings . bingAiClient . userToken ,
86- debug : settings . bingAiClient . debug ,
85+ ...settings . bingAiClient ,
8786 cache : settings . cacheOptions ,
8887 } ) ;
8988 break ;
Original file line number Diff line number Diff line change @@ -48,10 +48,7 @@ const clientToUse = settings.apiOptions?.clientToUse || settings.clientToUse ||
4848let client ;
4949switch ( clientToUse ) {
5050 case 'bing' :
51- client = new BingAIClient ( {
52- userToken : settings . bingAiClient . userToken ,
53- debug : settings . bingAiClient . debug ,
54- } ) ;
51+ client = new BingAIClient ( settings . bingAiClient ) ;
5552 break ;
5653 default :
5754 client = new ChatGPTClient (
You can’t perform that action at this time.
0 commit comments