@axiom-lattice/react-sdk 2.1.59 → 2.1.60

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/index.d.mts CHANGED
@@ -417,6 +417,7 @@ declare function useAgentChat<T extends UseChatOptions>(options?: T): ChatStateW
417
417
  customRunConfig: Record<string, any>;
418
418
  updateCustomRunConfig: (config: Record<string, any>) => void;
419
419
  removePendingMessage: (messageId: string) => Promise<boolean>;
420
+ abortAgent: () => Promise<void>;
420
421
  };
421
422
 
422
423
  /**
@@ -512,6 +513,7 @@ interface AgentThreadContextValue<T extends UseChatOptions> {
512
513
  customRunConfig: Record<string, any>;
513
514
  updateCustomRunConfig: (config: Record<string, any>) => void;
514
515
  removePendingMessage: (messageId: string) => Promise<boolean>;
516
+ abortAgent: () => Promise<void>;
515
517
  }
516
518
  /**
517
519
  * Props for AgentThreadProvider
@@ -1165,6 +1167,7 @@ interface MiddlewareConfigSchemaProperty {
1165
1167
  description?: string;
1166
1168
  default?: any;
1167
1169
  enum?: string[];
1170
+ enumLabels?: Record<string, string>;
1168
1171
  minimum?: number;
1169
1172
  maximum?: number;
1170
1173
  minLength?: number;
package/dist/index.d.ts CHANGED
@@ -417,6 +417,7 @@ declare function useAgentChat<T extends UseChatOptions>(options?: T): ChatStateW
417
417
  customRunConfig: Record<string, any>;
418
418
  updateCustomRunConfig: (config: Record<string, any>) => void;
419
419
  removePendingMessage: (messageId: string) => Promise<boolean>;
420
+ abortAgent: () => Promise<void>;
420
421
  };
421
422
 
422
423
  /**
@@ -512,6 +513,7 @@ interface AgentThreadContextValue<T extends UseChatOptions> {
512
513
  customRunConfig: Record<string, any>;
513
514
  updateCustomRunConfig: (config: Record<string, any>) => void;
514
515
  removePendingMessage: (messageId: string) => Promise<boolean>;
516
+ abortAgent: () => Promise<void>;
515
517
  }
516
518
  /**
517
519
  * Props for AgentThreadProvider
@@ -1165,6 +1167,7 @@ interface MiddlewareConfigSchemaProperty {
1165
1167
  description?: string;
1166
1168
  default?: any;
1167
1169
  enum?: string[];
1170
+ enumLabels?: Record<string, string>;
1168
1171
  minimum?: number;
1169
1172
  maximum?: number;
1170
1173
  minLength?: number;