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

Struct ThinkingError

internal/thinking/errors.go:43–53  ·  view source on GitHub ↗

ThinkingError represents an error that occurred during thinking configuration processing. This error type provides structured information about the error, including: - Code: A machine-readable error code for programmatic handling - Message: A human-readable description of the error - Model: The mod

Source from the content-addressed store, hash-verified

41// - Model: The model name related to the error (optional)
42// - Details: Additional context information (optional)
43type ThinkingError struct {
44 // Code is the machine-readable error code
45 Code ErrorCode
46 // Message is the human-readable error description.
47 // Should be lowercase, no trailing period, with context if applicable.
48 Message string
49 // Model is the model name related to this error (optional)
50 Model string
51 // Details contains additional context information (optional)
52 Details map[string]interface{}
53}
54
55// Error implements the error interface.
56// Returns the message directly without code prefix.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected