@@ -148,13 +148,13 @@ const SETTING_SECTIONS: SettingSection[] = [
148
148
fields : [
149
149
{
150
150
type : SettingInputType . CHECKBOX ,
151
- label : 'Expand though process by default for generating message ' ,
151
+ label : 'Expand thought process by default when generating messages ' ,
152
152
key : 'showThoughtInProgress' ,
153
153
} ,
154
154
{
155
155
type : SettingInputType . CHECKBOX ,
156
156
label :
157
- 'Exclude thought process when sending request to API (Recommended for DeepSeek-R1)' ,
157
+ 'Exclude thought process when sending requests to API (Recommended for DeepSeek-R1)' ,
158
158
key : 'excludeThoughtOnReq' ,
159
159
} ,
160
160
] ,
@@ -247,7 +247,7 @@ const SETTING_SECTIONS: SettingSection[] = [
247
247
This feature uses{ ' ' }
248
248
< OpenInNewTab href = "https://pyodide.org" > pyodide</ OpenInNewTab > ,
249
249
downloaded from CDN. To use this feature, ask the LLM to generate
250
- python code inside a markdown code block. You will see a "Run"
250
+ Python code inside a Markdown code block. You will see a "Run"
251
251
button on the code block, near the "Copy" button.
252
252
</ small >
253
253
</ >
@@ -274,7 +274,7 @@ export default function SettingDialog({
274
274
) ;
275
275
276
276
const resetConfig = ( ) => {
277
- if ( window . confirm ( 'Are you sure to reset all settings?' ) ) {
277
+ if ( window . confirm ( 'Are you sure you want to reset all settings?' ) ) {
278
278
setLocalConfig ( CONFIG_DEFAULT ) ;
279
279
}
280
280
} ;
@@ -296,9 +296,9 @@ export default function SettingDialog({
296
296
return ;
297
297
}
298
298
} else if ( mustBeNumeric ) {
299
- const trimedValue = value . toString ( ) . trim ( ) ;
300
- const numVal = Number ( trimedValue ) ;
301
- if ( isNaN ( numVal ) || ! isNumeric ( numVal ) || trimedValue . length === 0 ) {
299
+ const trimmedValue = value . toString ( ) . trim ( ) ;
300
+ const numVal = Number ( trimmedValue ) ;
301
+ if ( isNaN ( numVal ) || ! isNumeric ( numVal ) || trimmedValue . length === 0 ) {
302
302
alert ( `Value for ${ key } must be numeric` ) ;
303
303
return ;
304
304
}
0 commit comments