@langchain/anthropic
Version:
Anthropic integrations for LangChain.js
4 lines (3 loc) • 330 B
TypeScript
import type { MessageCreateParams } from "@anthropic-ai/sdk/resources/index.mjs";
import { AnthropicToolChoice } from "../types.js";
export declare function handleToolChoice(toolChoice?: AnthropicToolChoice): MessageCreateParams.ToolChoiceAuto | MessageCreateParams.ToolChoiceAny | MessageCreateParams.ToolChoiceTool | undefined;