mirror of
https://github.com/discourse/discourse-ai.git
synced 2025-02-07 12:08:13 +00:00
* DRAFT: Create AI Bot users dynamically and support custom LlmModels * Get user associated to llm_model * Track enabled bots with attribute * Don't store bot username. Minor touches to migrate default values in settings * Handle scenario where vLLM uses a SRV record * Made 3.5-turbo-16k the default version so we can remove hack
9 lines
250 B
Ruby
9 lines
250 B
Ruby
# frozen_string_literal: true
|
|
|
|
class AddCompanionUserToLlmModel < ActiveRecord::Migration[7.0]
|
|
def change
|
|
add_column :llm_models, :user_id, :integer
|
|
add_column :llm_models, :enabled_chat_bot, :boolean, null: false, default: false
|
|
end
|
|
end
|