@squidcloud/slack-client 1.0.443 → 1.0.445
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.
|
@@ -480,6 +480,8 @@ export interface BaseAiChatOptions {
|
|
|
480
480
|
* Files are attached to the conversation and can be read/analyzed by the AI.
|
|
481
481
|
*/
|
|
482
482
|
fileIds?: string[];
|
|
483
|
+
/** Timeout in milliseconds for the entire chat request. Defaults to 240,000 (4 minutes). */
|
|
484
|
+
timeoutMs?: number;
|
|
483
485
|
}
|
|
484
486
|
/**
|
|
485
487
|
* Chat options specific to Gemini models, extending base options.
|
|
@@ -8,7 +8,7 @@ export declare const RERANK_PROVIDERS: readonly ["cohere", "none"];
|
|
|
8
8
|
*/
|
|
9
9
|
export type AiRerankProvider = (typeof RERANK_PROVIDERS)[number];
|
|
10
10
|
/** List of available AI provider types. See AiProviderType. */
|
|
11
|
-
export declare const AI_PROVIDER_TYPES: readonly ["anthropic", "bedrock", "claude-code", "flux", "gemini", "openai", "grok", "stability", "voyage", "mistral", "textract", "external"];
|
|
11
|
+
export declare const AI_PROVIDER_TYPES: readonly ["anthropic", "bedrock", "claude-code", "cohere", "flux", "gemini", "openai", "grok", "stability", "voyage", "mistral", "textract", "external"];
|
|
12
12
|
/**
|
|
13
13
|
* Type of the AI provider.
|
|
14
14
|
* References a single AI service, regardless of the model or other AI function it provides (like
|
|
@@ -181,6 +181,13 @@ export type StableDiffusionModelName = (typeof STABLE_DIFFUSION_MODEL_NAMES)[num
|
|
|
181
181
|
* @category AI
|
|
182
182
|
*/
|
|
183
183
|
export type FluxModelName = (typeof FLUX_MODEL_NAMES)[number];
|
|
184
|
+
/** Represents an AI model. */
|
|
185
|
+
export interface ModelIdSpec {
|
|
186
|
+
/** The model ID used for API calls. */
|
|
187
|
+
modelId: AiChatModelName;
|
|
188
|
+
/** The integration ID if this model comes from an integration (OpenAI-compatible, Bedrock). Is undefined for Squid-provided models. */
|
|
189
|
+
integrationId?: string;
|
|
190
|
+
}
|
|
184
191
|
/**
|
|
185
192
|
* Type guard to check if a model selection is integration-based.
|
|
186
193
|
* @category AI
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@squidcloud/slack-client",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.445",
|
|
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.445",
|
|
23
23
|
"@slack/bolt": "^4.5.0"
|
|
24
24
|
},
|
|
25
25
|
"engines": {
|