Something went wrong. Try again.
sloproxy
Something went wrong. Try again.
459 B · 13 lines
Go
at commit 42eef103
1234567891011121314package executor
import "github.com/router-for-me/CLIProxyAPI/v7/internal/config"
// CodexExecutor is a stateless executor for Codex (OpenAI Responses API entrypoint).// If api_key is unavailable on auth, it falls back to legacy via ClientAdapter.type CodexExecutor struct { cfg *config.Config}
func NewCodexExecutor(cfg *config.Config) *CodexExecutor { return &CodexExecutor{cfg: cfg} }
func (e *CodexExecutor) Identifier() string { return "codex" }