working on voice control
Some checks failed
CI/CD Pipeline / build (push) Failing after 4s

This commit is contained in:
2026-03-24 15:06:53 -06:00
parent f514012396
commit 86ff82a015
16 changed files with 704 additions and 173 deletions

View File

@@ -135,6 +135,11 @@ defmodule ElixirAi.AiUtils.StreamLineUtils do
:ok
end
def handle_stream_line(server, "proxy error" <> _ = error) when is_binary(error) do
Logger.error("Proxy error in AI stream: #{error}")
send(server, {:stream, {:ai_request_error, error}})
end
def handle_stream_line(server, json) when is_binary(json) do
case Jason.decode(json) do
{:ok, body} ->