@constal/sdk 6.19.0 → 6.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/publish/api.json +1 -1
- package/publish/index.d.ts +4 -0
package/package.json
CHANGED
package/publish/api.json
CHANGED
package/publish/index.d.ts
CHANGED
|
@@ -3323,6 +3323,8 @@ interface TurnGate {
|
|
|
3323
3323
|
* message answering one of those calls by id. */
|
|
3324
3324
|
type TurnHistoryMessage = ModelHistoryMessage;
|
|
3325
3325
|
interface TurnSpec extends ModelGenerationOptions {
|
|
3326
|
+
/** Execution deadline for each model invocation. Runner leases and caller waits are separate. */
|
|
3327
|
+
timeoutMs?: number;
|
|
3326
3328
|
system: string;
|
|
3327
3329
|
objective?: unknown;
|
|
3328
3330
|
context?: unknown;
|
|
@@ -3643,6 +3645,8 @@ interface BoundResourceCapabilities {
|
|
|
3643
3645
|
}
|
|
3644
3646
|
/** One evaluation of shared state against typed questions through a bound evaluation Model, or a Gateway plus explicit model identifier. */
|
|
3645
3647
|
interface EvaluationSpec<Q extends EvaluationQuestions = EvaluationQuestions> {
|
|
3648
|
+
/** Execution deadline for this evaluation. Defaults to the pinned model's execution policy. */
|
|
3649
|
+
timeoutMs?: number;
|
|
3646
3650
|
state: EvaluationEntry;
|
|
3647
3651
|
questions: Q;
|
|
3648
3652
|
/** Model binding name; when gateway is supplied, the Gateway's model identifier instead. */
|