@squidcloud/client 1.0.362 → 1.0.363
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/cjs/index.js +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/internal-common/src/public-types/ai-agent.public-types.d.ts +4 -2
- package/dist/internal-common/src/public-types/ai-assistant.public-types.d.ts +2 -2
- package/dist/typescript-client/src/version.d.ts +1 -1
- package/package.json +1 -1
|
@@ -466,7 +466,7 @@ export interface OpenAiChatOptions extends BaseAiAgentChatOptions {
|
|
|
466
466
|
/**
|
|
467
467
|
* @category AI
|
|
468
468
|
*/
|
|
469
|
-
export type
|
|
469
|
+
export type AiReasoningEffort = 'low' | 'medium' | 'high';
|
|
470
470
|
/**
|
|
471
471
|
* Chat options for OpenAI reasoning models, extending OpenAI options.
|
|
472
472
|
* @category AI
|
|
@@ -475,7 +475,7 @@ export interface OpenAiReasoningChatOptions extends OpenAiChatOptions {
|
|
|
475
475
|
/** The OpenAI reasoning model to use for the chat. */
|
|
476
476
|
model?: OpenAiReasoningChatModelName;
|
|
477
477
|
/** The level of reasoning effort to apply; defaults to model-specific value. */
|
|
478
|
-
reasoningEffort?:
|
|
478
|
+
reasoningEffort?: AiReasoningEffort;
|
|
479
479
|
}
|
|
480
480
|
/**
|
|
481
481
|
* Chat options specific to Anthropic models, extending base options.
|
|
@@ -484,6 +484,8 @@ export interface OpenAiReasoningChatOptions extends OpenAiChatOptions {
|
|
|
484
484
|
export interface AnthropicChatOptions extends BaseAiAgentChatOptions {
|
|
485
485
|
/** The Anthropic model to use for the chat. */
|
|
486
486
|
model?: AnthropicChatModelName;
|
|
487
|
+
/** The level of reasoning effort to apply. Defaults to no reasoning. */
|
|
488
|
+
reasoningEffort?: AiReasoningEffort;
|
|
487
489
|
}
|
|
488
490
|
/**
|
|
489
491
|
* Optional settings for an AI session, allowing partial specification of identifiers.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AiAgentResponseFormat, OpenAiChatModelName,
|
|
1
|
+
import { AiAgentResponseFormat, OpenAiChatModelName, AiReasoningEffort } from './ai-agent.public-types';
|
|
2
2
|
import { AiFunctionId } from './backend.public-types';
|
|
3
3
|
/**
|
|
4
4
|
* The type of assistant tool.
|
|
@@ -19,7 +19,7 @@ export interface QueryAssistantOptions {
|
|
|
19
19
|
/** The OpenAI chat model to use for the assistant, if specified. */
|
|
20
20
|
model?: OpenAiChatModelName;
|
|
21
21
|
/** The level of reasoning effort to apply, as defined by OpenAI. */
|
|
22
|
-
reasoningEffort?:
|
|
22
|
+
reasoningEffort?: AiReasoningEffort;
|
|
23
23
|
/** Custom instructions to guide the assistant's behavior, if provided. */
|
|
24
24
|
instructions?: string;
|
|
25
25
|
}
|