fix: resolve retired/preview gemini model routing and test configuration errors
This commit is contained in:
@@ -67,6 +67,7 @@ func (s *Server) handleGetSettings(c *gin.Context) {
|
||||
providerCount := 0
|
||||
modelCount := 0
|
||||
s.registryMu.RLock()
|
||||
defer s.registryMu.RUnlock()
|
||||
if s.registry != nil {
|
||||
providerCount = len(s.registry.Providers)
|
||||
for _, p := range s.registry.Providers {
|
||||
|
||||
Reference in New Issue
Block a user