@encorp.ai/llm-open-proxy - v0.2.2
    Preparing search index...

    Interface AnthropicRequest

    interface AnthropicRequest {
        model: string;
        messages: {
            role: "user" | "assistant";
            content: string | AnthropicContentBlock[];
        }[];
        system?: string;
        max_tokens: number;
        temperature?: number;
        stream?: boolean;
        tools?: {
            name: string;
            description?: string;
            input_schema: Record<string, unknown>;
        }[];
        tool_choice?: { type: "tool"
        | "auto"
        | "none"
        | "any"; name?: string };
        output_config?: {
            format: { type: "json_schema"; schema: Record<string, unknown> };
        };
        [key: string]: unknown;
    }

    Indexable

    • [key: string]: unknown
    Index

    Properties

    model: string
    messages: {
        role: "user" | "assistant";
        content: string | AnthropicContentBlock[];
    }[]
    system?: string
    max_tokens: number
    temperature?: number
    stream?: boolean
    tools?: {
        name: string;
        description?: string;
        input_schema: Record<string, unknown>;
    }[]
    tool_choice?: { type: "tool" | "auto" | "none" | "any"; name?: string }
    output_config?: {
        format: { type: "json_schema"; schema: Record<string, unknown> };
    }