AssembledPlatformModel
This content is not available in your language yet.
令牌档装配产物:fallback 链 client、解析出的模型、bundle 装配的 registry 与 bundle 各段的 SDK 消费子集
adjudicator
Section titled “adjudicator”adjudicator: AppBundleAdjudicator | null;bundle 生效裁决人档(SDK 令牌档 / serve 装配分类器裁决人的任命来源)。null = 段缺席(旧平台)→ 无裁决人,行为现状。
app: AppBundleIdentity;应用身份(应用协议 <app> 段:name / purpose;缺席字段 null)
capabilities
Section titled “capabilities”capabilities: AppCapabilities;bundle capabilities 段(工具裁剪的事实源;缺席时为平台缺省档)
client
Section titled “client”client: ModelClient;contextScheme
Section titled “contextScheme”contextScheme: AppBundleContextScheme | null;bundle 上下文方案段(形状级透传)。宿主(serve 平台内置形)以 kernel
contextSchemeToSchemeOptions(platform.contextScheme) 化为压缩方案选项接 compactionManagerOptions;
null = 平台未配 / 令牌径中性 null / 旧平台 / 坏形 → 压缩沿入口缺省。SDK 恒不在此映射方案键
(单函数住 kernel)。
contextWindowTokens?
Section titled “contextWindowTokens?”optional contextWindowTokens?: number;governance
Section titled “governance”governance: AppBundleGovernance;bundle 组织治理段 SDK 子集(形状级透传)。宿主(serve 平台会话工厂)读 governance.sessionRetentionDays ?? 30
作会话保留期缺省(sessions.retention.maxAgeDays);{} = 平台未配 / 令牌径剥段 / 旧平台 / 坏形 →
宿主自持缺省。SDK 自身零消费。
maxOutputTokens?
Section titled “maxOutputTokens?”optional maxOutputTokens?: number;model: ResolvedModel;plan: AppBundlePlan | null;owner 生效套餐投影(bundle 顶层 plan)。null = 个人无套餐 / 旧平台 / 坏形。开发者面语境位
(宿主日志 / 排障);硬执行恒在服务端,SDK 恒不本地判限。
platform
Section titled “platform”platform: "desktop" | "mobile" | "server" | null;应用平台类型(bundle app.platform)。消费方据此判装配形态与能力拓扑是否相符(进程内 SDK 装配 vs
会话服务 serve);不符只提示不拒。旧平台缺键 / 装置绑定键径 = null(未知,恒不臆造)。
platformModels
Section titled “platformModels”platformModels: AppBundlePlatformModels;bundle 授权媒体模型集(初始化即取,媒体工具装配自取的数据源——集成方零手配)。旧平台无段 = 空集如实。
pricingUpdates
Section titled “pricingUpdates”pricingUpdates: PricingUpdate[];bundle 计价 → kernel 价格簿注入行((tansr, handle) 键,USD/CNY 白名单;appBundlePricingUpdates 语义)。 消费方(serve 平台内置形)经 PricingBook.refreshPricing(rows, ‘refreshed’) 喂 CostTracker, 会话级 budget 闸的金额维自此对 tansr 模型出数。无计价段 = 空数组。
registry
Section titled “registry”registry: ProviderRegistry;bundle 装配的 registry(setModel 别名热切换与 Task resolveModel 复用)
systemPrompt?
Section titled “systemPrompt?”optional systemPrompt?: string;systemPromptPolicy?
Section titled “systemPromptPolicy?”optional systemPromptPolicy?: SystemPromptPolicy;Was this page helpful?
Thanks for your feedback.