@vellumai/plugin-api 0.10.1-dev.202606240206.7c2bca6 → 0.10.1-dev.202606240328.ea25efe
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 +10 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -3049,6 +3049,15 @@ export declare interface Provider {
|
|
|
3049
3049
|
* Falls back to `name` when unset.
|
|
3050
3050
|
*/
|
|
3051
3051
|
tokenEstimationProvider?: string;
|
|
3052
|
+
/**
|
|
3053
|
+
* True when this provider instance was constructed to run web search
|
|
3054
|
+
* server-side (provider-native). The native search only activates when a
|
|
3055
|
+
* `web_search`-named tool is passed in the request, so callers that want to
|
|
3056
|
+
* enable web search on a one-shot completion (e.g. the advisor consult) check
|
|
3057
|
+
* this first — passing the tool to a non-native instance would surface an
|
|
3058
|
+
* unexecutable client tool call. Absent/false on providers without it.
|
|
3059
|
+
*/
|
|
3060
|
+
supportsNativeWebSearch?: boolean;
|
|
3052
3061
|
sendMessage(messages: Message[], options?: SendMessageOptions): Promise<ProviderResponse>;
|
|
3053
3062
|
/**
|
|
3054
3063
|
* Exact prompt-token count from the provider's own tokenizer, for the
|
|
@@ -4016,6 +4025,7 @@ declare const ToolDefinitionSchema: z.ZodObject<{
|
|
|
4016
4025
|
host: "host";
|
|
4017
4026
|
}>>;
|
|
4018
4027
|
execute: z.ZodOptional<z.ZodCustom<(input: Record<string, unknown>, context: ToolContext) => Promise<ToolExecutionResult>, (input: Record<string, unknown>, context: ToolContext) => Promise<ToolExecutionResult>>>;
|
|
4028
|
+
exclusive: z.ZodOptional<z.ZodBoolean>;
|
|
4019
4029
|
}, z.core.$strip>;
|
|
4020
4030
|
|
|
4021
4031
|
/**
|
package/package.json
CHANGED