AxAgentAutoUpgrade
type AxAgentAutoUpgrade =
| boolean
| {
contextFields?: | boolean
| {
previewChars?: number;
promoteAboveChars?: number;
};
functionDiscovery?: | boolean
| {
aboveFunctionDocChars?: number;
};
};Defined in: https://github.com/ax-llm/ax/blob/3ac75e381dcefb739712993c304c34295567283a/src/ax/agent/config.ts#L85
Smart-defaults knob: true/false toggles both upgrades; an object tunes
each independently (an object value implies enabled for that domain).
Type declaration
boolean
{
contextFields?: | boolean
| {
previewChars?: number;
promoteAboveChars?: number;
};
functionDiscovery?: | boolean
| {
aboveFunctionDocChars?: number;
};
}| Name | Type | Description |
|---|---|---|
contextFields? | | boolean | { previewChars?: number; promoteAboveChars?: number; } | Auto-keep oversized undeclared input values runtime-only. |
functionDiscovery? | | boolean | { aboveFunctionDocChars?: number; } | Auto-enable runtime callable discovery for large tool catalogs. |