mirror of
https://github.com/discourse/discourse-ai.git
synced 2025-03-06 17:30:20 +00:00
Previously, we stored request parameters like the OpenAI organization and Bedrock's access key and region as site settings. This change stores them in the `llm_models` table instead, letting us drop more settings while also becoming more flexible.
7 lines
164 B
Ruby
7 lines
164 B
Ruby
# frozen_string_literal: true
|
|
class LlmModelCustomParams < ActiveRecord::Migration[7.1]
|
|
def change
|
|
add_column :llm_models, :provider_params, :jsonb
|
|
end
|
|
end
|