diff --git a/src/lib/ai-proxy.ts b/src/lib/ai-proxy.ts index bca17f2..1ffaa3b 100644 --- a/src/lib/ai-proxy.ts +++ b/src/lib/ai-proxy.ts @@ -26,7 +26,7 @@ export interface OpenAIRequest { temperature?: number; max_tokens?: number; top_p?: number; -t top_k?: number; + top_k?: number; stream?: boolean; stop?: string | string[]; presence_penalty?: number; diff --git a/src/lib/anthropic-proxy.ts b/src/lib/anthropic-proxy.ts index ea32c76..30e1e41 100644 --- a/src/lib/anthropic-proxy.ts +++ b/src/lib/anthropic-proxy.ts @@ -40,9 +40,8 @@ export interface AnthropicRequest { stream?: boolean; temperature?: number; top_p?: number; -t top_k?: number; - stream?: boolean; top_k?: number; + stream?: boolean; stop_sequences?: string[]; system?: string | AnthropicSystemBlock[]; metadata?: Record; @@ -88,8 +87,6 @@ interface BackendBody { max_tokens: number; temperature?: number; top_p?: number; -t top_k?: number; - stream?: boolean; top_k?: number; stream?: boolean; stop?: string | string[];