add config routes
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
class Api::V1::Accounts::Captain::ConfigController < Api::V1::Accounts::BaseController
|
||||
before_action :current_account
|
||||
|
||||
def show
|
||||
render json: {
|
||||
providers: Llm::ConfigService.providers,
|
||||
models: Llm::ConfigService.models,
|
||||
features: Llm::ConfigService.all_features_config
|
||||
}
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user