mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
feat: add custom AI provider icons and instance-based model picker grouping (#27026)
This commit is contained in:
@@ -45,6 +45,7 @@ INSERT INTO ai_providers (
|
||||
type,
|
||||
name,
|
||||
display_name,
|
||||
icon,
|
||||
enabled,
|
||||
base_url,
|
||||
settings,
|
||||
@@ -54,6 +55,7 @@ INSERT INTO ai_providers (
|
||||
@type::ai_provider_type,
|
||||
@name::text,
|
||||
sqlc.narg('display_name')::text,
|
||||
@icon::text,
|
||||
@enabled::boolean,
|
||||
@base_url::text,
|
||||
sqlc.narg('settings')::text,
|
||||
@@ -68,6 +70,7 @@ UPDATE
|
||||
SET
|
||||
type = @type::ai_provider_type,
|
||||
display_name = sqlc.narg('display_name')::text,
|
||||
icon = @icon::text,
|
||||
enabled = @enabled::boolean,
|
||||
base_url = @base_url::text,
|
||||
settings = sqlc.narg('settings')::text,
|
||||
|
||||
Reference in New Issue
Block a user