mirror of
https://github.com/router-for-me/CLIProxyAPI.git
synced 2026-02-02 04:20:50 +08:00
feat(config): add payload filter rules to remove JSON paths
Introduce `Filter` rules in the payload configuration to remove specified JSON paths from the payload. Update related helper functions and add examples to `config.example.yaml`.
This commit is contained in:
@@ -19,6 +19,7 @@ type AmpCode = internalconfig.AmpCode
|
||||
type OAuthModelAlias = internalconfig.OAuthModelAlias
|
||||
type PayloadConfig = internalconfig.PayloadConfig
|
||||
type PayloadRule = internalconfig.PayloadRule
|
||||
type PayloadFilterRule = internalconfig.PayloadFilterRule
|
||||
type PayloadModelRule = internalconfig.PayloadModelRule
|
||||
|
||||
type GeminiKey = internalconfig.GeminiKey
|
||||
|
||||
Reference in New Issue
Block a user