refactor: trim provider attribution exports · openclaw/openclaw@ac8633d
steipete
·
2026-05-02
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -32,7 +32,7 @@ export type ProviderAttributionPolicy = {
|
32 | 32 | headers?: Record<string, string>; |
33 | 33 | }; |
34 | 34 | |
35 | | -export type ProviderAttributionIdentity = Pick<ProviderAttributionPolicy, "product" | "version">; |
| 35 | +type ProviderAttributionIdentity = Pick<ProviderAttributionPolicy, "product" | "version">; |
36 | 36 | |
37 | 37 | export type ProviderRequestTransport = "stream" | "websocket" | "http" | "media-understanding"; |
38 | 38 | export type ProviderRequestCapability = "llm" | "audio" | "image" | "video" | "other"; |
@@ -444,7 +444,7 @@ function resolveKnownProviderFamily(provider: string | undefined): string {
|
444 | 444 | } |
445 | 445 | } |
446 | 446 | |
447 | | -export function isOpenAIResponsesApi(api: string | null | undefined): boolean { |
| 447 | +function isOpenAIResponsesApi(api: string | null | undefined): boolean { |
448 | 448 | const normalizedApi = normalizeOptionalLowercaseString(api); |
449 | 449 | return normalizedApi !== undefined && OPENAI_RESPONSES_APIS.has(normalizedApi); |
450 | 450 | } |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。