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:
@@ -221,6 +221,7 @@ func AIProvider(t testing.TB, db database.Store, seed database.AIProvider, munge
|
||||
Type: provType,
|
||||
Name: name,
|
||||
DisplayName: displayName,
|
||||
Icon: seed.Icon,
|
||||
Enabled: takeFirst(seed.Enabled, true),
|
||||
// Use an unsupported scheme so leaked test provider calls fail immediately without retries.
|
||||
BaseUrl: takeFirst(seed.BaseUrl, "invalid://test.invalid/"),
|
||||
|
||||
Reference in New Issue
Block a user