This is an automated email from the ASF dual-hosted git repository.
xtsong pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/flink-agents.git
from ba703da Refactor the resource cross-language test to a cross-language
test in CI. (#386)
new c11f79a [api][runtime] Add return value for add and improve
summarization prompt.
new 35ab4f2 [api][runtime] Support use long-term memory in action and
async compaction.
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.../api/configuration/AgentConfigOptions.java | 4 +
python/flink_agents/api/core_options.py | 11 +-
python/flink_agents/api/memory/long_term_memory.py | 37 ++-
python/flink_agents/api/runner_context.py | 22 +-
.../e2e_tests/long_term_memory_test.py | 302 +++++++++++++++++++++
.../flink_agents/runtime/flink_runner_context.py | 82 +++++-
python/flink_agents/runtime/local_runner.py | 25 +-
.../runtime/memory/compaction_functions.py | 10 +-
.../memory/vector_store_long_term_memory.py | 35 ++-
.../runtime/operator/ActionExecutionOperator.java | 21 +-
.../flink/agents/runtime/operator/StateUtils.java | 74 +++++
.../runtime/python/operator/PythonActionTask.java | 5 +-
.../runtime/python/utils/PythonActionExecutor.java | 14 +-
13 files changed, 607 insertions(+), 35 deletions(-)
create mode 100644 python/flink_agents/e2e_tests/long_term_memory_test.py
create mode 100644
runtime/src/main/java/org/apache/flink/agents/runtime/operator/StateUtils.java