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

Function executorScopeAllowsOAuthModels

internal/pluginhost/adapters.go:68–74  ·  view source on GitHub ↗
(caps pluginapi.Capabilities)

Source from the content-addressed store, hash-verified

66}
67
68func executorScopeAllowsOAuthModels(caps pluginapi.Capabilities) bool {
69 if caps.Executor == nil {
70 return true
71 }
72 scope := normalizedExecutorModelScope(caps)
73 return scope == pluginapi.ExecutorModelScopeOAuth || scope == pluginapi.ExecutorModelScopeBoth
74}
75
76func normalizeExecutorFormats(raw []string) []sdktranslator.Format {
77 if len(raw) == 0 {

Callers 1

ModelsForAuthMethod · 0.85

Calls 1

Tested by

no test coverage detected