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

@@ -0,0 +1,16 @@
defmodule ElixirAi.Data.MessageSchema do
use Ecto.Schema
@primary_key {:id, :id, autogenerate: true}
schema "messages" do
belongs_to(:conversation, ElixirAi.Data.ConversationSchema, type: :binary_id)
field(:role, :string)
field(:content, :string)
field(:reasoning_content, :string)
field(:tool_calls, :map)
field(:tool_call_id, :string)
timestamps(inserted_at: :inserted_at, updated_at: false, type: :utc_datetime)
end
end