Skip to content

Commit ff08b06

Browse files
committed
Update "Fix All Automatically" description and improve model provider setup flow with clearer messaging and navigation
1 parent 814d10f commit ff08b06

3 files changed

Lines changed: 6 additions & 4 deletions

File tree

‎apps/editor/src/views/settings/frontend/Home/Home.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,7 @@ export const Home: React.FC<Props> = (props) => {
406406
<Group>
407407
<Item
408408
title="Fix All Automatically"
409-
description="Always run on all failed files in the response preview."
409+
description="Run the tool on all failed to apply files immediately."
410410
slot_right={
411411
<Toggler
412412
is_on={props.fix_all_automatically}

‎apps/editor/src/views/utils/config-editing.ts‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,10 @@ export const initial_select_provider = async (
1919

2020
if (providers.length == 0) {
2121
vscode.window.showWarningMessage(
22-
dictionary.warning_message.NO_MODEL_PROVIDERS_CONFIGURED
22+
dictionary.warning_message.NO_MODEL_PROVIDERS_FOUND,
23+
{ modal: true }
2324
)
25+
vscode.commands.executeCommand('codeWebChat.settings', 'model-providers')
2426
return
2527
}
2628

‎packages/shared/src/constants/dictionary.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -192,8 +192,8 @@ export const dictionary = {
192192
`No models found for ${provider_name}. You can enter model name manually.`,
193193
NO_RESULTS_FOR_SEARCH_SHOWING_ALL: (search_value: string) =>
194194
`No results for "${search_value}" in the selected context.`,
195-
NO_MODEL_PROVIDERS_CONFIGURED:
196-
'No model providers configured. Please add a model provider first on the "Model Providers" page.',
195+
NO_MODEL_PROVIDERS_FOUND:
196+
'No model providers found. Please add a model provider first.',
197197
SELECT_PRESET_FROM_LIST: 'Select preset from the list.'
198198
},
199199

0 commit comments

Comments
 (0)