mirror of
https://github.com/router-for-me/CLIProxyAPI.git
synced 2026-02-18 12:20:52 +08:00
refactor(codex): update terminology to "official instructions" for clarity
This commit is contained in:
@@ -85,7 +85,7 @@ nonstream-keepalive-interval: 0
|
|||||||
# keepalive-seconds: 15 # Default: 0 (disabled). <= 0 disables keep-alives.
|
# keepalive-seconds: 15 # Default: 0 (disabled). <= 0 disables keep-alives.
|
||||||
# bootstrap-retries: 1 # Default: 0 (disabled). Retries before first byte is sent.
|
# bootstrap-retries: 1 # Default: 0 (disabled). Retries before first byte is sent.
|
||||||
|
|
||||||
# When true, enable custom Codex instructions injection for Codex API requests.
|
# When true, enable official Codex instructions injection for Codex API requests.
|
||||||
# When false (default), CodexInstructionsForModel returns immediately without modification.
|
# When false (default), CodexInstructionsForModel returns immediately without modification.
|
||||||
codex-instructions-enabled: false
|
codex-instructions-enabled: false
|
||||||
|
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ import (
|
|||||||
"github.com/tidwall/sjson"
|
"github.com/tidwall/sjson"
|
||||||
)
|
)
|
||||||
|
|
||||||
// codexInstructionsEnabled controls whether CodexInstructionsForModel returns custom instructions.
|
// codexInstructionsEnabled controls whether CodexInstructionsForModel returns official instructions.
|
||||||
// When false (default), CodexInstructionsForModel returns (true, "") immediately.
|
// When false (default), CodexInstructionsForModel returns (true, "") immediately.
|
||||||
// Set via SetCodexInstructionsEnabled from config.
|
// Set via SetCodexInstructionsEnabled from config.
|
||||||
var codexInstructionsEnabled atomic.Bool
|
var codexInstructionsEnabled atomic.Bool
|
||||||
|
|||||||
Reference in New Issue
Block a user