refactor(agents): hide helper metadata types · openclaw/openclaw@0baaa63
vincentkoc
·
2026-06-17
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -10,10 +10,10 @@ import {
|
10 | 10 | } from "./system-prompt-cache-boundary.js"; |
11 | 11 | |
12 | 12 | /** @deprecated Anthropic-family provider payload helper; do not use from third-party plugins. */ |
13 | | -export type AnthropicServiceTier = "auto" | "standard_only"; |
| 13 | +type AnthropicServiceTier = "auto" | "standard_only"; |
14 | 14 | |
15 | 15 | /** @deprecated Anthropic-family provider payload helper; do not use from third-party plugins. */ |
16 | | -export type AnthropicEphemeralCacheControl = { |
| 16 | +type AnthropicEphemeralCacheControl = { |
17 | 17 | type: "ephemeral"; |
18 | 18 | ttl?: "1h"; |
19 | 19 | }; |
@@ -30,7 +30,7 @@ type AnthropicPayloadPolicyInput = {
|
30 | 30 | const ANTHROPIC_CACHE_CONTROL_LIMIT = 4; |
31 | 31 | |
32 | 32 | /** @deprecated Anthropic-family provider payload helper; do not use from third-party plugins. */ |
33 | | -export type AnthropicPayloadPolicy = { |
| 33 | +type AnthropicPayloadPolicy = { |
34 | 34 | allowsServiceTier: boolean; |
35 | 35 | cacheControl: AnthropicEphemeralCacheControl | undefined; |
36 | 36 | serviceTier: AnthropicServiceTier | undefined; |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。