File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 55// Async params support
66export type {
77 CallModelInput ,
8- CallModelInputWithApprovalTools ,
8+ CallModelInputWithState ,
99 FieldOrAsyncFunction ,
1010 ResolvedCallModelInput ,
1111} from './lib/async-params.js' ;
Original file line number Diff line number Diff line change @@ -88,9 +88,9 @@ export type CallModelInput<TTools extends readonly Tool[] = readonly Tool[]> =
8888 BaseCallModelInput < TTools > & ( ApprovalParamsWithState < TTools > | ApprovalParamsWithoutState ) ;
8989
9090/**
91- * Strict version that requires state - use when tools have approval configured
91+ * CallModelInput variant that requires state - use when approval workflows are needed
9292 */
93- export type CallModelInputWithApprovalTools < TTools extends readonly Tool [ ] = readonly Tool [ ] > =
93+ export type CallModelInputWithState < TTools extends readonly Tool [ ] = readonly Tool [ ] > =
9494 BaseCallModelInput < TTools > & ApprovalParamsWithState < TTools > ;
9595
9696/**
You can’t perform that action at this time.
0 commit comments