[GH-ISSUE #115] streaming 配置块在每次 Web UI 保存后被静默删除 #55

Open
opened 2026-02-27 16:42:20 +03:00 by kerem · 0 comments
Owner

Originally created by @haokejie on GitHub (Feb 27, 2026).
Original GitHub issue: https://github.com/router-for-me/Cli-Proxy-API-Management-Center/issues/115

Is it a request payload issue?
[x] No, it's another issue.

Describe the bug

config.yaml 中配置 streaming 块或 nonstream-keepalive-interval 后,每次通过 Web UI 保存任意配置(包括使用 YAML 编辑器直接保存),这些字段都会被静默删除。UI 甚至提示"未检测到变更",但实际上字段已经消失。

CLI Type

N/A

Model Name

N/A

LLM Client

N/A

Request Information

N/A

Expected behavior

用户未修改的字段,在保存其他配置后应原样保留。

Screenshots

N/A

OS Type

N/A

Additional context

复现步骤:

  1. config.yaml 中添加:
streaming:
  keepalive-seconds: 15
  bootstrap-retries: 3
nonstream-keepalive-interval: 5
  1. 打开 Web 管理界面,修改任意一个配置项并保存(例如开关 request-log)
  2. 重新查看 config.yamlstreaming 块和 nonstream-keepalive-interval 已消失

通过 YAML 编辑器同样可复现:将上述配置粘贴进编辑器,点击保存,重新打开后字段消失。

Originally created by @haokejie on GitHub (Feb 27, 2026). Original GitHub issue: https://github.com/router-for-me/Cli-Proxy-API-Management-Center/issues/115 **Is it a request payload issue?** [x] No, it's another issue. **Describe the bug** 在 `config.yaml` 中配置 `streaming` 块或 `nonstream-keepalive-interval` 后,每次通过 Web UI 保存任意配置(包括使用 YAML 编辑器直接保存),这些字段都会被静默删除。UI 甚至提示"未检测到变更",但实际上字段已经消失。 **CLI Type** N/A **Model Name** N/A **LLM Client** N/A **Request Information** N/A **Expected behavior** 用户未修改的字段,在保存其他配置后应原样保留。 **Screenshots** N/A **OS Type** N/A **Additional context** 复现步骤: 1. 在 `config.yaml` 中添加: ```yaml streaming: keepalive-seconds: 15 bootstrap-retries: 3 nonstream-keepalive-interval: 5 ``` 2. 打开 Web 管理界面,修改任意一个配置项并保存(例如开关 request-log) 3. 重新查看 `config.yaml`,`streaming` 块和 `nonstream-keepalive-interval` 已消失 通过 YAML 编辑器同样可复现:将上述配置粘贴进编辑器,点击保存,重新打开后字段消失。
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Cli-Proxy-API-Management-Center#55
No description provided.