@@ -29,7 +29,7 @@ import { replace_symbols } from '@/views/panel/backend/utils/symbols/replace-sym
2929import { split_recent_and_rest_configurations } from '@/views/panel/backend/utils/split-recent-and-rest-configurations'
3030import { t } from '@/i18n'
3131
32- const get_edit_context_api_configuration = async ( params : {
32+ const get_edit_files_api_configuration = async ( params : {
3333 api_providers_manager : ModelProvidersManager
3434 show_quick_pick ?: boolean
3535 context : vscode . ExtensionContext
@@ -74,7 +74,7 @@ const get_edit_context_api_configuration = async (params: {
7474 if ( params . panel_provider ) {
7575 params . panel_provider . send_message ( {
7676 command : 'SELECTED_API_CONFIGURATION_CHANGED' ,
77- prompt_type : 'edit-context ' ,
77+ prompt_type : 'edit-files ' ,
7878 id : params . api_configuration_id
7979 } )
8080 }
@@ -225,7 +225,7 @@ const get_edit_context_api_configuration = async (params: {
225225 if ( params . panel_provider ) {
226226 params . panel_provider . send_message ( {
227227 command : 'SELECTED_API_CONFIGURATION_CHANGED' ,
228- prompt_type : 'edit-context ' ,
228+ prompt_type : 'edit-files ' ,
229229 id : selected . id !
230230 } )
231231 }
@@ -273,7 +273,7 @@ const get_edit_context_api_configuration = async (params: {
273273 dictionary . error_message . API_PROVIDER_NOT_FOUND
274274 )
275275 Logger . warn ( {
276- function_name : 'get_edit_context_api_configuration ' ,
276+ function_name : 'get_edit_files_api_configuration ' ,
277277 message : 'API provider not found for Edit Context tool.'
278278 } )
279279 return
@@ -285,7 +285,7 @@ const get_edit_context_api_configuration = async (params: {
285285 }
286286}
287287
288- export const handle_edit_context = async (
288+ export const handle_edit_files = async (
289289 panel_provider : PanelProvider ,
290290 message : EditContextMessage
291291) : Promise < void > => {
@@ -335,7 +335,7 @@ export const handle_edit_context = async (
335335 let should_show_quick_pick = message . use_quick_pick
336336
337337 while ( true ) {
338- const api_configuration_result = await get_edit_context_api_configuration ( {
338+ const api_configuration_result = await get_edit_files_api_configuration ( {
339339 api_providers_manager,
340340 show_quick_pick : should_show_quick_pick ,
341341 context : panel_provider . context ,
@@ -463,7 +463,7 @@ export const handle_edit_context = async (
463463 return false
464464 }
465465 Logger . error ( {
466- function_name : 'handle_edit_context ' ,
466+ function_name : 'handle_edit_files ' ,
467467 message : 'edit context task error' ,
468468 data : error
469469 } )
0 commit comments