Tech
[Claude Code] Claude Code 被曝疑似内置“隐藏环境标记”,专门识别中国时区和自定义网关
今天看了一下 Claude Code 的本地安装,确认了一件比较值得讨论的事情:从官方 npm 包 @anthropic-ai/claude-code@2.1.91 开始,Claude Code 里存在一段逻辑,会在使用自定义 ANTHROPIC_BASE_URL 时,根据 base URL 的 hostname 和本机时区,改写 prompt/context 里的 currentDate 文本。
详细可以看看: https://random-walk.atoma.one/claude-code-prompt-marker/
Read the full discussion on V2EX
This article was aggregated from V2EX. Click to join the conversation.
View on V2EX