mirror of
https://github.com/open-webui/open-webui
synced 2025-05-23 14:24:22 +00:00
refac
This commit is contained in:
parent
df07d671ce
commit
e5bb0f014a
@ -1388,6 +1388,7 @@ async def process_chat_response(
|
|||||||
retries += 1
|
retries += 1
|
||||||
log.debug(f"Attempt count: {retries}")
|
log.debug(f"Attempt count: {retries}")
|
||||||
|
|
||||||
|
output = ""
|
||||||
try:
|
try:
|
||||||
if content_blocks[-1]["attributes"].get("type") == "code":
|
if content_blocks[-1]["attributes"].get("type") == "code":
|
||||||
output = await event_caller(
|
output = await event_caller(
|
||||||
|
Loading…
Reference in New Issue
Block a user