@choiceopen/atomemo-plugin-schema 0.2.4 → 0.2.6

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.
@@ -552,7 +552,7 @@ interface CredentialDefinition extends BaseDefinition {
552
552
  /**
553
553
  * If it is called for the LLM authentication, then this property is the model name.
554
554
  */
555
- model?: string;
555
+ model?: string | null;
556
556
  [key: string]: unknown;
557
557
  };
558
558
  };
@@ -561,8 +561,8 @@ interface CredentialDefinition extends BaseDefinition {
561
561
  * What kind of LLM provider is used.
562
562
  */
563
563
  adapter: "anthropic" | "openai" | "google" | "deepseek";
564
- endpoint?: string;
565
- headers?: Record<string, string>;
564
+ endpoint?: string | null;
565
+ headers?: Record<string, string> | null;
566
566
  }>;
567
567
  parameters: Array<PropertyScalar>;
568
568
  }
@@ -589,7 +589,7 @@ interface ModelDefinition extends BaseDefinition {
589
589
  /**
590
590
  * The default endpoint of the model.
591
591
  */
592
- default_endpoint?: string;
592
+ default_endpoint?: string | null;
593
593
  /**
594
594
  * Supported input types.
595
595
  */
@@ -607,28 +607,28 @@ interface ModelDefinition extends BaseDefinition {
607
607
  /**
608
608
  * The currency of the pricing. Defaults to "USD" if not specified.
609
609
  */
610
- currency?: string;
610
+ currency?: string | null;
611
611
  /**
612
612
  * Cost per input token.
613
613
  */
614
- input?: number;
614
+ input?: number | null;
615
615
  /**
616
616
  * Input cache read token price.
617
617
  */
618
- input_cache_read?: number;
618
+ input_cache_read?: number | null;
619
619
  /**
620
620
  * Input cache write token price.
621
621
  */
622
- input_cache_write?: number;
622
+ input_cache_write?: number | null;
623
623
  /**
624
624
  * Cost per output token.
625
625
  */
626
- output?: number;
626
+ output?: number | null;
627
627
  /**
628
628
  * Fixed cost per API request if applicable.
629
629
  */
630
- request?: number;
631
- };
630
+ request?: number | null;
631
+ } | null;
632
632
  /**
633
633
  * Override the default parameters of the model.
634
634
  */
@@ -640,16 +640,16 @@ interface ModelDefinition extends BaseDefinition {
640
640
  /**
641
641
  * @default 1.0
642
642
  */
643
- default?: number;
643
+ default?: number | null;
644
644
  /**
645
645
  * @default 2.0
646
646
  */
647
- maximum?: number;
647
+ maximum?: number | null;
648
648
  /**
649
649
  * @default 0.0
650
650
  */
651
- minimum?: number;
652
- };
651
+ minimum?: number | null;
652
+ } | null;
653
653
  /**
654
654
  * This setting aims to control the repetition of tokens based on how often they appear in the input. It tries to use less frequently those tokens that appear more in the input, proportional to how frequently they occur. Token penalty scales with the number of occurrences. Negative values will encourage token reuse.
655
655
  */
@@ -657,16 +657,16 @@ interface ModelDefinition extends BaseDefinition {
657
657
  /**
658
658
  * @default 0.0
659
659
  */
660
- default?: number;
660
+ default?: number | null;
661
661
  /**
662
662
  * @default 2.0
663
663
  */
664
- maximum?: number;
664
+ maximum?: number | null;
665
665
  /**
666
666
  * @default -2.0
667
667
  */
668
- minimum?: number;
669
- };
668
+ minimum?: number | null;
669
+ } | null;
670
670
  /**
671
671
  * This sets the upper limit for the number of tokens the model can generate in response. It won’t produce more than this limit. The maximum value is the context length minus the prompt length.
672
672
  */
@@ -674,12 +674,12 @@ interface ModelDefinition extends BaseDefinition {
674
674
  /**
675
675
  * @default 1_048_576
676
676
  */
677
- default?: number;
677
+ default?: number | null;
678
678
  /**
679
679
  * @default 2_000_000
680
680
  */
681
- maximum?: number;
682
- };
681
+ maximum?: number | null;
682
+ } | null;
683
683
  /**
684
684
  * Constrains the verbosity of the model’s response. Lower values produce more concise responses, while higher values produce more detailed and comprehensive responses. Introduced by OpenAI for the Responses API.
685
685
  *
@@ -689,9 +689,9 @@ interface ModelDefinition extends BaseDefinition {
689
689
  /**
690
690
  * @default "medium"
691
691
  */
692
- default?: "low" | "medium" | "high";
693
- };
694
- };
692
+ default?: "low" | "medium" | "high" | null;
693
+ } | null;
694
+ } | null;
695
695
  /**
696
696
  * Declare which parameters are not supported by the model.
697
697
  *
@@ -734,4 +734,4 @@ interface ToolDefinition extends BaseDefinition {
734
734
  }
735
735
  //#endregion
736
736
  export { PropertyUIEmojiPickerProps as A, PropertyUIRadioGroupProps as B, PropertyUIBoolean as C, PropertyUIComponentType as D, PropertyUICommonProps as E, PropertyUIMisc as F, JsonValue$1 as G, PropertyUISingleSelectProps as H, PropertyUINumber as I, JsonValueSchema as K, PropertyUIObject as L, PropertyUIEncryptedString as M, PropertyUIInputProps as N, PropertyUIContainer as O, PropertyUIKeyValueEditorProps as P, PropertyUIOption as R, PropertyUIArraySectionProps as S, PropertyUIColorPickerProps as T, PropertyUIString as U, PropertyUISectionProps as V, PropertyUISwitchProps as W, PropertyNumber as _, ModelDefinition as a, PropertyString as b, DisplayCondition as c, PropertyArray as d, PropertyBase as f, PropertyEncryptedString as g, PropertyDiscriminatedUnion as h, Feature as i, PropertyUIEncryptedInputProps as j, PropertyUICredentialId as k, FilterOperators as l, PropertyCredentialId as m, CredentialDefinition as n, PluginDefinition as o, PropertyBoolean as p, I18nText as q, DataSourceDefinition as r, ToolDefinition as s, BaseDefinition as t, Property as u, PropertyObject as v, PropertyUICollapsiblePanelProps as w, PropertyUIArray as x, PropertyScalar as y, PropertyUIProps as z };
737
- //# sourceMappingURL=definition-ByCpaQag.d.mts.map
737
+ //# sourceMappingURL=definition-yC3po4PO.d.mts.map