@ax-llm/ax 11.0.4 → 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.cjs CHANGED
@@ -5919,8 +5919,8 @@ var AxGen = class extends AxProgramWithSignature {
5919
5919
  }) {
5920
5920
  const values = {};
5921
5921
  let results = res.results ?? [];
5922
- if (res.results.length > 1) {
5923
- results = res.results.filter((r) => r.functionCalls);
5922
+ if (results.length > 1) {
5923
+ results = results.filter((r) => r.functionCalls);
5924
5924
  }
5925
5925
  for (const result of results) {
5926
5926
  if (res.modelUsage) {