@ax-llm/ax 11.0.2 → 11.0.3
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 +1 -1
- package/index.cjs.map +1 -1
- package/index.js +1 -1
- package/index.js.map +1 -1
- package/package.json +1 -1
package/index.cjs
CHANGED
|
@@ -5926,7 +5926,7 @@ var AxGen = class extends AxProgramWithSignature {
|
|
|
5926
5926
|
this.usage.push({ ...usageInfo, ...res.modelUsage });
|
|
5927
5927
|
}
|
|
5928
5928
|
mem.addResult(result, sessionId);
|
|
5929
|
-
if (result.functionCalls) {
|
|
5929
|
+
if (result.functionCalls?.length) {
|
|
5930
5930
|
const funcs = parseFunctionCalls(ai, result.functionCalls, values);
|
|
5931
5931
|
if (funcs) {
|
|
5932
5932
|
if (!functions) {
|