feat: start on AI integration
This commit is contained in:
1 parent
15584c72f7
commit
78609377be
16 files changed
+2410
-8
No files matched your search
@@ -0,0 +1,12 @@
|
||||
defmodule BDS.Repo.Migrations.AddAiChatUsageFields do
|
||||
use Ecto.Migration
|
||||
|
||||
def change do
|
||||
alter table(:chat_messages) do
|
||||
add :token_usage_input, :integer
|
||||
add :token_usage_output, :integer
|
||||
add :cache_read_tokens, :integer
|
||||
add :cache_write_tokens, :integer
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in new issue
Block a user