Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/wandb/openui
/ gen
Function
gen
backend/openui/server.py:200–201 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
198
)
199
200
def
gen():
201
return
openai_stream_generator(response, input_tokens, user_id, 0)
202
203
return
StreamingResponse(gen(), media_type=
"text/event-stream"
)
204
elif
data.get(
"model"
).startswith(
"dummy"
):
Callers
1
chat_completions
Function · 0.85
Calls
1
openai_stream_generator
Function · 0.85
Tested by
no test coverage detected