@ego-z/contracts 0.15.16 → 0.15.17
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 +1 -1
- package/src/ask.d.ts +8 -6
- package/src/model.d.ts +3 -3
package/package.json
CHANGED
package/src/ask.d.ts
CHANGED
|
@@ -115,13 +115,15 @@ export interface AskRequestBody {
|
|
|
115
115
|
*
|
|
116
116
|
* ── `"auto"`: let EgoZ choose ────────────────────────────────────────
|
|
117
117
|
*
|
|
118
|
-
* EgoZ
|
|
119
|
-
*
|
|
120
|
-
*
|
|
118
|
+
* EgoZ judges how demanding the turn is and answers accordingly: with more
|
|
119
|
+
* or less reasoning and, when the owner has picked them, on a lighter or a
|
|
120
|
+
* stronger model from this project's menu — always one the owner approved,
|
|
121
|
+
* on the owner's keys.
|
|
121
122
|
* The choice belongs to the conversation, not to each message on its own:
|
|
122
|
-
*
|
|
123
|
-
*
|
|
124
|
-
*
|
|
123
|
+
* a conversation can move up (a hard question after a "hi" gets more care)
|
|
124
|
+
* but never back down, because switching back and forth would change the
|
|
125
|
+
* agent's tone and defeat prompt caching. A `completion` has no
|
|
126
|
+
* conversation to belong to, so each one is routed by itself.
|
|
125
127
|
*
|
|
126
128
|
* Accepted only when the owner offers Auto AND model switching is on —
|
|
127
129
|
* exactly when `GET /egoz/models` reports `auto.available: true`.
|
package/src/model.d.ts
CHANGED
|
@@ -84,9 +84,9 @@ export interface SwitchableModelsResponseData {
|
|
|
84
84
|
models: SwitchableModelWire[];
|
|
85
85
|
/**
|
|
86
86
|
* Whether this project lets callers pick Auto, where EgoZ decides, per
|
|
87
|
-
* conversation, how
|
|
88
|
-
*
|
|
89
|
-
*
|
|
87
|
+
* conversation, how demanding a turn is: how much reasoning it gets and,
|
|
88
|
+
* when the owner picked them, whether it runs on a lighter or a stronger
|
|
89
|
+
* model from this project's menu.
|
|
90
90
|
*
|
|
91
91
|
* `available` is true when a caller may send `model: "auto"` — the owner
|
|
92
92
|
* offers Auto AND `switchable` is true. List Auto in a picker only then.
|