Add projects
This commit is contained in:
parent
2d3a9ad623
commit
8b607dd700
1802 changed files with 503346 additions and 2 deletions
13
backend/internal/runtime/executor/codex_executor.go
Normal file
13
backend/internal/runtime/executor/codex_executor.go
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
package 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" }
|
||||
Loading…
Reference in a new issue