Skip to content
This repository was archived by the owner on Jul 22, 2025. It is now read-only.

Commit 08eee3a

Browse files
committed
add new rag_llm_model_id which is used for ocr
1 parent 84fa41b commit 08eee3a

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

app/models/ai_persona.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -334,6 +334,7 @@ def allowed_seeded_model
334334
# allow_topic_mentions :boolean default(FALSE), not null
335335
# allow_personal_messages :boolean default(TRUE), not null
336336
# force_default_llm :boolean default(FALSE), not null
337+
# rag_llm_model_id :bigint
337338
#
338339
# Indexes
339340
#

app/models/ai_tool.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -348,4 +348,5 @@ def self.presets
348348
# updated_at :datetime not null
349349
# rag_chunk_tokens :integer default(374), not null
350350
# rag_chunk_overlap_tokens :integer default(10), not null
351+
# rag_llm_model_id :bigint
351352
#
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# frozen_string_literal: true
2+
class AddRagLlmModel < ActiveRecord::Migration[7.2]
3+
def change
4+
add_column :ai_personas, :rag_llm_model_id, :bigint
5+
add_column :ai_tools, :rag_llm_model_id, :bigint
6+
end
7+
end

0 commit comments

Comments
 (0)