refactor(flags): route plan mode through runtime flags (#27320)

This commit is contained in:
Shoubhit Dash 2026-05-13 17:17:04 +05:30 committed by GitHub
commit 098bdd8ae2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 6 additions and 1 deletions

View file

@ -206,6 +206,7 @@ function makeHttp() {
Layer.provideMerge(trunc),
Layer.provide(Instruction.defaultLayer),
Layer.provide(SystemPrompt.defaultLayer),
Layer.provide(RuntimeFlags.layer()),
Layer.provideMerge(deps),
),
).pipe(Layer.provide(summary))

View file

@ -165,6 +165,7 @@ function makeHttp() {
Layer.provideMerge(trunc),
Layer.provide(Instruction.defaultLayer),
Layer.provide(SystemPrompt.defaultLayer),
Layer.provide(RuntimeFlags.layer()),
Layer.provideMerge(deps),
),
)