@ax-llm/ax 17.0.2 → 17.0.3

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.cts CHANGED
@@ -3023,9 +3023,14 @@ declare class AxPromptTemplate {
3023
3023
  */
3024
3024
  private buildStructuredPrompt;
3025
3025
  /**
3026
- * Build identity section describing the task
3026
+ * Build identity section: stable agent role (input/output field summary only).
3027
3027
  */
3028
3028
  private buildIdentitySection;
3029
+ /**
3030
+ * Build task definition section: signature description / user-added prompt.
3031
+ * Returns empty string if no description is set.
3032
+ */
3033
+ private buildTaskDefinitionSection;
3029
3034
  /**
3030
3035
  * Build functions section with available functions
3031
3036
  */
@@ -9775,11 +9780,16 @@ interface AxRLMConfig {
9775
9780
  interpreter?: AxCodeRuntime;
9776
9781
  /** Cap on recursive sub-LM calls (default: 50). */
9777
9782
  maxLlmCalls?: number;
9778
- /** Maximum characters passed into a single llmQuery context (default: 20000). */
9783
+ /**
9784
+ * Maximum characters for RLM runtime payloads (default: 5000).
9785
+ * Applies to llmQuery context and codeInterpreter output.
9786
+ */
9787
+ maxRuntimeChars?: number;
9788
+ /** @deprecated Use `maxRuntimeChars` instead. */
9779
9789
  maxSubQueryContextChars?: number;
9780
9790
  /** Maximum parallel llmQuery calls in batched mode (default: 8). */
9781
9791
  maxBatchedLlmQueryConcurrency?: number;
9782
- /** Maximum characters returned from one codeInterpreter call (default: 10000). */
9792
+ /** @deprecated Use `maxRuntimeChars` instead. */
9783
9793
  maxInterpreterOutputChars?: number;
9784
9794
  /** Model for llmQuery sub-calls (default: same as parent). */
9785
9795
  subModel?: string;
package/index.d.ts CHANGED
@@ -3023,9 +3023,14 @@ declare class AxPromptTemplate {
3023
3023
  */
3024
3024
  private buildStructuredPrompt;
3025
3025
  /**
3026
- * Build identity section describing the task
3026
+ * Build identity section: stable agent role (input/output field summary only).
3027
3027
  */
3028
3028
  private buildIdentitySection;
3029
+ /**
3030
+ * Build task definition section: signature description / user-added prompt.
3031
+ * Returns empty string if no description is set.
3032
+ */
3033
+ private buildTaskDefinitionSection;
3029
3034
  /**
3030
3035
  * Build functions section with available functions
3031
3036
  */
@@ -9775,11 +9780,16 @@ interface AxRLMConfig {
9775
9780
  interpreter?: AxCodeRuntime;
9776
9781
  /** Cap on recursive sub-LM calls (default: 50). */
9777
9782
  maxLlmCalls?: number;
9778
- /** Maximum characters passed into a single llmQuery context (default: 20000). */
9783
+ /**
9784
+ * Maximum characters for RLM runtime payloads (default: 5000).
9785
+ * Applies to llmQuery context and codeInterpreter output.
9786
+ */
9787
+ maxRuntimeChars?: number;
9788
+ /** @deprecated Use `maxRuntimeChars` instead. */
9779
9789
  maxSubQueryContextChars?: number;
9780
9790
  /** Maximum parallel llmQuery calls in batched mode (default: 8). */
9781
9791
  maxBatchedLlmQueryConcurrency?: number;
9782
- /** Maximum characters returned from one codeInterpreter call (default: 10000). */
9792
+ /** @deprecated Use `maxRuntimeChars` instead. */
9783
9793
  maxInterpreterOutputChars?: number;
9784
9794
  /** Model for llmQuery sub-calls (default: same as parent). */
9785
9795
  subModel?: string;