From f28f7f0715497dfbbca62524fa42c2a3229b4ab4 Mon Sep 17 00:00:00 2001 From: Anirban Kar Date: Sat, 9 Nov 2024 14:23:29 +0530 Subject: [PATCH] chore: cleanup logging --- app/lib/.server/llm/stream-text.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/lib/.server/llm/stream-text.ts b/app/lib/.server/llm/stream-text.ts index 40251f828..de3d5bfa8 100644 --- a/app/lib/.server/llm/stream-text.ts +++ b/app/lib/.server/llm/stream-text.ts @@ -5,7 +5,6 @@ import { getModel } from '~/lib/.server/llm/model'; import { MAX_TOKENS } from './constants'; import { getSystemPrompt } from './prompts'; import { MODEL_LIST, DEFAULT_MODEL, DEFAULT_PROVIDER } from '~/utils/constants'; -import { logger } from '~/utils/logger'; interface ToolResult { toolCallId: string; @@ -41,7 +40,6 @@ function extractModelFromMessage(message: Message): { model: string; content: st export function streamText(messages: Messages, env: Env, options?: StreamingOptions) { let currentModel = DEFAULT_MODEL; - logger.debug('model List', JSON.stringify(MODEL_LIST, null, 2)) const processedMessages = messages.map((message) => { if (message.role === 'user') { const { model, content } = extractModelFromMessage(message);