@squidcloud/slack-client 1.0.450 → 1.0.452
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.
|
@@ -487,6 +487,8 @@ export interface BaseAiChatOptions {
|
|
|
487
487
|
fileIds?: string[];
|
|
488
488
|
/** Timeout in milliseconds for the entire chat request. Defaults to 240,000 (4 minutes). */
|
|
489
489
|
timeoutMs?: number;
|
|
490
|
+
/** Maximum number of tool-call iterations the model may perform in a single chat turn. Defaults to 50. */
|
|
491
|
+
maxToolIterations?: number;
|
|
490
492
|
}
|
|
491
493
|
/**
|
|
492
494
|
* Chat options specific to Gemini models, extending base options.
|
|
@@ -24,7 +24,7 @@ export type AiFileProviderType = Extract<AiProviderType, 'openai' | 'gemini' | '
|
|
|
24
24
|
* Public OpenAI chat model names (active models only).
|
|
25
25
|
* @category AI
|
|
26
26
|
*/
|
|
27
|
-
export declare const OPENAI_CHAT_MODEL_NAMES: readonly ["gpt-5-mini", "gpt-5-nano", "gpt-5.2", "gpt-5.2-pro"];
|
|
27
|
+
export declare const OPENAI_CHAT_MODEL_NAMES: readonly ["gpt-5-mini", "gpt-5-nano", "gpt-5.2", "gpt-5.2-pro", "gpt-5.4"];
|
|
28
28
|
/**
|
|
29
29
|
* Public Gemini chat model names (active models only).
|
|
30
30
|
* @category AI
|
|
@@ -44,7 +44,7 @@ export declare const ANTHROPIC_CHAT_MODEL_NAMES: readonly ["claude-haiku-4-5-202
|
|
|
44
44
|
* The supported AI model names.
|
|
45
45
|
* @category AI
|
|
46
46
|
*/
|
|
47
|
-
export declare const VENDOR_AI_CHAT_MODEL_NAMES: readonly ["gpt-5-mini", "gpt-5-nano", "gpt-5.2", "gpt-5.2-pro", "claude-haiku-4-5-20251001", "claude-opus-4-6", "claude-sonnet-4-6", "gemini-3-pro", "gemini-3-flash", "grok-4", "grok-4-1-fast-reasoning", "grok-4-1-fast-non-reasoning"];
|
|
47
|
+
export declare const VENDOR_AI_CHAT_MODEL_NAMES: readonly ["gpt-5-mini", "gpt-5-nano", "gpt-5.2", "gpt-5.2-pro", "gpt-5.4", "claude-haiku-4-5-20251001", "claude-opus-4-6", "claude-sonnet-4-6", "gemini-3-pro", "gemini-3-flash", "grok-4", "grok-4-1-fast-reasoning", "grok-4-1-fast-non-reasoning"];
|
|
48
48
|
/** Checks if the given model name is a global AI chat model name. */
|
|
49
49
|
export declare function isVendorAiChatModelName(modelName: unknown): modelName is VendorAiChatModelName;
|
|
50
50
|
/**
|
|
@@ -379,12 +379,13 @@ export interface AiKnowledgeBaseDownloadContextResponse {
|
|
|
379
379
|
url?: string;
|
|
380
380
|
}
|
|
381
381
|
/**
|
|
382
|
-
* KnowledgeBase with optional
|
|
382
|
+
* KnowledgeBase with optional fields, used during upsert
|
|
383
383
|
* @category AI
|
|
384
384
|
*/
|
|
385
|
-
export type
|
|
385
|
+
export type AiEmbeddingsModelWithOptionalFields = Omit<AiKnowledgeBase, 'chatModel' | 'embeddingModel'> & {
|
|
386
386
|
chatModel?: AiKnowledgeBase['chatModel'];
|
|
387
387
|
name?: string;
|
|
388
|
+
embeddingModel?: AiEmbeddingsModelSelection;
|
|
388
389
|
};
|
|
389
390
|
/**
|
|
390
391
|
* API request for deleting an AiKnowledgeBase
|
|
@@ -400,7 +401,7 @@ export interface DeleteAiKnowledgeBaseRequest {
|
|
|
400
401
|
*/
|
|
401
402
|
export interface UpsertAiKnowledgeBaseRequest {
|
|
402
403
|
/** The AiKnowledgeBase to upsert */
|
|
403
|
-
knowledgeBase: Omit<
|
|
404
|
+
knowledgeBase: Omit<AiEmbeddingsModelWithOptionalFields, 'appId' | 'updatedAt'>;
|
|
404
405
|
}
|
|
405
406
|
/**
|
|
406
407
|
* API request for deleting AiKnowledgeBaseContexts
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@squidcloud/slack-client",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.452",
|
|
4
4
|
"description": "Squid Slack Client",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/client/src/index.d.ts",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"assertic": "^1.3.0",
|
|
21
21
|
"lodash": "^4.17.21",
|
|
22
|
-
"@squidcloud/client": "^1.0.
|
|
22
|
+
"@squidcloud/client": "^1.0.452",
|
|
23
23
|
"@slack/bolt": "^4.5.0"
|
|
24
24
|
},
|
|
25
25
|
"engines": {
|