Skip to content
This repository was archived by the owner on Jul 22, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions app/models/ai_persona.rb
Original file line number Diff line number Diff line change
Expand Up @@ -297,8 +297,6 @@ def ensure_not_system
# user_id :integer
# default_llm :text
# max_context_posts :integer
# max_post_context_tokens :integer
# max_context_tokens :integer
# vision_enabled :boolean default(FALSE), not null
# vision_max_pixels :integer default(1048576), not null
# rag_chunk_tokens :integer default(374), not null
Expand All @@ -311,7 +309,7 @@ def ensure_not_system
# allow_chat_channel_mentions :boolean default(FALSE), not null
# allow_chat_direct_messages :boolean default(FALSE), not null
# allow_topic_mentions :boolean default(FALSE), not null
# allow_personal_message :boolean default(TRUE), not null
# allow_personal_messages :boolean default(TRUE), not null
# force_default_llm :boolean default(FALSE), not null
#
# Indexes
Expand Down
2 changes: 1 addition & 1 deletion app/models/ai_summary.rb
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def outdated
# algorithm :string not null
# created_at :datetime not null
# updated_at :datetime not null
# summary_type :string default("complete"), not null
# summary_type :integer default("complete"), not null
#
# Indexes
#
Expand Down
2 changes: 1 addition & 1 deletion app/models/classification_result.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class ClassificationResult < ActiveRecord::Base
# id :bigint not null, primary key
# model_used :string
# classification_type :string
# target_id :integer
# target_id :bigint
# target_type :string
# classification :jsonb
# created_at :datetime not null
Expand Down
5 changes: 2 additions & 3 deletions app/models/rag_document_fragment.rb
Original file line number Diff line number Diff line change
Expand Up @@ -84,13 +84,12 @@ def publish_status(upload, status)
# id :bigint not null, primary key
# fragment :text not null
# upload_id :integer not null
# ai_persona_id :integer not null
# fragment_number :integer not null
# created_at :datetime not null
# updated_at :datetime not null
# metadata :text
# target_id :integer
# target_type :string(800)
# target_id :bigint not null
# target_type :string(800) not null
#
# Indexes
#
Expand Down
1 change: 0 additions & 1 deletion app/models/reviewable_ai_chat_message.rb
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,6 @@ def build_action(
# status :integer default("pending"), not null
# created_by_id :integer not null
# reviewable_by_moderator :boolean default(FALSE), not null
# reviewable_by_group_id :integer
# category_id :integer
# topic_id :integer
# score :float default(0.0), not null
Expand Down
1 change: 0 additions & 1 deletion app/models/reviewable_ai_post.rb
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,6 @@ def build_action(
# status :integer default("pending"), not null
# created_by_id :integer not null
# reviewable_by_moderator :boolean default(FALSE), not null
# reviewable_by_group_id :integer
# category_id :integer
# topic_id :integer
# score :float default(0.0), not null
Expand Down