@ax-llm/ax 11.0.5 → 11.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.js CHANGED
@@ -5817,8 +5817,8 @@ var AxGen = class extends AxProgramWithSignature {
5817
5817
  }) {
5818
5818
  const values = {};
5819
5819
  let results = res.results ?? [];
5820
- if (res.results.length > 1) {
5821
- results = res.results.filter((r) => r.functionCalls);
5820
+ if (results.length > 1) {
5821
+ results = results.filter((r) => r.functionCalls);
5822
5822
  }
5823
5823
  for (const result of results) {
5824
5824
  if (res.modelUsage) {