refactor(providers): share anthropic payload policy

This commit is contained in:
Vincent Koc
2026-04-04 04:57:34 +09:00
parent 3e0ddaf5bc
commit 067496b129
7 changed files with 536 additions and 118 deletions

View File

@@ -1,5 +1,9 @@
// Public stream-wrapper helpers for provider plugins.
export {
applyAnthropicPayloadPolicyToParams,
resolveAnthropicPayloadPolicy,
} from "../agents/anthropic-payload-policy.js";
export {
buildCopilotDynamicHeaders,
hasCopilotVisionInput,