diff --git a/en/manual/configuration.md b/en/manual/configuration.md index d6b1a0c..8be606f 100644 --- a/en/manual/configuration.md +++ b/en/manual/configuration.md @@ -64,6 +64,8 @@ The proxy URL refuses a URL that embeds credentials. Every other bound stays CPA The read-only ownership area lists configuration owned by the API key, provider, account, log and system workspaces. Do not re-edit those fields here. Manage Client API Keys, gateway activation verification, recovery, and verified protocol endpoints in the **API Keys** workspace (see [Client Configuration](../gateway/clients.md)); committed Control and Managed Inference access prefixes persist across ordinary updates and have no generic editor here or environment-variable override. +In a default managed installation, the global plugin runtime switch (`plugins.enabled`) is also managed on the gateway configuration page using the same baseline-checked save, read-back confirmation, and separate persisted-vs-running readout; see [Plugins](./plugins.md) for installing and managing individual plugins. + ## Weighted round-robin routing To distribute requests proportionally across credentials in the same priority tier, select Weighted Round Robin in Visual Configuration. The equivalent source configuration is: diff --git a/en/manual/logs.md b/en/manual/logs.md index 4b4968c..d51815e 100644 --- a/en/manual/logs.md +++ b/en/manual/logs.md @@ -15,10 +15,11 @@ Use [System](./system.md) for version, runtime mode, and model-list checks. ## Page actions -- Refresh logs. +- Refresh, pause, or clear the log stream, search by keyword, and expand structured filters when needed. - Hide management-panel logs so model requests and runtime errors are easier to see. -- Show raw logs for multi-line copying. -- Open error request logs and download the file matching the time window. +- Toggle the raw log view for multi-line copying. +- Switch to Error Request Logs to search and paginate error log files, then click a filename or **View** to inspect the file inline in a preview modal (with word-wrap toggle, copy, and direct download; inline preview decodes up to 512 KB while downloading retrieves the full file). +- Use the Log Settings tab to configure gateway log file persistence, request logging, and size limits. If request logging is enabled, CPA's separate error-request log list may be empty. That does not mean no request failed. Use [Monitoring](./monitoring.md) for sanitized failure summaries. diff --git a/en/manual/plugins.md b/en/manual/plugins.md index 4918af6..6253051 100644 --- a/en/manual/plugins.md +++ b/en/manual/plugins.md @@ -18,11 +18,11 @@ When `plugins.enabled` is off, an individually enabled plugin still cannot run. The plugin entry appears only when the Manager proves that the current connection supports plugins (`X-CPA-SUPPORT-PLUGIN`). The Manager does not infer this from a route existing: it reads the saved CPA connection's own configuration document and requires the plugin section in it. A default managed installation satisfies that, so no extra configuration is required. If the entry disappears, the saved connection could not prove plugin support — typically an older CPA without the plugin namespace, or a connection the Manager cannot read. -The entry stays visible while `plugins.enabled` is off, because that page holds the switch that turns plugins back on. Only the plugin's own menus disappear. +The entry stays visible while `plugins.enabled` is off: the page shows a disabled banner with a shortcut to [Configuration](./configuration.md) to re-enable plugins, and only the plugins' own menus disappear. ## Plugin runtime switch -In a default managed installation the Runtime Supervisor writes `plugins.enabled` and the plugin directory into the target CPA configuration, and the first-run wizard selection decides the initial value. After installation the managed installation can change the switch from the "Plugin runtime" control at the top of the Plugins page: +In a default managed installation the Runtime Supervisor writes `plugins.enabled` and the plugin directory into the target CPA configuration, and the first-run wizard selection decides the initial value. After installation the managed installation can change the switch from the "Plugin runtime" control in [Configuration](./configuration.md) (Gateway configuration): - Each flip is one baseline-checked save through the same journal, CAS, and read-back path as the gateway configuration page (Manager API: `plugins/runtime`). External CPA connections and the private H1 profile are refused server-side, so those profiles never show the control. - The page shows the persisted value and the running value separately. CPA reloads configuration asynchronously, so a successful save only means the value is persisted. The running readout reports that it is unknown until CPA reloads; this release does not observe CPA's reload, so it does not update that readout afterwards either. diff --git a/manual/configuration.md b/manual/configuration.md index 53d1610..a418089 100644 --- a/manual/configuration.md +++ b/manual/configuration.md @@ -64,6 +64,8 @@ 归属只读区列出由 API 密钥、提供商、账号、日志、系统等其它工作区管理的配置项;这些字段不要在本页重复编辑。Client API Key 的创建、激活核对、多密钥管理、接入地址核验与恢复请前往控制台的 **API 密钥(API Keys)** 工作区(规则见[客户端接入](../gateway/clients.md));控制入口前缀与 Managed 推理前缀在安装、升级或一次性补全提交后固化保存,普通更新会保留既有前缀,本页与环境变量均不提供通用修改入口。 +在默认托管安装中,全局插件运行开关(`plugins.enabled`)也归口在网关配置页统一管理,遵循相同的基线校验保存、读回确认与“已保存 / 运行值”分离展示规则;插件安装与单插件启停见[插件管理](./plugins.md)。 + ## 加权轮询路由 需要让同一优先级内的多份凭证按比例承接请求时,在可视化配置中把路由策略设为“加权轮询”,对应的源文件配置是: diff --git a/manual/logs.md b/manual/logs.md index 59b8917..345368d 100644 --- a/manual/logs.md +++ b/manual/logs.md @@ -15,10 +15,11 @@ ## 页面操作 -- 刷新日志内容。 +- 刷新、暂停或清空日志流,按关键字搜索并按需展开结构化筛选条件。 - 屏蔽管理面板自身产生的日志,聚焦模型请求或运行时错误。 -- 切换原始日志,便于复制多行内容。 -- 打开错误请求日志列表,下载对应时间点的错误日志文件。 +- 切换原始日志视图,便于复制多行内容。 +- 切换到错误请求日志列表,支持按文件名检索与分页,点击文件名或“查看”即可在弹窗中在线预览(支持自动换行、复制与直接下载;在线预览最多解码前 512 KB,点击下载可获取完整文件)。 +- 在日志设置标签页中调整日志文件落盘、请求日志开关及保留上限等网关日志参数。 如果当前开启了请求日志,CPA 的独立错误请求日志列表可能为空。这是运行时行为,不代表没有失败请求。此时优先使用 [请求监控](./monitoring.md) 查看失败摘要。 diff --git a/manual/plugins.md b/manual/plugins.md index 4e6da44..55a0f7e 100644 --- a/manual/plugins.md +++ b/manual/plugins.md @@ -18,11 +18,11 @@ description: 使用 CPA Manager Plus 安装、选择版本、启用、配置和 插件入口只在 Manager 证明当前连接支持插件时出现(`X-CPA-SUPPORT-PLUGIN`)。Manager 不会因为某条路由存在就宣称该能力:它会读取所保存 CPA 连接自身的配置文档,并要求其中存在插件段。默认托管安装满足这一条件,因此无需额外配置。若入口消失,说明保存的连接无法证明插件支持——通常是旧版 CPA 没有插件命名空间,或 Manager 无法读取该连接。 -`plugins.enabled` 关闭时入口仍然保留,因为该页面正持有把它重新打开的开关。只有插件自身的菜单会消失。 +`plugins.enabled` 关闭时入口仍然保留,页面会显示停用提示横幅并提供前往[配置中心](./configuration.md)重新启用的快捷入口;只有插件自身的菜单会消失。 ## 插件运行开关 -默认托管安装由 Runtime Supervisor 把 `plugins.enabled` 和插件目录写入目标 CPA 的配置,首次安装向导中的选择决定初始值。安装完成后,托管安装可以在插件页顶部的“插件运行开关”中修改它: +默认托管安装由 Runtime Supervisor 把 `plugins.enabled` 和插件目录写入目标 CPA 的配置,首次安装向导中的选择决定初始值。安装完成后,托管安装可以在[配置中心](./configuration.md)(网关配置页)的“插件运行开关”中修改它: - 一次开关操作是一次带基线的保存,走与网关配置页相同的日志、CAS 与读回路径(Manager API:`plugins/runtime`);外部 CPA 连接与私有 H1 profile 会被服务端拒绝,因此这些 profile 不显示开关。 - 页面分别显示已保存值与运行值。CPA 异步重载配置,保存成功只表示配置已持久化。运行值显示为“未知,直到 CPA 重载”;本版本不观测 CPA 的重载,因此重载后也不会更新该读数。