diff --git a/internal/cmdutil/secheader.go b/internal/cmdutil/secheader.go index cf99f9fd4..baabb22fc 100644 --- a/internal/cmdutil/secheader.go +++ b/internal/cmdutil/secheader.go @@ -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 } diff --git a/internal/core/types.go b/internal/core/types.go index 29720d4c3..c2e989d9e 100644 --- a/internal/core/types.go +++ b/internal/core/types.go @@ -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",