@squidcloud/client 1.0.301 → 1.0.302

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.
@@ -2,11 +2,11 @@ import { FunctionName, FunctionNameWithContext } from './bundle-data.public-type
2
2
  import { IntegrationId } from './communication.public-types';
3
3
  import { AiChatPromptQuotas, AiConnectedAgentMetadata } from '../types/ai-chatbot.types';
4
4
  /** The supported OpenAI models */
5
- export declare const OPENAI_CHAT_MODEL_NAMES: readonly ["gpt-4o", "gpt-4o-mini", "o1-preview", "o1-mini"];
5
+ export declare const OPENAI_CHAT_MODEL_NAMES: readonly ["gpt-4o", "gpt-4o-mini", "o1", "o1-mini"];
6
6
  export declare const GEMINI_CHAT_MODEL_NAMES: readonly ["gemini-1.5-pro", "gemini-1.5-flash"];
7
7
  export declare const ANTHROPIC_CHAT_MODEL_NAMES: readonly ["claude-3-5-haiku-latest", "claude-3-5-sonnet-latest"];
8
8
  /** The supported AI model names. */
9
- export declare const AI_CHAT_MODEL_NAMES: readonly ["gpt-4o", "gpt-4o-mini", "o1-preview", "o1-mini", "claude-3-5-haiku-latest", "claude-3-5-sonnet-latest", "gemini-1.5-pro", "gemini-1.5-flash"];
9
+ export declare const AI_CHAT_MODEL_NAMES: readonly ["gpt-4o", "gpt-4o-mini", "o1", "o1-mini", "claude-3-5-haiku-latest", "claude-3-5-sonnet-latest", "gemini-1.5-pro", "gemini-1.5-flash"];
10
10
  export declare const OPENAI_EMBEDDINGS_MODEL_NAMES: readonly ["text-embedding-3-small", "text-embedding-3-large", "text-embedding-ada-002"];
11
11
  export declare const AI_EMBEDDINGS_MODEL_NAMES: readonly ["text-embedding-3-small", "text-embedding-3-large", "text-embedding-ada-002"];
12
12
  /** The supported AI image generation model names. */
@@ -133,6 +133,8 @@ export interface AiChatbotChatOptions {
133
133
  overrideModel?: AiChatModelName;
134
134
  /** File URLs (only images supported at the moment). */
135
135
  fileUrls?: Array<AiFileUrl>;
136
+ /** Constrains effort on reasoning for reasoning models. o1 models only. */
137
+ reasoningEffort?: 'low' | 'medium' | 'high';
136
138
  /** Global context passed to the agent and all AI functions of the agent. */
137
139
  agentContext?: Record<string, unknown>;
138
140
  /**
@@ -26,6 +26,6 @@ export type AiChatbotContextMetadata = {
26
26
  preview: boolean;
27
27
  sizeBytes?: number;
28
28
  };
29
- export type MutableAiChatbotProfileMetadataFieldsType = keyof Pick<AiChatbotProfileMetadata, 'modelName' | 'isPublic' | 'functions' | 'connectedProfiles'>;
29
+ export type MutableAiChatbotProfileMetadataFieldsType = keyof Pick<AiChatbotProfileMetadata, 'modelName' | 'isPublic' | 'functions' | 'connectedProfiles' | 'auditLog'>;
30
30
  /** List of fields that can be updated in runtime via API. */
31
31
  export declare const MUTABLE_AI_CHATBOT_PROFILE_METADATA_FIELDS: Array<MutableAiChatbotProfileMetadataFieldsType>;
@@ -10,6 +10,8 @@ export interface AiChatOptions {
10
10
  instructions: Array<string>;
11
11
  clientId: string;
12
12
  fileUrls: Array<AiFileUrl>;
13
+ /** Constrains effort on reasoning for reasoning models. o1 models only. */
14
+ reasoningEffort?: 'low' | 'medium' | 'high';
13
15
  /** Current AI profile ID (AI agent ID). */
14
16
  agentId?: AiAgentId;
15
17
  /** Global per-agent context passed to all AI functions. Must be a serializable JSON. */
@@ -1 +1 @@
1
- export declare const SQUIDCLOUD_CLIENT_PACKAGE_VERSION = "1.0.301";
1
+ export declare const SQUIDCLOUD_CLIENT_PACKAGE_VERSION = "1.0.302";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@squidcloud/client",
3
- "version": "1.0.301",
3
+ "version": "1.0.302",
4
4
  "description": "A typescript implementation of the Squid client",
5
5
  "main": "dist/cjs/index.js",
6
6
  "types": "dist/typescript-client/src/index.d.ts",