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

Method Apply

internal/thinking/types.go:118–118  ·  view source on GitHub ↗

Apply applies the thinking configuration to the request body. Parameters: - body: Original request body JSON - config: Unified thinking configuration - modelInfo: Model registry information containing ThinkingSupport properties Returns: - Modified request body JSON - ThinkingError if the configura

(body []byte, config ThinkingConfig, modelInfo *registry.ModelInfo)

Source from the content-addressed store, hash-verified

116 // - Modified request body JSON
117 // - ThinkingError if the configuration is invalid or unsupported
118 Apply(body []byte, config ThinkingConfig, modelInfo *registry.ModelInfo) ([]byte, error)
119}

Callers 3

ApplyThinkingFunction · 0.65
applyUserDefinedModelFunction · 0.65
applyPprofConfigMethod · 0.65

Implementers 8

thinkingAdapterinternal/pluginhost/adapters.go
Applierinternal/thinking/provider/gemini/appl
Applierinternal/thinking/provider/openai/appl
Applierinternal/thinking/provider/antigravity
Applierinternal/thinking/provider/codex/apply
Applierinternal/thinking/provider/claude/appl
Applierinternal/thinking/provider/kimi/apply.
pprofServersdk/cliproxy/pprof_server.go

Calls

no outgoing calls

Tested by

no test coverage detected