mirror of
https://gitee.com/mateos/mateclaw.git
synced 2026-09-13 03:13:41 +08:00
fix(anthropic): allow ANTHROPIC_CLAUDE_CODE in StateGraph whitelist
This commit is contained in:
parent
fb4c013ad8
commit
1d5bb58e9b
@ -526,6 +526,9 @@ public class AgentGraphBuilder {
|
||||
return protocol == ModelProtocol.DASHSCOPE_NATIVE
|
||||
|| protocol == ModelProtocol.OPENAI_COMPATIBLE
|
||||
|| protocol == ModelProtocol.ANTHROPIC_MESSAGES
|
||||
// RFC-062: Claude Code OAuth tunnels through the same Messages API
|
||||
// wrapped in AnthropicChatModel — same StateGraph capability surface.
|
||||
|| protocol == ModelProtocol.ANTHROPIC_CLAUDE_CODE
|
||||
|| protocol == ModelProtocol.OPENAI_CHATGPT;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user