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.
This commit is contained in:
Zachary Hou 2024-12-21 02:05:24 +08:00
parent 4a6d8a3a9f
commit fb57059d08

View File

@ -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(),