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

Function removeRemovedIntegrationKeys

internal/config/config.go:1964–1973  ·  view source on GitHub ↗
(root *yaml.Node)

Source from the content-addressed store, hash-verified

1962}
1963
1964func removeRemovedIntegrationKeys(root *yaml.Node) {
1965 if root == nil || root.Kind != yaml.MappingNode {
1966 return
1967 }
1968 removeMapKey(root, "ampcode")
1969 removeMapKey(root, "amp-upstream-url")
1970 removeMapKey(root, "amp-upstream-api-key")
1971 removeMapKey(root, "amp-restrict-management-to-localhost")
1972 removeMapKey(root, "amp-model-mappings")
1973}
1974
1975func removeLegacyGenerativeLanguageKeys(root *yaml.Node) {
1976 if root == nil || root.Kind != yaml.MappingNode {

Callers 1

Calls 1

removeMapKeyFunction · 0.85

Tested by

no test coverage detected