MCPcopy Create free account
hub / github.com/chainreactors/EvilProxy / handleHomeGeminiModels

Method handleHomeGeminiModels

internal/api/server.go:1164–1173  ·  view source on GitHub ↗
(c *gin.Context)

Source from the content-addressed store, hash-verified

1162}
1163
1164func (s *Server) handleHomeGeminiModels(c *gin.Context) {
1165 entries, ok := s.loadHomeModelEntries(c)
1166 if !ok {
1167 return
1168 }
1169
1170 c.JSON(http.StatusOK, gin.H{
1171 "models": formatHomeGeminiModels(entries),
1172 })
1173}
1174
1175func (s *Server) handleHomeGeminiModel(c *gin.Context) {
1176 entries, ok := s.loadHomeModelEntries(c)

Callers 1

geminiModelsHandlerMethod · 0.95

Calls 2

loadHomeModelEntriesMethod · 0.95
formatHomeGeminiModelsFunction · 0.85

Tested by

no test coverage detected