Update README with additional information and links
This commit is contained in:
@@ -1,13 +1,15 @@
|
|||||||
# Codex Retry Gateway
|
# Codex Retry Gateway
|
||||||
|
|
||||||
|
tg群:https://t.me/AI_INPUT_IM
|
||||||
|
|
||||||
一个不依赖 `cc-switch` 路由模式的独立本地网关。
|
一个不依赖 `cc-switch` 路由模式的独立本地网关。
|
||||||
|
|
||||||
目标:
|
目标:
|
||||||
|
|
||||||
- 保持 Codex 继续使用现有 `auth.json`
|
- 保持 Codex 继续使用现有 `auth.json`
|
||||||
- 只把 `config.toml` 的当前 provider `base_url` 改成本地网关
|
- 只把 `config.toml` 的当前 provider `base_url` 改成本地网关
|
||||||
- 非流式命中 `reasoning_tokens = 516` 时返回 `502`
|
- 非流式命中 `reasoning_tokens = 516` 时返回 `502`
|
||||||
- 流式命中时默认先缓存并判断;一旦命中 `516`,统一返回 `502`
|
- 流式命中时默认先缓存并判断;一旦命中 `516`,统一返回 `502`
|
||||||
- 默认同时拦截 root 路径和 `/v1` 路径:
|
- 默认同时拦截 root 路径和 `/v1` 路径:
|
||||||
- `/responses`
|
- `/responses`
|
||||||
- `/chat/completions`
|
- `/chat/completions`
|
||||||
@@ -190,10 +192,10 @@ macOS / Linux: ~/.codex-retry-gateway/config/config.json
|
|||||||
- 默认包含 root 与 `/v1` 两套路径
|
- 默认包含 root 与 `/v1` 两套路径
|
||||||
- `non_stream_status_code`
|
- `non_stream_status_code`
|
||||||
- 默认 `502`
|
- 默认 `502`
|
||||||
- `stream_action`
|
- `stream_action`
|
||||||
- 默认 `strict_502`
|
- 默认 `strict_502`
|
||||||
- `strict_502`:先缓存整个流,命中 `516` 时统一返回 `502`
|
- `strict_502`:先缓存整个流,命中 `516` 时统一返回 `502`
|
||||||
- `disconnect`:兼容旧行为;若命中发生在已透传 chunk 之后,则直接断开连接
|
- `disconnect`:兼容旧行为;若命中发生在已透传 chunk 之后,则直接断开连接
|
||||||
- `log_match`
|
- `log_match`
|
||||||
- 是否记录命中日志
|
- 是否记录命中日志
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user