Skip to content

Commit 237c3fe

Browse files
feat: add "is experimental" warning for SlidingImageWindowSummarizingTruncationStrategy
1 parent c1e643c commit 237c3fe

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

src/askui/models/shared/truncation_strategies.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -322,6 +322,13 @@ def __init__(
322322
self._debug_writer = None
323323
logger.exception("Could not add truncation debug writer")
324324

325+
logger.warning(
326+
"%s is experimental and may change, misbehave or crash "
327+
"without warning. For production use, prefer "
328+
"SummarizingTruncationStrategy.",
329+
type(self).__name__,
330+
)
331+
325332
@override
326333
def append_message(self, message: MessageParam) -> None:
327334
"""Append a message and apply image stripping,

0 commit comments

Comments
 (0)