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:
@@ -400,6 +400,7 @@ var auditableResourcesTypes = map[any]map[string]Action{
|
||||
"type": ActionTrack,
|
||||
"name": ActionTrack,
|
||||
"display_name": ActionTrack,
|
||||
"icon": ActionTrack,
|
||||
"enabled": ActionTrack,
|
||||
"deleted": ActionTrack,
|
||||
"base_url": ActionTrack,
|
||||
|
||||
@@ -1197,6 +1197,7 @@ func TestAIProviders(t *testing.T) {
|
||||
ID: provider.ID,
|
||||
Type: provider.Type,
|
||||
DisplayName: provider.DisplayName,
|
||||
Icon: provider.Icon,
|
||||
Enabled: provider.Enabled,
|
||||
BaseUrl: provider.BaseUrl,
|
||||
Settings: sql.NullString{String: newSettings, Valid: true},
|
||||
@@ -1214,6 +1215,7 @@ func TestAIProviders(t *testing.T) {
|
||||
ID: provider.ID,
|
||||
Type: provider.Type,
|
||||
DisplayName: provider.DisplayName,
|
||||
Icon: provider.Icon,
|
||||
Enabled: provider.Enabled,
|
||||
BaseUrl: provider.BaseUrl,
|
||||
Settings: sql.NullString{},
|
||||
|
||||
Reference in New Issue
Block a user