@gammatech/aijsx 0.15.2-dev.2024-10-01 → 0.15.4-dev.2024-11-04
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/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -281,7 +281,7 @@ declare module '@gammatech/aijsx' {
|
|
|
281
281
|
* The set of valid Claude models.
|
|
282
282
|
* @see https://docs.anthropic.com/claude/reference/selecting-a-model
|
|
283
283
|
*/
|
|
284
|
-
type ValidAnthropicChatModel = 'claude-instant-1.2' | 'claude-2.1' | 'claude-3-opus-20240229' | 'claude-3-sonnet-20240229' | 'claude-3-haiku-20240307' | 'claude-3-5-sonnet-20240620';
|
|
284
|
+
type ValidAnthropicChatModel = 'claude-instant-1.2' | 'claude-2.1' | 'claude-3-opus-20240229' | 'claude-3-sonnet-20240229' | 'claude-3-haiku-20240307' | 'claude-3-5-haiku-20241022' | 'claude-3-5-sonnet-20240620' | 'claude-3-5-sonnet-20241022';
|
|
285
285
|
declare const AnthropicClientContext: Context<GetChatCompletionClientAndProvider<ValidAnthropicChatModel, AnthropicClient>>;
|
|
286
286
|
type AnthropicChatCompletionProps = {
|
|
287
287
|
model: ValidAnthropicChatModel;
|
|
@@ -308,7 +308,7 @@ declare module '@gammatech/aijsx' {
|
|
|
308
308
|
};
|
|
309
309
|
}
|
|
310
310
|
}
|
|
311
|
-
type ValidGoogleChatModel = 'gemini-1.5-pro' | 'gemini-1.5-flash' | 'gemini-1.5-flash-002' | 'gemini-1.5-pro-002';
|
|
311
|
+
type ValidGoogleChatModel = 'gemini-1.5-pro' | 'gemini-1.5-flash' | 'gemini-1.5-pro-001' | 'gemini-1.5-flash-001' | 'gemini-1.5-flash-002' | 'gemini-1.5-pro-002';
|
|
312
312
|
declare const GoogleClientContext: Context<GetChatCompletionClientAndProvider<ValidGoogleChatModel, VertexAI>>;
|
|
313
313
|
type GoogleChatCompletionProps = {
|
|
314
314
|
model: ValidGoogleChatModel;
|
package/dist/index.d.ts
CHANGED
|
@@ -281,7 +281,7 @@ declare module '@gammatech/aijsx' {
|
|
|
281
281
|
* The set of valid Claude models.
|
|
282
282
|
* @see https://docs.anthropic.com/claude/reference/selecting-a-model
|
|
283
283
|
*/
|
|
284
|
-
type ValidAnthropicChatModel = 'claude-instant-1.2' | 'claude-2.1' | 'claude-3-opus-20240229' | 'claude-3-sonnet-20240229' | 'claude-3-haiku-20240307' | 'claude-3-5-sonnet-20240620';
|
|
284
|
+
type ValidAnthropicChatModel = 'claude-instant-1.2' | 'claude-2.1' | 'claude-3-opus-20240229' | 'claude-3-sonnet-20240229' | 'claude-3-haiku-20240307' | 'claude-3-5-haiku-20241022' | 'claude-3-5-sonnet-20240620' | 'claude-3-5-sonnet-20241022';
|
|
285
285
|
declare const AnthropicClientContext: Context<GetChatCompletionClientAndProvider<ValidAnthropicChatModel, AnthropicClient>>;
|
|
286
286
|
type AnthropicChatCompletionProps = {
|
|
287
287
|
model: ValidAnthropicChatModel;
|
|
@@ -308,7 +308,7 @@ declare module '@gammatech/aijsx' {
|
|
|
308
308
|
};
|
|
309
309
|
}
|
|
310
310
|
}
|
|
311
|
-
type ValidGoogleChatModel = 'gemini-1.5-pro' | 'gemini-1.5-flash' | 'gemini-1.5-flash-002' | 'gemini-1.5-pro-002';
|
|
311
|
+
type ValidGoogleChatModel = 'gemini-1.5-pro' | 'gemini-1.5-flash' | 'gemini-1.5-pro-001' | 'gemini-1.5-flash-001' | 'gemini-1.5-flash-002' | 'gemini-1.5-pro-002';
|
|
312
312
|
declare const GoogleClientContext: Context<GetChatCompletionClientAndProvider<ValidGoogleChatModel, VertexAI>>;
|
|
313
313
|
type GoogleChatCompletionProps = {
|
|
314
314
|
model: ValidGoogleChatModel;
|