remove console.log from streamable response
This commit is contained in:
parent
79ee9e4577
commit
100dde7a9c
1 changed files with 0 additions and 1 deletions
|
|
@ -13,7 +13,6 @@ export const useStreamableText = (
|
||||||
if (typeof content === 'object') {
|
if (typeof content === 'object') {
|
||||||
let value = ''
|
let value = ''
|
||||||
for await (const delta of readStreamableValue(content)) {
|
for await (const delta of readStreamableValue(content)) {
|
||||||
console.log(delta)
|
|
||||||
if (typeof delta === 'string') {
|
if (typeof delta === 'string') {
|
||||||
setRawContent((value = value + delta))
|
setRawContent((value = value + delta))
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue