重构世界模拟器为模块化配方架构,完善创作编排、会话运行时与 Web UI,并清理过时技能。
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -30,6 +30,8 @@ export type MessageTokenUsage = {
|
||||
caller: string;
|
||||
model?: string;
|
||||
recordId?: string;
|
||||
/** ISO 时间戳,便于按时间段汇总 */
|
||||
at?: string;
|
||||
};
|
||||
|
||||
export type CallerTokenBreakdown = {
|
||||
@@ -243,5 +245,6 @@ export function toMessageTokenUsage(record: TokenUsageRecord): MessageTokenUsage
|
||||
caller: record.caller,
|
||||
model: record.model,
|
||||
recordId: record.id,
|
||||
at: record.at,
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user