@solazah/solazah-runtime 0.1.93 → 0.1.95

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@solazah/solazah-runtime",
3
- "version": "0.1.93",
3
+ "version": "0.1.95",
4
4
  "main": "index.cjs",
5
5
  "module": "index.js",
6
6
  "types": "types/index.d.ts",
@@ -53,6 +53,12 @@ export interface CopilotOptions extends CopilotChatOptions {
53
53
  * 与 `model` 区分开:那个是客户端内部 id(copilot-model-xxxx),服务端价格表按 model_name 建索引。
54
54
  */
55
55
  modelName?: string;
56
+ /**
57
+ * 内部字段:本轮是否走计费网关。run() 依据模型行算好后传下去,
58
+ * CopilotAgent 据此决定要不要上报本轮花费 —— 自建/自带 Key 的模型消耗的是用户
59
+ * 在厂商那边的钱,按网关价目表报出来的金额与事实无关。
60
+ */
61
+ viaGateway?: boolean;
56
62
  streamMode?: string[];
57
63
  plugins?: string[];
58
64
  tools?: any[];