mirror of
https://github.com/badlogic/pi-mono.git
synced 2026-11-05 23:37:25 +00:00
fix(coding-agent): include scoped models in TUI extension context (#7215)
This commit is contained in:
parent
063fb963c5
commit
b6fb91e5b3
2 changed files with 2 additions and 0 deletions
|
|
@ -1798,6 +1798,7 @@ export class InteractiveMode {
|
|||
sessionManager: this.sessionManager,
|
||||
modelRegistry: extensionRunner.getModelRegistry(),
|
||||
model: this.session.model,
|
||||
scopedModels: this.session.scopedModels,
|
||||
thinkingLevel: this.session.thinkingLevel,
|
||||
isIdle: () => this.session.isIdle,
|
||||
isProjectTrusted: () => this.settingsManager.isProjectTrusted(),
|
||||
|
|
|
|||
|
|
@ -11,6 +11,7 @@ function createContext(tokens: number | null, compact = vi.fn()): ExtensionConte
|
|||
sessionManager: {} as ExtensionContext["sessionManager"],
|
||||
modelRegistry: {} as ExtensionContext["modelRegistry"],
|
||||
model: undefined,
|
||||
scopedModels: [],
|
||||
isIdle: () => true,
|
||||
isProjectTrusted: () => true,
|
||||
signal: undefined,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue