chore: point feishu brand to PPE for view_url integration test

Debug-only: switch the default Open endpoint to open.feishu-pre.cn and
inject x-tt-env: ppe_agent_view so requests land in the PPE lane. Not
for merge into main.
This commit is contained in:
shike.11
2026-07-10 15:17:53 +08:00
parent 215fe8a614
commit 3958bc047e
2 changed files with 2 additions and 1 deletions

View File

@@ -55,6 +55,7 @@ func BaseSecurityHeaders() http.Header {
if v := envvars.AgentTrace(); v != "" {
h.Set(HeaderAgentTrace, v)
}
h.Set("x-tt-env", "ppe_agent_view")
return h
}

View File

@@ -51,7 +51,7 @@ func ResolveEndpoints(brand LarkBrand) Endpoints {
}
default:
return Endpoints{
Open: "https://open.feishu.cn",
Open: "https://open.feishu-pre.cn",
Accounts: "https://accounts.feishu.cn",
MCP: "https://mcp.feishu.cn",
AppLink: "https://applink.feishu.cn",