updates
Some checks failed
CI/CD Pipeline / build (push) Failing after 4s

This commit is contained in:
2026-03-12 13:20:35 -06:00
parent abe27b82d1
commit 399eb9f93f
10 changed files with 203 additions and 55 deletions

View File

@@ -1,10 +1,11 @@
defmodule ElixirAi.Message do
import Ecto.Query
alias ElixirAi.Repo
alias ElixirAi.Data.MessageSchema
def load_for_conversation(conversation_id) do
Repo.all(
from m in "messages",
from m in MessageSchema,
where: m.conversation_id == ^conversation_id,
order_by: m.id,
select: %{