UNPKG

@code-yeongyu/senpi

Version:

Coding agent CLI with read, bash, edit, write tools and session management

13 lines • 836 B
import type { Api, Model } from "@earendil-works/pi-ai"; export type AnthropicToolSearchModel = Pick<Model<Api>, "api" | "id" | "provider"> & Partial<Pick<Model<Api>, "compat">>; export type AnthropicToolSearchTarget = Api | AnthropicToolSearchModel | undefined; /** * Anthropic-compatible endpoints (gateways, kimi-coding, proxies) answer the * same `anthropic-messages` api but reject the server tool, so the api alone is * not a sufficient gate: injecting there 400s the request and disables native * search for the rest of the session. A bare api string carries no model * identity to gate on and stays supported, so the pure payload transform keeps * its api-only contract. */ export declare function supportsAnthropicNativeToolSearch(target: AnthropicToolSearchTarget): boolean; //# sourceMappingURL=native-support.d.ts.map