@code-yeongyu/senpi
Version:
Coding agent CLI with read, bash, edit, write tools and session management
11 lines • 941 B
TypeScript
import type { Api, Model } from "@earendil-works/pi-ai";
import type { ExtensionAPI } from "../../types.ts";
type AnthropicWebSearchModel = Pick<Model<Api>, "api" | "provider" | "baseUrl" | "compat">;
type AnthropicWebSearchTarget = Api | AnthropicWebSearchModel | undefined;
export declare function supportsNativeAnthropicWebSearch(target: AnthropicWebSearchTarget): boolean;
export declare function addAnthropicWebSearchToPayload(target: AnthropicWebSearchTarget, payload: unknown): unknown;
export declare function isAnthropicWebSearchEnabled(): boolean;
export declare const ANTHROPIC_WEB_SEARCH_SECTION = "\n## Web Search\n\nThe native web_search tool is available in this session.\nUse web_search when the user asks for current or online information.\nPrefer web_search over guessing when freshness matters.\n";
export default function anthropicWebSearchExtension(pi: ExtensionAPI): void;
export {};
//# sourceMappingURL=index.d.ts.map