@@ -54,7 +54,10 @@ import {
54
54
ConstructionProvider ,
55
55
} from "../agentProvider/agentProvider.js" ;
56
56
import { RequestMetricsManager } from "../utils/metrics.js" ;
57
- import { getSchemaNamePrefix } from "../execute/actionHandlers.js" ;
57
+ import {
58
+ ActionContextWithClose ,
59
+ getSchemaNamePrefix ,
60
+ } from "../execute/actionHandlers.js" ;
58
61
import { displayError } from "@typeagent/agent-sdk/helpers/display" ;
59
62
60
63
import {
@@ -78,11 +81,6 @@ export interface ClientSettingsProvider {
78
81
set : SetSettingFunction | null ;
79
82
}
80
83
81
- type ActionContextWithClose = {
82
- actionContext : ActionContext < unknown > ;
83
- closeActionContext : ( ) => void ;
84
- } ;
85
-
86
84
// Command Handler Context definition.
87
85
export type CommandHandlerContext = {
88
86
agents : AppAgentManager ;
@@ -133,7 +131,7 @@ export function getTranslatorForSchema(
133
131
context . agents ,
134
132
getActiveTranslators ( context ) ,
135
133
config . switch . inline ,
136
- config . multipleActions ,
134
+ config . multiple ,
137
135
config . schema . generation ,
138
136
config . model ,
139
137
! config . schema . optimize . enabled ,
@@ -171,7 +169,7 @@ export async function getTranslatorForSelectedActions(
171
169
context . agents ,
172
170
getActiveTranslators ( context ) ,
173
171
config . switch . inline ,
174
- config . multipleActions ,
172
+ config . multiple ,
175
173
config . model ,
176
174
) ;
177
175
}
@@ -540,7 +538,7 @@ export async function changeContextConfig(
540
538
translatorChanged ||
541
539
changed . translation ?. model !== undefined ||
542
540
changed . translation ?. switch ?. inline !== undefined ||
543
- changed . translation ?. multipleActions !== undefined ||
541
+ changed . translation ?. multiple !== undefined ||
544
542
changed . translation ?. schema ?. generation !== undefined ||
545
543
changed . translation ?. schema ?. optimize ?. enabled !== undefined
546
544
) {
0 commit comments