Files

34 lines
1.2 KiB
JSON

{
"profile_name": "default",
"image_profile_name": "",
"listen_host": "127.0.0.1",
"listen_port": 4610,
"upstream_base_url": "https://api.openai.com",
"upstream_auth_mode": "passthrough",
"upstream_auth_env": "CODEX_RETRY_GATEWAY_UPSTREAM_API_KEY",
"upstream_auth_file": "",
"upstream_auth_json_path": "",
"upstream_auth_json_key": "OPENAI_API_KEY",
"image_base_url": "",
"image_auth_mode": "fixed_bearer",
"image_auth_env": "CODEX_RETRY_GATEWAY_IMAGE_API_KEY",
"image_auth_file": "",
"image_auth_json_path": "",
"image_auth_json_key": "OPENAI_API_KEY",
"request_body_limit_bytes": 1073741824,
"request_history_limit": 200,
"endpoints": ["/responses", "/chat/completions", "/v1/responses", "/v1/chat/completions"],
"reasoning_match_mode": "formula_518n_minus_2",
"reasoning_equals": [516, 1034, 1552],
"retryable_status_codes": [429, 503],
"retryable_error_messages": [
"Selected model is at capacity. Please try a different model.",
"stream disconnected before completion: Concurrency limit exceeded for account, please retry later"
],
"management_access_key": "",
"non_stream_status_code": 502,
"stream_action": "strict_502",
"log_match": true,
"health_path": "/__codex_retry_gateway/health"
}