@vellumai/plugin-api 0.11.1-dev.202608041453.6657fff → 0.11.1-dev.202608041551.40f0fbf
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/index.d.ts +12 -4
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -767,6 +767,12 @@ declare const AssistantConfigSchema: z.ZodObject<{
|
|
|
767
767
|
disableCache: z.ZodOptional<z.ZodBoolean>;
|
|
768
768
|
profile: z.ZodOptional<z.ZodString>;
|
|
769
769
|
}, z.core.$strip>>>;
|
|
770
|
+
defaultProfileOverrides: z.ZodDefault<z.ZodRecord<z.ZodEnum<{
|
|
771
|
+
balanced: "balanced";
|
|
772
|
+
"quality-optimized": "quality-optimized";
|
|
773
|
+
"cost-optimized": "cost-optimized";
|
|
774
|
+
"latency-optimized": "latency-optimized";
|
|
775
|
+
}> & z.core.$partial, z.ZodString>>;
|
|
770
776
|
activeProfile: z.ZodOptional<z.ZodString>;
|
|
771
777
|
advisorProfile: z.ZodOptional<z.ZodString>;
|
|
772
778
|
defaultProvider: z.ZodCatch<z.ZodOptional<z.ZodObject<{
|
|
@@ -5622,10 +5628,12 @@ declare type ResolutionFallbackReason = "missing" | "disabled" | "incomplete";
|
|
|
5622
5628
|
* 2. `llm.activeProfile` — `mainAgent` only, since it IS that call site's
|
|
5623
5629
|
* user-facing chat-model selection
|
|
5624
5630
|
* 3. `llm.callSites[callSite].profile` (the call site's named profile)
|
|
5625
|
-
* 4. `CALL_SITE_DEFAULTS[callSite].profile` intent
|
|
5626
|
-
* `llm.
|
|
5627
|
-
*
|
|
5628
|
-
*
|
|
5631
|
+
* 4. `CALL_SITE_DEFAULTS[callSite].profile` intent, remapped through
|
|
5632
|
+
* `llm.defaultProfileOverrides[intent]` when set, otherwise resolved
|
|
5633
|
+
* through `llm.defaultProvider`
|
|
5634
|
+
* 5. balanced intent (same remap consult) through `llm.defaultProvider`:
|
|
5635
|
+
* the code-owned anchor for profileless call sites, or when nothing
|
|
5636
|
+
* above is usable
|
|
5629
5637
|
*
|
|
5630
5638
|
* A winner must carry its own `provider` AND `model`: the base layer's schema
|
|
5631
5639
|
* default identity never stands in for a selected profile. The anchor is
|
package/package.json
CHANGED