mirror of
https://github.com/stackblitz/bolt.new
synced 2025-06-26 18:17:50 +00:00
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:
parent
4a6d8a3a9f
commit
fb57059d08
@ -45,9 +45,6 @@ export function streamText(messages: Messages, env: Env, options?: StreamingOpti
|
|||||||
}
|
}
|
||||||
|
|
||||||
case 'custom': {
|
case 'custom': {
|
||||||
console.log('1111', messages);
|
|
||||||
console.log('222', process.env.MODEL);
|
|
||||||
|
|
||||||
return _streamText({
|
return _streamText({
|
||||||
model: getCustomModel(env),
|
model: getCustomModel(env),
|
||||||
system: getSystemPrompt(),
|
system: getSystemPrompt(),
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user