You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Per-generation context via ContextFn — Agent.context now accepts a function (params: ContextParams) => string | Promise<string> in addition to a static string. Called each time the agent is invoked with the triggering prompt and available conversation context (conversationId, participants, turn, annotations). Works in Agent.run(), direct conversation generations, and delegated sub-generations. ContextFn and ContextParams exported from @moureau/pipeflow.
Conversation annotations — conversation.annotations (Annotations instance) is a scoped key-value store for ephemeral app state. Values are rendered as system messages before every generation. API: .set(key, value), .set({...}), .delete(key), .clear(), .entries (live ReadonlyMap), .size. Accessible from ContextFn via params.annotations. Exported from @moureau/pipeflow.