embabel-agent icon indicating copy to clipboard operation
embabel-agent copied to clipboard

AgentProcessChatBot Budget Configuration

Open stefanks-px opened this issue 7 months ago • 1 comments

Context We use the AgentProcessChatbot for our Agentic Chat implementation.

Problem We want to configure the ProcessOption Budget, which by default is used to create EarlyTerminationPolicy, because long conversations might exceed the default limits.

Solution

  • Allow passing of ProcessOptions or Budget in AgentProcessChatbot.createSession
  • Allow configuration of defaults for Budget e.g. using configuration properties

In our concrete scenario, each of the proposed solutions would be sufficient. Introducing properties for the default Budget would probably be harder to implement, as ProcessOptions and Budget are Pojos.

stefanks-px avatar Apr 22 '26 15:04 stefanks-px

See https://github.com/embabel/embabel-agent/pull/1624 for a possible implementation. I didn't know whether you required backwards compatibility of the API in this stage of the project.

stefanks-px avatar Apr 23 '26 09:04 stefanks-px