@tangle-network/agent-app 3.0.26 → 3.0.28

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.
@@ -63,9 +63,9 @@ export declare function createDefaultChatBackend<TContext, TResource>(projectId:
63
63
  modelPolicy: ModelPolicy<import("../policy-filters/index.js").PolicyFilterContext> | undefined;
64
64
  modelFailover: false;
65
65
  errorNotice: boolean;
66
- openEvents: ({ model, signal }: {
66
+ openEvents: ({ signal }: {
67
67
  model: string;
68
68
  signal: AbortSignal;
69
- }) => AsyncGenerator<unknown, void, any>;
69
+ }) => AsyncGenerator<unknown, any, any>;
70
70
  }>;
71
71
  };
@@ -52,6 +52,7 @@ import {
52
52
  INTENT_LINE_MAX_CHARS,
53
53
  INTENT_LINE_TIMEOUT_MS,
54
54
  MAX_EMPTY_TURN_RETRIES,
55
+ MODEL_KEY_REFUSED_CODE,
55
56
  ModelFailoverTimeoutError,
56
57
  SPEAKER_EVENT,
57
58
  UPLOAD_INLINE_MAX_BYTES,
@@ -68,6 +69,7 @@ import {
68
69
  createUploadRoute,
69
70
  isCommittingSandboxEvent,
70
71
  isLiveLifecycleEvent,
72
+ modelKeyRefusedSentence,
71
73
  normalizeChatPromptForSandbox,
72
74
  observeTurnCancellation,
73
75
  projectDispatchHistory,
@@ -84,7 +86,7 @@ import {
84
86
  turnCarriesFiles,
85
87
  turnPromptText,
86
88
  withProducerStream
87
- } from "../chunk-IV2QLOA2.js";
89
+ } from "../chunk-4XFPMDIM.js";
88
90
  import "../chunk-SBHFMDR7.js";
89
91
  import "../chunk-H6BRJU5M.js";
90
92
  import "../chunk-4DBHC63F.js";
@@ -1944,6 +1946,7 @@ export {
1944
1946
  MAX_EMPTY_TURN_RETRIES,
1945
1947
  MAX_TEXT_ATTACHMENT_BYTES,
1946
1948
  MENTION_MAX_COUNT,
1949
+ MODEL_KEY_REFUSED_CODE,
1947
1950
  ModelFailoverTimeoutError,
1948
1951
  NATIVE_COMPLETION_RECEIPT_MAX_BYTES,
1949
1952
  OOXML_PRESENTATION_MACRO_ENABLED_MIME,
@@ -2012,6 +2015,7 @@ export {
2012
2015
  isTurnPhaseEvent,
2013
2016
  mediaTypeForMentionPath,
2014
2017
  mentionKindForPath,
2018
+ modelKeyRefusedSentence,
2015
2019
  normalizeChatPromptForSandbox,
2016
2020
  observeChatTurnStream,
2017
2021
  observeNativeCompletion,