@ax-llm/ax 19.0.3 → 19.0.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ax-llm/ax",
3
- "version": "19.0.3",
3
+ "version": "19.0.6",
4
4
  "type": "module",
5
5
  "description": "The best library to work with LLMs",
6
6
  "repository": {
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: ax-agent
3
3
  description: This skill helps with building AxAgent-based agents using @ax-llm/ax. Use when the user asks about agent(), AxAgent, child agents, tool functions, RLM mode, stopping agents, composing multi-agent hierarchies, shared fields, shared agents, or global shared fields/agents.
4
- version: "19.0.3"
4
+ version: "19.0.6"
5
5
  ---
6
6
 
7
7
  # AxAgent Guide (@ax-llm/ax)
@@ -444,7 +444,7 @@ const analyzer = agent(
444
444
  },
445
445
  contextFields: [{ field: 'context', promptMaxChars: 1200 }], // Runtime context + optional Actor inlining when small
446
446
  runtime: new AxJSRuntime(), // Code runtime (default: AxJSRuntime)
447
- maxLlmCalls: 30, // Cap on sub-LM calls (default: 50)
447
+ maxSubAgentCalls: 30, // Cap on sub-LM calls (default: 50)
448
448
  maxRuntimeChars: 2_000, // Cap for llmQuery context + code output (default: 5000)
449
449
  maxBatchedLlmQueryConcurrency: 6, // Max parallel batched llmQuery calls (default: 8)
450
450
  maxTurns: 10, // Max Actor turns before forcing Responder (default: 10)
@@ -891,7 +891,7 @@ Thrown by `AxJSRuntime` when consecutive execution failures reach `consecutiveEr
891
891
  interface AxRLMConfig {
892
892
  contextFields: string[]; // Normalized runtime context field names (AxAgentOptions accepts string or object-form inputs)
893
893
  runtime?: AxCodeRuntime; // Code runtime (default: AxJSRuntime)
894
- maxLlmCalls?: number; // Cap on sub-LM calls (default: 50)
894
+ maxSubAgentCalls?: number; // Cap on sub-LM calls (default: 50)
895
895
  maxRuntimeChars?: number; // Cap for llmQuery context + code output (default: 5000)
896
896
  maxBatchedLlmQueryConcurrency?: number; // Max parallel batched llmQuery calls (default: 8)
897
897
  maxTurns?: number; // Max Actor turns before forcing Responder (default: 10)
@@ -983,7 +983,7 @@ Extends `AxProgramForwardOptions` (without `functions`) with:
983
983
  };
984
984
 
985
985
  runtime?: AxCodeRuntime;
986
- maxLlmCalls?: number;
986
+ maxSubAgentCalls?: number;
987
987
  maxRuntimeChars?: number;
988
988
  maxBatchedLlmQueryConcurrency?: number;
989
989
  maxTurns?: number;
package/skills/ax-llm.md CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: ax
3
3
  description: This skill helps with using the @ax-llm/ax TypeScript library for building LLM applications. Use when the user asks about ax(), ai(), f(), s(), agent(), flow(), AxGen, AxAgent, AxFlow, signatures, streaming, or mentions @ax-llm/ax.
4
- version: "19.0.3"
4
+ version: "19.0.6"
5
5
  ---
6
6
 
7
7
  # Ax Library (@ax-llm/ax) Usage Guide