@@ -229,7 +229,7 @@ export function useQueryInterfaceController({ getContext, service, logService })
229229 } ) ;
230230
231231 if ( useTextProcessMode ) {
232- const textProcessData = {
232+ const textProcessPayload = {
233233 text : currentQuery ,
234234 extractionBackend : latestState . textProcessOptions . extractionBackend ,
235235 llmModel : latestState . textProcessOptions . llmModel ,
@@ -253,10 +253,10 @@ export function useQueryInterfaceController({ getContext, service, logService })
253253 topTermPerChunkForAggregation : latestState . topTermPerChunkForAggregation ,
254254 includeDetails : latestState . includeDetails ,
255255 } ;
256- logService . info ( 'Sending to / text/process API ' , sanitizedLog ) ;
257- response = await service . processText ( textProcessData ) ;
256+ logService . info ( 'Submitting text request ' , sanitizedLog ) ;
257+ response = await service . processText ( textProcessPayload ) ;
258258 } else {
259- const queryData = {
259+ const queryPayload = {
260260 text : currentQuery ,
261261 model_name : latestState . selectedModel ,
262262 language : latestState . selectedLanguage ,
@@ -266,8 +266,8 @@ export function useQueryInterfaceController({ getContext, service, logService })
266266 detect_query_assertion : true ,
267267 include_details : latestState . includeDetails ,
268268 } ;
269- logService . info ( 'Sending to /query API ' , sanitizedLog ) ;
270- response = await service . queryHpo ( queryData ) ;
269+ logService . info ( 'Submitting text request ' , sanitizedLog ) ;
270+ response = await service . queryHpo ( queryPayload ) ;
271271 }
272272
273273 context . conversationStore . updateQueryResponse ( queryId , response ) ;
0 commit comments