Skip to content

v0.33.0

Latest

Choose a tag to compare

@github-actions github-actions released this 19 Oct 00:32

Removed

  • Breaking: the session tracker and injector are gone — the conversation history is the caller's. IContextTracker,
    InMemoryContextTracker, IContextInjector, DefaultContextInjector, ContextTrackerOptions, ContextInjectorOptions,
    ConversationTurn, ConversationContext, AddIndexThinkingContext(…), ThinkingChatClientOptions.EnableContextTracking /
    EnableContextInjection, the tracker/injector parameters of the ThinkingChatClient constructor and of
    UseIndexThinking(turnManager, …), and the ChatAsync(sessionId, message) / SendAsync(sessionId, message) helpers are
    removed. A session id (WithSession, IndexThinking.SessionId) still keys the thinking state store and the metrics.
    Migration: send the history you want the model to see (fit it with ContextBudgetChatReducer); delete
    AddIndexThinkingContext() and any EnableContextTracking / EnableContextInjection assignment; replace
    client.ChatAsync(id, text) with client.GetResponseAsync(history, ThinkingChatClientExtensions.WithSession(id)); pass the
    meter, modifier registry and token counter to the constructor by name.