@vellumai/plugin-api 0.10.3 → 0.10.4-staging.1
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/index.d.ts +15 -1
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1491,6 +1491,8 @@ declare interface FormSurfaceData {
|
|
|
1491
1491
|
back?: string;
|
|
1492
1492
|
submit?: string;
|
|
1493
1493
|
};
|
|
1494
|
+
/** Progress indicator style for multi-page forms: segment bar or labeled tabs. */
|
|
1495
|
+
progressStyle?: "bar" | "tabs";
|
|
1494
1496
|
}
|
|
1495
1497
|
|
|
1496
1498
|
/** Response to a generate_avatar request indicating success or failure. */
|
|
@@ -2291,7 +2293,6 @@ declare const LLMCallSiteEnum: z.ZodEnum<{
|
|
|
2291
2293
|
meetConsentMonitor: "meetConsentMonitor";
|
|
2292
2294
|
meetChatOpportunity: "meetChatOpportunity";
|
|
2293
2295
|
inference: "inference";
|
|
2294
|
-
advisor: "advisor";
|
|
2295
2296
|
vision: "vision";
|
|
2296
2297
|
trustRuleSuggestion: "trustRuleSuggestion";
|
|
2297
2298
|
homeGreeting: "homeGreeting";
|
|
@@ -3096,6 +3097,19 @@ export declare interface Provider {
|
|
|
3096
3097
|
* unexecutable client tool call. Absent/false on providers without it.
|
|
3097
3098
|
*/
|
|
3098
3099
|
supportsNativeWebSearch?: boolean;
|
|
3100
|
+
/**
|
|
3101
|
+
* Per-call native web-search capability for the provider/model this specific
|
|
3102
|
+
* request will route to. Unlike the static {@link supportsNativeWebSearch}
|
|
3103
|
+
* flag — fixed to the DEFAULT provider/model at construction — this consults
|
|
3104
|
+
* the resolved call-site (`options.config.callSite` + `overrideProfile`) so a
|
|
3105
|
+
* routing wrapper reports the ROUTED target's capability. Callers that gate a
|
|
3106
|
+
* `web_search` server tool on a possibly-routed call (e.g. the advisor
|
|
3107
|
+
* consult, whose `advisorProfile` may point at a different provider/model)
|
|
3108
|
+
* must use this rather than the construction-time snapshot. Optional: wrappers
|
|
3109
|
+
* forward it to their inner provider; leaf providers may omit it, in which
|
|
3110
|
+
* case callers fall back to {@link supportsNativeWebSearch}.
|
|
3111
|
+
*/
|
|
3112
|
+
supportsNativeWebSearchFor?(options?: SendMessageOptions): boolean;
|
|
3099
3113
|
sendMessage(messages: Message[], options?: SendMessageOptions): Promise<ProviderResponse>;
|
|
3100
3114
|
/**
|
|
3101
3115
|
* Exact prompt-token count from the provider's own tokenizer, for the
|