Skip to content

Release v7.112.0

Choose a tag to compare

@github-actions github-actions released this 25 Oct 07:49
6c759a0

Added

  • WithAgents<TAgents>(ServiceLifetime) registers an agent source with an explicit lifetime. Pass ServiceLifetime.Scoped when your IAIAgents reads tenant-scoped data such as Chronicle read models, so each request resolves agents for its own tenant. WithAgents<TAgents>() keeps registering a singleton. (#902)

Changed

  • IAgentExecution is now registered as transient, so it uses the caller's scope. With a scoped agent source, services that depend on IAgentExecution, IAIChatClients or a managed language model must be scoped or transient themselves. (#902)