From fb57059d08ea54424389d4e22272b62f760dc83f Mon Sep 17 00:00:00 2001 From: Zachary Hou Date: Sat, 21 Dec 2024 02:05:24 +0800 Subject: [PATCH] refactor: remove debug logging from streamText function - Eliminated console log statements used for debugging in the streamText function. - Streamlined code for better readability and performance. --- app/lib/.server/llm/stream-text.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/app/lib/.server/llm/stream-text.ts b/app/lib/.server/llm/stream-text.ts index 7becfea..b79fbcc 100644 --- a/app/lib/.server/llm/stream-text.ts +++ b/app/lib/.server/llm/stream-text.ts @@ -45,9 +45,6 @@ export function streamText(messages: Messages, env: Env, options?: StreamingOpti } case 'custom': { - console.log('1111', messages); - console.log('222', process.env.MODEL); - return _streamText({ model: getCustomModel(env), system: getSystemPrompt(),