Skip to content

Commit e386a47

Browse files
committed
Cleanup changelog
1 parent 8178738 commit e386a47

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

CHANGELOG.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,14 +49,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
4949

5050
### Deprecations
5151

52-
* `ui.panel_well()` is deprecated in favor of `ui.card()`. (#2038)
52+
* `ui.panel_well()` was deprecated in favor of `ui.card()`. (#2038)
5353

5454
* Numerous `ui.Chat()` features have been deprecated in preparation for future removal to simplify the API (#2050)
55-
* The `messages` parameter in the `Chat()` constructor is deprecated. Pass initial messages to the `.ui(messages=...)` method instead.
56-
* The `tokenizer` parameter in the `Chat()` constructor is deprecated. Token counting and message trimming features will eventually be removed.
57-
* The `format`, `token_limits`, `transform_user`, and `transform_assistant` parameters in the `.messages()` method are deprecated. Provider-specific formatting and message transformation features will eventually be removed.
58-
* The `.transform_user_input()` and `.transform_assistant_response()` methods are deprecated. Message transformation features will eventually be removed.
59-
* The `transform` parameter in the `.user_input()` method is deprecated. User input transformation features will eventually be removed.
55+
* `Chat(messages=)` was deprecated. Use `chat.ui(messages=)` instead.
56+
* `Chat(tokenizer=)` was deprecated. This was only relevant for `.messages(token_limits=[])` which is also now deprecated.
57+
* All parameters to `.messages()` were deprecated. This reflects an overall change philosophy for maintaining the conversation history sent to the LLM -- `Chat` should no longer be responsible for maintaining it -- another stateful object (perhaps the one provided by chatlas, LangChain, etc.) should be used instead. That said, `.messages()` is still useful if you want to access UI message state.
58+
* The `.transform_user_input` and `.transform_assistant_response` decorators were deprecated. Instead, transformations should be done manually.
59+
* As a result of the previous deprecations, the `transform` parameter in the `.user_input()` method was also deprecated.
6060

6161

6262
## [1.4.0] - 2025-04-08

0 commit comments

Comments
 (0)