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

Function CacheSignature

internal/cache/signature_cache.go:118–120  ·  view source on GitHub ↗

CacheSignature stores a thinking signature for a given model group and text. Used for Claude models that require signed thinking blocks in multi-turn conversations.

(modelName, text, signature string)

Source from the content-addressed store, hash-verified

116// CacheSignature stores a thinking signature for a given model group and text.
117// Used for Claude models that require signed thinking blocks in multi-turn conversations.
118func CacheSignature(modelName, text, signature string) {
119 CacheSignatureBestEffort(context.Background(), modelName, text, signature)
120}
121
122// CacheSignatureBestEffort stores a thinking signature for completed response paths.
123func CacheSignatureBestEffort(ctx context.Context, modelName, text, signature string) bool {

Calls 1

CacheSignatureBestEffortFunction · 0.85