Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
dirkbrnd committed Dec 20, 2024
1 parent 178001f commit 494cf00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion phi/playground/router.py
Original file line number Diff line number Diff line change
Expand Up @@ -398,8 +398,8 @@ async def chat_response_streamer(
) -> AsyncGenerator:
run_response = await agent.arun(message, images=images, stream=True, stream_intermediate_steps=True)
async for run_response_chunk in run_response:
print(run_response_chunk.event, "|", run_response_chunk.content, "|", run_response_chunk.response_audio.base64_audio[:10] if run_response_chunk.response_audio else "-")
run_response_chunk = cast(RunResponse, run_response_chunk)
# print(run_response_chunk.event, "|", run_response_chunk.content, "|", run_response_chunk.response_audio)
yield run_response_chunk.to_json()

async def process_image(file: UploadFile) -> List[Union[str, Dict]]:
Expand Down

0 comments on commit 494cf00

Please sign in to comment.