* 完善所有用到的type对象,并添加中文注释

* 补充遗失的type
This commit is contained in:
xiaoFjun-eng
2026-05-19 09:05:04 +08:00
committed by GitHub
parent c499bfb4ed
commit ea399f1862
68 changed files with 986 additions and 208 deletions

View File

@@ -1,2 +1,6 @@
// Auto-generated stub — replace with real implementation
export type QuerySource = any
/**
* 标识一次模型/API 调用的业务来源,用于遥测拆分、缓存控制与 529 重试策略。
* 值域随功能增长而扩展(含 `repl_main_thread:*`、`agent:*` 等前缀),故使用 `string`
* 常见字面量见各调用点及 `withRetry.ts` 中的 `FOREGROUND_529_RETRY_SOURCES`。
*/
export type QuerySource = string // 与日志/统计中的 source 字段对齐的自由文本标签