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

Method completeModelRegistrationForAuth

sdk/cliproxy/service.go:719–721  ·  view source on GitHub ↗
(ctx context.Context, auth *coreauth.Auth)

Source from the content-addressed store, hash-verified

717}
718
719func (s *Service) completeModelRegistrationForAuth(ctx context.Context, auth *coreauth.Auth) {
720 s.completeModelRegistrationForAuthWithCache(ctx, auth, nil)
721}
722
723func (s *Service) completeModelRegistrationForAuthWithCache(ctx context.Context, auth *coreauth.Auth, compatCache *openAICompatibilityRegistrationCache) {
724 if s == nil || s.coreManager == nil || auth == nil || auth.ID == "" {

Callers 1

Tested by

no test coverage detected