mirror of
https://github.com/pacnpal/Roo-Code.git
synced 2025-12-20 12:21:13 -05:00
Fix language selector
This commit is contained in:
@@ -809,7 +809,8 @@ export class Cline {
|
||||
})
|
||||
}
|
||||
|
||||
const { browserViewportSize, mode, customPrompts } = (await this.providerRef.deref()?.getState()) ?? {}
|
||||
const { browserViewportSize, mode, customPrompts, preferredLanguage } =
|
||||
(await this.providerRef.deref()?.getState()) ?? {}
|
||||
const { customModes } = (await this.providerRef.deref()?.getState()) ?? {}
|
||||
const systemPrompt = await (async () => {
|
||||
const provider = this.providerRef.deref()
|
||||
@@ -826,6 +827,7 @@ export class Cline {
|
||||
mode,
|
||||
customPrompts,
|
||||
customModes,
|
||||
preferredLanguage,
|
||||
)
|
||||
})()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user