@memberjunction/core-entities 5.19.0 → 5.21.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.
@@ -3322,6 +3322,7 @@ export declare const MJAIPromptSchema: z.ZodObject<{
3322
3322
  EffortLevel: z.ZodNullable<z.ZodNumber>;
3323
3323
  AssistantPrefill: z.ZodNullable<z.ZodString>;
3324
3324
  PrefillFallbackMode: z.ZodUnion<[z.ZodLiteral<"Ignore">, z.ZodLiteral<"None">, z.ZodLiteral<"SystemInstruction">]>;
3325
+ RequireSpecificModels: z.ZodBoolean;
3325
3326
  Template: z.ZodString;
3326
3327
  Category: z.ZodNullable<z.ZodString>;
3327
3328
  Type: z.ZodString;
@@ -3385,6 +3386,7 @@ export declare const MJAIPromptSchema: z.ZodObject<{
3385
3386
  FailoverModelStrategy?: "PreferDifferentModel" | "PreferSameModel" | "RequireSameModel";
3386
3387
  FailoverErrorScope?: "All" | "NetworkOnly" | "RateLimitOnly" | "ServiceErrorOnly";
3387
3388
  PrefillFallbackMode?: "None" | "Ignore" | "SystemInstruction";
3389
+ RequireSpecificModels?: boolean;
3388
3390
  Template?: string;
3389
3391
  ResultSelectorPrompt?: string;
3390
3392
  RootResultSelectorPromptID?: string;
@@ -3445,6 +3447,7 @@ export declare const MJAIPromptSchema: z.ZodObject<{
3445
3447
  FailoverModelStrategy?: "PreferDifferentModel" | "PreferSameModel" | "RequireSameModel";
3446
3448
  FailoverErrorScope?: "All" | "NetworkOnly" | "RateLimitOnly" | "ServiceErrorOnly";
3447
3449
  PrefillFallbackMode?: "None" | "Ignore" | "SystemInstruction";
3450
+ RequireSpecificModels?: boolean;
3448
3451
  Template?: string;
3449
3452
  ResultSelectorPrompt?: string;
3450
3453
  RootResultSelectorPromptID?: string;
@@ -24503,7 +24506,7 @@ export declare class MJAIPromptEntity extends BaseEntity<MJAIPromptEntityType> {
24503
24506
  set CacheMustMatchAgent(value: boolean);
24504
24507
  /**
24505
24508
  * * Field Name: CacheMustMatchConfig
24506
- * * Display Name: Cache Must Match Configuration
24509
+ * * Display Name: Cache Must Match Config
24507
24510
  * * SQL Data Type: bit
24508
24511
  * * Default Value: 0
24509
24512
  * * Description: When true, the configuration must match for a cache hit. When false, results from any configuration can be used.
@@ -24649,7 +24652,7 @@ export declare class MJAIPromptEntity extends BaseEntity<MJAIPromptEntityType> {
24649
24652
  set FailoverMaxAttempts(value: number | null);
24650
24653
  /**
24651
24654
  * * Field Name: FailoverDelaySeconds
24652
- * * Display Name: Failover Delay (seconds)
24655
+ * * Display Name: Failover Delay (Seconds)
24653
24656
  * * SQL Data Type: int
24654
24657
  * * Default Value: 5
24655
24658
  * * Description: Initial delay in seconds between failover attempts
@@ -24723,6 +24726,15 @@ export declare class MJAIPromptEntity extends BaseEntity<MJAIPromptEntityType> {
24723
24726
  get PrefillFallbackMode(): 'Ignore' | 'None' | 'SystemInstruction';
24724
24727
  set PrefillFallbackMode(value: 'Ignore' | 'None' | 'SystemInstruction');
24725
24728
  /**
24729
+ * * Field Name: RequireSpecificModels
24730
+ * * Display Name: Require Specific Models
24731
+ * * SQL Data Type: bit
24732
+ * * Default Value: 0
24733
+ * * Description: Only applies when SelectionStrategy is Specific. When 0 (default), if none of the explicitly configured AIPromptModel entries have valid API credentials the system automatically falls back to Default/ByPower model selection across all active models matching the prompt AIModelTypeID. When 1, the system will hard-fail with an error instead of falling back, ensuring only the explicitly configured models are ever used.
24734
+ */
24735
+ get RequireSpecificModels(): boolean;
24736
+ set RequireSpecificModels(value: boolean);
24737
+ /**
24726
24738
  * * Field Name: Template
24727
24739
  * * Display Name: Template Text
24728
24740
  * * SQL Data Type: nvarchar(255)