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

Function removeLegacyGenerativeLanguageKeys

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

Source from the content-addressed store, hash-verified

1973}
1974
1975func removeLegacyGenerativeLanguageKeys(root *yaml.Node) {
1976 if root == nil || root.Kind != yaml.MappingNode {
1977 return
1978 }
1979 removeMapKey(root, "generative-language-api-key")
1980}
1981
1982func removeLegacyAuthBlock(root *yaml.Node) {
1983 if root == nil || root.Kind != yaml.MappingNode {

Callers 1

Calls 1

removeMapKeyFunction · 0.85

Tested by

no test coverage detected