more test support
Some checks failed
CI/CD Pipeline / build (push) Failing after 4s

This commit is contained in:
2026-03-13 15:46:14 -06:00
parent 927c19dd17
commit 4de7db6f56
5 changed files with 44 additions and 13 deletions

View File

@@ -21,7 +21,7 @@ defmodule ElixirAiWeb.AiProvidersLive do
"name" => "",
"model_name" => "",
"api_token" => "",
"completions_url" => "https://api.openai.com/v1/chat/completions"
"completions_url" => ""
}
end
)
@@ -130,7 +130,7 @@ defmodule ElixirAiWeb.AiProvidersLive do
"name" => "",
"model_name" => "",
"api_token" => "",
"completions_url" => "https://api.openai.com/v1/chat/completions"
"completions_url" => ""
}
)
|> assign(error: nil)}

View File

@@ -24,7 +24,6 @@ defmodule ElixirAiWeb.ChatLive do
{:ok, _pid} ->
if connected?(socket) do
Phoenix.PubSub.subscribe(ElixirAi.PubSub, chat_topic(name))
Phoenix.PubSub.subscribe(ElixirAi.PubSub, conversation_message_topic(name))
end
conversation = ChatRunner.get_conversation(name)