@leaflow/sdk 0.27.0 → 0.28.0
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.
|
@@ -934,6 +934,8 @@ export interface components {
|
|
|
934
934
|
ContextResource: {
|
|
935
935
|
/** Format: int64 */
|
|
936
936
|
compactAt: number | null;
|
|
937
|
+
/** @description What kinds of input the model behind this conversation accepts, as modality names: text, image. A client uses this to decide whether a control exists — an attach button on a model that cannot read pictures is a control whose only outcome is a refusal, and the refusal arrives after somebody has chosen a file. An empty list is not a claim that the model reads nothing: it means this deployment has not stated the modalities, or the conversation names a model that has since been retired. Treat empty as unknown and keep the control, because hiding one for a reason nobody can see is worse than a refusal that says why. */
|
|
938
|
+
inputModalities: string[];
|
|
937
939
|
model: string;
|
|
938
940
|
/** Format: int64 */
|
|
939
941
|
used: number | null;
|
|
@@ -731,11 +731,16 @@ export interface components {
|
|
|
731
731
|
currency?: components["schemas"]["Currency"];
|
|
732
732
|
};
|
|
733
733
|
/**
|
|
734
|
-
* @description ISO 4217. `USD` is the only value the platform issues today
|
|
735
|
-
*
|
|
736
|
-
*
|
|
734
|
+
* @description ISO 4217, uppercase. `USD` is the only value the platform issues today, and a request
|
|
735
|
+
* naming any other is refused with `BILLING_CURRENCY_UNSUPPORTED`.
|
|
736
|
+
*
|
|
737
|
+
* Deliberately not an enumeration. The set of currency codes is governed outside this API, so
|
|
738
|
+
* a client generated today must still be able to read a response naming a code added later —
|
|
739
|
+
* an enumeration turns that response into a decode failure in a client nobody can redeploy.
|
|
740
|
+
* Restricting what may be *sent* is a rule about what the platform supports, and it lives
|
|
741
|
+
* where that rule can change without regenerating anything.
|
|
737
742
|
*/
|
|
738
|
-
Currency:
|
|
743
|
+
Currency: string;
|
|
739
744
|
};
|
|
740
745
|
responses: never;
|
|
741
746
|
parameters: {
|