discourse-ai/db/migrate/20240514171609_add_endpoint_data_to_llm_model.rb
Roman Rizzi 1d786fbaaf
FEATURE: Set endpoint credentials directly from LlmModel. (#625)
* FEATURE: Set endpoint credentials directly from LlmModel.

Drop Llama2Tokenizer since we no longer use it.

* Allow http for custom LLMs

---------

Co-authored-by: Rafael Silva <xfalcox@gmail.com>
2024-05-16 09:50:22 -03:00

9 lines
205 B
Ruby

# frozen_string_literal: true
class AddEndpointDataToLlmModel < ActiveRecord::Migration[7.0]
def change
add_column :llm_models, :url, :string
add_column :llm_models, :api_key, :string
end
end