Logo
Explore Help
Sign In
discourse/discourse-ai
1
0
Fork 0
You've already forked discourse-ai
mirror of https://github.com/discourse/discourse-ai.git synced 2025-07-02 04:22:40 +00:00
Code Issues Packages Projects Releases Wiki Activity
discourse-ai/db/migrate/20240624135356_llm_model_custom_params.rb

7 lines
164 B
Ruby
Raw Normal View History

FEATURE: Store provider-specific parameters. (#686) 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.
2024-06-24 19:26:30 -03:00
# frozen_string_literal: true
DEV: Use Rails 7.0 instead of 7.1 in migrations
2024-06-26 18:30:41 +02:00
class LlmModelCustomParams < ActiveRecord::Migration[7.0]
FEATURE: Store provider-specific parameters. (#686) 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.
2024-06-24 19:26:30 -03:00
def change
add_column :llm_models, :provider_params, :jsonb
end
end
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.8 Page: 75ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API