@squidcloud/client 1.0.380 → 1.0.381

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.
@@ -861,4 +861,24 @@ export interface ApplicationAiSettings {
861
861
  /** Maps AI provider name to API key secret name that must be used for any request made by the application. */
862
862
  apiKeys: Partial<Record<AiProviderType, SecretKey>>;
863
863
  }
864
+ /**
865
+ * Options for user-provided LLM models.
866
+ * @category AI
867
+ */
868
+ export interface UserAiChatOptions extends BaseAiChatOptions {
869
+ /** LLM Model to use for the chat query. */
870
+ model: UserAiChatModelName;
871
+ }
872
+ /**
873
+ * Response structure for asking a user LLM a question.
874
+ * @category AI
875
+ */
876
+ export interface UserAiAskResponse {
877
+ /** The response from the AI agent. */
878
+ response?: string;
879
+ /** The number of input tokens used in the request. */
880
+ inputTokens?: number;
881
+ /** The number of output tokens generated by the AI agent. */
882
+ outputTokens?: number;
883
+ }
864
884
  export {};
@@ -2,4 +2,4 @@
2
2
  * The current version of the SquidCloud client package.
3
3
  * @category Platform
4
4
  */
5
- export declare const SQUIDCLOUD_CLIENT_PACKAGE_VERSION = "1.0.380";
5
+ export declare const SQUIDCLOUD_CLIENT_PACKAGE_VERSION = "1.0.381";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@squidcloud/client",
3
- "version": "1.0.380",
3
+ "version": "1.0.381",
4
4
  "description": "A typescript implementation of the Squid client",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",