fix(providers): show custom header values in plaintext - #331
Open
AlphaCatMeow wants to merge 1 commit into
Open
Conversation
移除 GUI 与 Gateway WebUI 的逐行显示状态和眼睛按钮,同时保留 API Key 与用量查询凭据的原有脱敏行为。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
改动说明
自动验证
node --test crates/agent-gui/test/providers/custom-headers.test.mjs crates/agent-gateway/test/webui/custom-headers.test.mjs:20/20 通过pnpm --dir crates/agent-gui build:通过pnpm --dir crates/agent-gateway/web build:通过pnpm --dir crates/agent-gateway/web test:493/493 通过pnpm --dir crates/agent-gui lint --line-ending=crlf:通过(仅现有 warnings/infos)pnpm --dir crates/agent-gateway/web lint --line-ending=crlf:通过(仅现有 warnings/infos)node scripts/check-mirror.mjs:通过,116 个镜像文件git diff --check:通过环境说明与未运行项
pnpm ... lint在本机 Gitcore.autocrlf=true且仓库未声明 EOL 时,会把完整检出树的 CRLF 视为格式差异;使用匹配工作树的--line-ending=crlf后全量检查为 0 错误pnpm --dir crates/agent-gui test:frontend,有 2 项既有的 EOL-sensitive byte-for-byte 测试失败;本次目标请求头测试全部通过cargo check与 Gateway Go 测试:本次未修改后端、协议、数据模型或代理层人工验收
pnpm --dir crates/agent-gui tauri devDepends-On: none
Stack-Root: #331