mirror of
https://github.com/pacnpal/Roo-Code.git
synced 2025-12-20 12:21:13 -05:00
Fix fuzzy match slider
This commit is contained in:
@@ -1052,6 +1052,7 @@ export class ClineProvider implements vscode.WebviewViewProvider {
|
|||||||
preferredLanguage,
|
preferredLanguage,
|
||||||
writeDelayMs,
|
writeDelayMs,
|
||||||
terminalOutputLineLimit,
|
terminalOutputLineLimit,
|
||||||
|
fuzzyMatchThreshold,
|
||||||
} = await this.getState()
|
} = await this.getState()
|
||||||
|
|
||||||
const allowedCommands = vscode.workspace
|
const allowedCommands = vscode.workspace
|
||||||
@@ -1082,6 +1083,7 @@ export class ClineProvider implements vscode.WebviewViewProvider {
|
|||||||
preferredLanguage: preferredLanguage ?? 'English',
|
preferredLanguage: preferredLanguage ?? 'English',
|
||||||
writeDelayMs: writeDelayMs ?? 1000,
|
writeDelayMs: writeDelayMs ?? 1000,
|
||||||
terminalOutputLineLimit: terminalOutputLineLimit ?? 500,
|
terminalOutputLineLimit: terminalOutputLineLimit ?? 500,
|
||||||
|
fuzzyMatchThreshold: fuzzyMatchThreshold ?? 1.0,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -257,7 +257,7 @@ const SettingsView = ({ onDone }: SettingsViewProps) => {
|
|||||||
<span style={{ fontWeight: "500", minWidth: '100px' }}>Match precision</span>
|
<span style={{ fontWeight: "500", minWidth: '100px' }}>Match precision</span>
|
||||||
<input
|
<input
|
||||||
type="range"
|
type="range"
|
||||||
min="0.9"
|
min="0.8"
|
||||||
max="1"
|
max="1"
|
||||||
step="0.005"
|
step="0.005"
|
||||||
value={fuzzyMatchThreshold ?? 1.0}
|
value={fuzzyMatchThreshold ?? 1.0}
|
||||||
|
|||||||
Reference in New Issue
Block a user