Commit Graph

11 Commits

Author SHA1 Message Date
extio-de
103ff2cb40 chore: Bump version to 1.6.13 and refactor execute method in BaseAgent for improved split handling 2025-09-22 19:49:08 +02:00
extio-de
a417b95dda chore: Update version to 1.6.8 and enhance conversation handling in BaseAgent 2025-09-13 17:56:30 +02:00
extio-de
a176e6b6c4 refactor: Update modelCategory method to accept AgentContext and adjust related calls 2025-07-13 10:42:02 +02:00
extio-de
d9fae7eebd chore: Update version to 1.6.6 and refactor agentType method for context handling 2025-07-10 00:20:16 +02:00
extio-de
7cf067400b feat: Allow AgentContext update consumer in BaseAgent and add beforeStream to TextAgentResponseHandler
This commit introduces the following changes:

- **BaseAgent:** Added a mechanism to allow consumers to update the AgentContext after post-processing a split. This provides more flexibility for downstream components to react to the processed data.
- **TextAgentResponseHandler:** Introduced a `beforeStream` consumer that allows updating the AgentContext before the stream begins.  This enables pre-processing or initialization steps within the response handler.  The constructor has been updated to accept this new consumer.  Also fixed a bug where the chunkKey and updateKey were not being removed after processing.

These changes enhance the extensibility and configurability of the agent processing pipeline.
2025-07-02 21:45:44 +02:00
extio-de
9ca590a8d4 Implemented agent streaming 2025-06-28 16:55:26 +02:00
extio-de
dcd6eeee41 Refactor BaseAgent 2025-06-27 10:25:54 +02:00
extio-de
38138b177b Agent: Skip branching in case of empty template inputs; 2025-06-26 00:19:35 +02:00
extio-de
c3fd40f4a7 AgentNext.END constant and bump version to 1.5.6 2025-06-25 20:20:50 +02:00
extio-de
cf6b868d3c Update version to 1.5.4 and enhance BaseAgent's chooseNext method 2025-06-23 13:31:49 +02:00
extio-de
2378e8c758 Moved Agent implementation to BaseAgent interface 2025-06-23 09:09:24 +02:00