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

Function executorScopeAllowsStaticModels

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

Source from the content-addressed store, hash-verified

58}
59
60func executorScopeAllowsStaticModels(caps pluginapi.Capabilities) bool {
61 if caps.Executor == nil {
62 return true
63 }
64 scope := normalizedExecutorModelScope(caps)
65 return scope == pluginapi.ExecutorModelScopeStatic || scope == pluginapi.ExecutorModelScopeBoth
66}
67
68func executorScopeAllowsOAuthModels(caps pluginapi.Capabilities) bool {
69 if caps.Executor == nil {

Callers 2

RegisterModelsMethod · 0.85
executorPluginReadyMethod · 0.85

Calls 1

Tested by

no test coverage detected