@ax-llm/ax 11.0.2 → 11.0.4
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 +2 -1
- package/index.cjs.map +1 -1
- package/index.d.cts +1 -0
- package/index.d.ts +1 -0
- package/index.js +2 -1
- package/index.js.map +1 -1
- package/package.json +1 -1
package/index.cjs
CHANGED
|
@@ -2549,6 +2549,7 @@ var AxAIGoogleGeminiModel = /* @__PURE__ */ ((AxAIGoogleGeminiModel2) => {
|
|
|
2549
2549
|
AxAIGoogleGeminiModel2["Gemini20FlashThinking"] = "gemini-2.0-flash-thinking-exp-01-21";
|
|
2550
2550
|
AxAIGoogleGeminiModel2["Gemini1Pro"] = "gemini-1.0-pro";
|
|
2551
2551
|
AxAIGoogleGeminiModel2["Gemini15Flash"] = "gemini-1.5-flash";
|
|
2552
|
+
AxAIGoogleGeminiModel2["Gemini15Flash002"] = "gemini-1.5-flash-002";
|
|
2552
2553
|
AxAIGoogleGeminiModel2["Gemini15Flash8B"] = "gemini-1.5-flash-8b";
|
|
2553
2554
|
AxAIGoogleGeminiModel2["Gemini15Pro"] = "gemini-1.5-pro";
|
|
2554
2555
|
AxAIGoogleGeminiModel2["Gemma2"] = "gemma-2-27b-it";
|
|
@@ -5926,7 +5927,7 @@ var AxGen = class extends AxProgramWithSignature {
|
|
|
5926
5927
|
this.usage.push({ ...usageInfo, ...res.modelUsage });
|
|
5927
5928
|
}
|
|
5928
5929
|
mem.addResult(result, sessionId);
|
|
5929
|
-
if (result.functionCalls) {
|
|
5930
|
+
if (result.functionCalls?.length) {
|
|
5930
5931
|
const funcs = parseFunctionCalls(ai, result.functionCalls, values);
|
|
5931
5932
|
if (funcs) {
|
|
5932
5933
|
if (!functions) {
|