@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/index.cjs +142 -152
- package/index.cjs.map +1 -1
- package/index.d.cts +6 -6
- package/index.d.ts +6 -6
- package/index.global.js +146 -156
- package/index.global.js.map +1 -1
- package/index.js +145 -155
- package/index.js.map +1 -1
- package/package.json +1 -1
- package/skills/ax-agent.md +4 -4
- package/skills/ax-llm.md +1 -1
package/package.json
CHANGED
package/skills/ax-agent.md
CHANGED
|
@@ -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.
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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.
|
|
4
|
+
version: "19.0.6"
|
|
5
5
|
---
|
|
6
6
|
|
|
7
7
|
# Ax Library (@ax-llm/ax) Usage Guide
|