@ax-llm/ax 11.0.3 → 11.0.5
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 -0
- package/index.cjs.map +1 -1
- package/index.d.cts +2 -1
- package/index.d.ts +2 -1
- package/index.js +1 -0
- package/index.js.map +1 -1
- package/package.json +1 -1
package/index.d.cts
CHANGED
|
@@ -529,7 +529,7 @@ interface AxAIAnthropicArgs {
|
|
|
529
529
|
region?: string;
|
|
530
530
|
config?: Readonly<Partial<AxAIAnthropicConfig>>;
|
|
531
531
|
options?: Readonly<AxAIServiceOptions>;
|
|
532
|
-
models?: AxAIModelList<AxAIAnthropicModel>;
|
|
532
|
+
models?: AxAIModelList<AxAIAnthropicModel | AxAIAnthropicVertexModel>;
|
|
533
533
|
}
|
|
534
534
|
declare class AxAIAnthropic extends AxBaseAI<AxAIAnthropicModel | AxAIAnthropicVertexModel, unknown, AxAIAnthropicChatRequest, unknown, AxAIAnthropicChatResponse, AxAIAnthropicChatResponseDelta, unknown> {
|
|
535
535
|
constructor({ apiKey, projectId, region, config, options, models, }: Readonly<Omit<AxAIAnthropicArgs, 'name'>>);
|
|
@@ -878,6 +878,7 @@ declare enum AxAIGoogleGeminiModel {
|
|
|
878
878
|
Gemini20FlashThinking = "gemini-2.0-flash-thinking-exp-01-21",
|
|
879
879
|
Gemini1Pro = "gemini-1.0-pro",
|
|
880
880
|
Gemini15Flash = "gemini-1.5-flash",
|
|
881
|
+
Gemini15Flash002 = "gemini-1.5-flash-002",
|
|
881
882
|
Gemini15Flash8B = "gemini-1.5-flash-8b",
|
|
882
883
|
Gemini15Pro = "gemini-1.5-pro",
|
|
883
884
|
Gemma2 = "gemma-2-27b-it",
|
package/index.d.ts
CHANGED
|
@@ -529,7 +529,7 @@ interface AxAIAnthropicArgs {
|
|
|
529
529
|
region?: string;
|
|
530
530
|
config?: Readonly<Partial<AxAIAnthropicConfig>>;
|
|
531
531
|
options?: Readonly<AxAIServiceOptions>;
|
|
532
|
-
models?: AxAIModelList<AxAIAnthropicModel>;
|
|
532
|
+
models?: AxAIModelList<AxAIAnthropicModel | AxAIAnthropicVertexModel>;
|
|
533
533
|
}
|
|
534
534
|
declare class AxAIAnthropic extends AxBaseAI<AxAIAnthropicModel | AxAIAnthropicVertexModel, unknown, AxAIAnthropicChatRequest, unknown, AxAIAnthropicChatResponse, AxAIAnthropicChatResponseDelta, unknown> {
|
|
535
535
|
constructor({ apiKey, projectId, region, config, options, models, }: Readonly<Omit<AxAIAnthropicArgs, 'name'>>);
|
|
@@ -878,6 +878,7 @@ declare enum AxAIGoogleGeminiModel {
|
|
|
878
878
|
Gemini20FlashThinking = "gemini-2.0-flash-thinking-exp-01-21",
|
|
879
879
|
Gemini1Pro = "gemini-1.0-pro",
|
|
880
880
|
Gemini15Flash = "gemini-1.5-flash",
|
|
881
|
+
Gemini15Flash002 = "gemini-1.5-flash-002",
|
|
881
882
|
Gemini15Flash8B = "gemini-1.5-flash-8b",
|
|
882
883
|
Gemini15Pro = "gemini-1.5-pro",
|
|
883
884
|
Gemma2 = "gemma-2-27b-it",
|
package/index.js
CHANGED
|
@@ -2447,6 +2447,7 @@ var AxAIGoogleGeminiModel = /* @__PURE__ */ ((AxAIGoogleGeminiModel2) => {
|
|
|
2447
2447
|
AxAIGoogleGeminiModel2["Gemini20FlashThinking"] = "gemini-2.0-flash-thinking-exp-01-21";
|
|
2448
2448
|
AxAIGoogleGeminiModel2["Gemini1Pro"] = "gemini-1.0-pro";
|
|
2449
2449
|
AxAIGoogleGeminiModel2["Gemini15Flash"] = "gemini-1.5-flash";
|
|
2450
|
+
AxAIGoogleGeminiModel2["Gemini15Flash002"] = "gemini-1.5-flash-002";
|
|
2450
2451
|
AxAIGoogleGeminiModel2["Gemini15Flash8B"] = "gemini-1.5-flash-8b";
|
|
2451
2452
|
AxAIGoogleGeminiModel2["Gemini15Pro"] = "gemini-1.5-pro";
|
|
2452
2453
|
AxAIGoogleGeminiModel2["Gemma2"] = "gemma-2-27b-it";
|