Skip to content

Commit

Permalink
chore: Remove dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
clemlesne committed Dec 11, 2024
1 parent d702a57 commit 5fe3c42
Showing 1 changed file with 10 additions and 14 deletions.
24 changes: 10 additions & 14 deletions app/helpers/call_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,13 +211,11 @@ async def handle_automation_tts( # noqa: PLR0913
return

if store:
await scheduler.spawn(
_store_assistant_message(
call=call,
style=style,
text=text,
scheduler=scheduler,
)
await _store_assistant_message(
call=call,
style=style,
text=text,
scheduler=scheduler,
)


Expand Down Expand Up @@ -274,13 +272,11 @@ async def handle_realtime_tts( # noqa: PLR0913
)

if store:
await scheduler.spawn(
_store_assistant_message(
call=call,
style=style,
text=text,
scheduler=scheduler,
)
await _store_assistant_message(
call=call,
style=style,
text=text,
scheduler=scheduler,
)


Expand Down

0 comments on commit 5fe3c42

Please sign in to comment.