@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.
@@ -5649,7 +5649,7 @@ export const MJAIPromptSchema = z.object({
5649
5649
  * * Description: When true, the agent context must match for a cache hit. When false, agent-specific and non-agent results can be used interchangeably.`),
5650
5650
  CacheMustMatchConfig: z.boolean().describe(`
5651
5651
  * * Field Name: CacheMustMatchConfig
5652
- * * Display Name: Cache Must Match Configuration
5652
+ * * Display Name: Cache Must Match Config
5653
5653
  * * SQL Data Type: bit
5654
5654
  * * Default Value: 0
5655
5655
  * * Description: When true, the configuration must match for a cache hit. When false, results from any configuration can be used.`),
@@ -5750,7 +5750,7 @@ export const MJAIPromptSchema = z.object({
5750
5750
  * * Description: Maximum number of failover attempts before giving up`),
5751
5751
  FailoverDelaySeconds: z.number().nullable().describe(`
5752
5752
  * * Field Name: FailoverDelaySeconds
5753
- * * Display Name: Failover Delay (seconds)
5753
+ * * Display Name: Failover Delay (Seconds)
5754
5754
  * * SQL Data Type: int
5755
5755
  * * Default Value: 5
5756
5756
  * * Description: Initial delay in seconds between failover attempts`),
@@ -5805,6 +5805,12 @@ export const MJAIPromptSchema = z.object({
5805
5805
  * * None
5806
5806
  * * SystemInstruction
5807
5807
  * * Description: Controls behavior when the selected provider does not support native assistant prefill. Ignore = silently skip prefill, SystemInstruction = inject a system message instructing the model to start its response with the prefill text (uses fallback text from AI Model Vendor or AI Model Type), None = no fallback (prefill only works with supported providers).`),
5808
+ RequireSpecificModels: z.boolean().describe(`
5809
+ * * Field Name: RequireSpecificModels
5810
+ * * Display Name: Require Specific Models
5811
+ * * SQL Data Type: bit
5812
+ * * Default Value: 0
5813
+ * * 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.`),
5808
5814
  Template: z.string().describe(`
5809
5815
  * * Field Name: Template
5810
5816
  * * Display Name: Template Text
@@ -37307,7 +37313,7 @@ let MJAIPromptEntity = class MJAIPromptEntity extends BaseEntity {
37307
37313
  }
37308
37314
  /**
37309
37315
  * * Field Name: CacheMustMatchConfig
37310
- * * Display Name: Cache Must Match Configuration
37316
+ * * Display Name: Cache Must Match Config
37311
37317
  * * SQL Data Type: bit
37312
37318
  * * Default Value: 0
37313
37319
  * * Description: When true, the configuration must match for a cache hit. When false, results from any configuration can be used.
@@ -37513,7 +37519,7 @@ let MJAIPromptEntity = class MJAIPromptEntity extends BaseEntity {
37513
37519
  }
37514
37520
  /**
37515
37521
  * * Field Name: FailoverDelaySeconds
37516
- * * Display Name: Failover Delay (seconds)
37522
+ * * Display Name: Failover Delay (Seconds)
37517
37523
  * * SQL Data Type: int
37518
37524
  * * Default Value: 5
37519
37525
  * * Description: Initial delay in seconds between failover attempts
@@ -37611,6 +37617,19 @@ let MJAIPromptEntity = class MJAIPromptEntity extends BaseEntity {
37611
37617
  this.Set('PrefillFallbackMode', value);
37612
37618
  }
37613
37619
  /**
37620
+ * * Field Name: RequireSpecificModels
37621
+ * * Display Name: Require Specific Models
37622
+ * * SQL Data Type: bit
37623
+ * * Default Value: 0
37624
+ * * 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.
37625
+ */
37626
+ get RequireSpecificModels() {
37627
+ return this.Get('RequireSpecificModels');
37628
+ }
37629
+ set RequireSpecificModels(value) {
37630
+ this.Set('RequireSpecificModels', value);
37631
+ }
37632
+ /**
37614
37633
  * * Field Name: Template
37615
37634
  * * Display Name: Template Text
37616
37635
  * * SQL Data Type: nvarchar(255)