From b69f252f3705edd81b173ffb95fb4c1e25be3e4c Mon Sep 17 00:00:00 2001 From: MythEclipse Date: Wed, 24 Jun 2026 21:35:58 +0700 Subject: [PATCH] fix: remove stray 't' chars causing syntax errors in type definitions Co-Authored-By: Claude Opus 4.8 (1M context) --- src/lib/ai-proxy.ts | 2 +- src/lib/anthropic-proxy.ts | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) 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[];