13 lines
580 B
TypeScript
13 lines
580 B
TypeScript
import type { SimpleStreamOptions, StreamFunction, StreamOptions } from "../types.js";
|
|
export interface AnthropicOptions extends StreamOptions {
|
|
thinkingEnabled?: boolean;
|
|
thinkingBudgetTokens?: number;
|
|
interleavedThinking?: boolean;
|
|
toolChoice?: "auto" | "any" | "none" | {
|
|
type: "tool";
|
|
name: string;
|
|
};
|
|
}
|
|
export declare const streamAnthropic: StreamFunction<"anthropic-messages", AnthropicOptions>;
|
|
export declare const streamSimpleAnthropic: StreamFunction<"anthropic-messages", SimpleStreamOptions>;
|
|
//# sourceMappingURL=anthropic.d.ts.map
|