centralizing pubsub topics
Some checks failed
CI/CD Pipeline / build (push) Failing after 4s

This commit is contained in:
2026-03-13 15:29:20 -06:00
parent 0fd243d259
commit 927c19dd17
10 changed files with 75 additions and 17 deletions

View File

@@ -0,0 +1,6 @@
defmodule ElixirAi.PubsubTopics do
def conversation_message_topic(name), do: "conversation_messages:#{name}"
def chat_topic(name), do: "ai_chat:#{name}"
def providers_topic, do: "providers"
end