mirror of
https://github.com/Wei-Shaw/sub2api.git
synced 2026-10-07 16:37:52 +08:00
Persist reasoning ceilings and exact mappings for OpenAI groups, enforce them across HTTP and WebSocket forwarding, and invalidate cached auth snapshots.
9 lines
242 B
Go
9 lines
242 B
Go
package domain
|
|
|
|
// ReasoningEffortMapping rewrites one explicit OpenAI/Codex reasoning effort
|
|
// value to another before the group ceiling is applied.
|
|
type ReasoningEffortMapping struct {
|
|
From string `json:"from"`
|
|
To string `json:"to"`
|
|
}
|