This is an automated email from the ASF dual-hosted git repository.

sxnan pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/flink-agents.git


    from 4452abeb [api][runtime] Clean up resource when close. (#428)
     new 15b19760 [runtime] Introduce CallRecord to ActionState
     new b5338b4d [api] Introduce execute to runner_context.py
     new 53d76a75 [runtime] Implement CallRecord persistent and restore

The 3 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:
 python/flink_agents/api/runner_context.py          |  70 ++++-
 .../e2e_tests_integration/execute_test.py          | 205 ++++++++++++++
 .../e2e_tests_integration/execute_test_agent.py    | 118 ++++++++
 .../flink_integration_agent.py                     |   2 +-
 .../e2e_tests/long_term_memory_test.py             |   4 +-
 .../resources/execute_test_input/input_data.txt    |   3 +
 .../resources/ground_truth/test_execute_basic.txt  |   3 +
 .../ground_truth/test_execute_multiple.txt         |   3 +
 .../ground_truth/test_execute_with_async.txt       |   3 +
 python/flink_agents/plan/function.py               |   2 +-
 .../flink_agents/runtime/flink_runner_context.py   | 287 ++++++++++++++++++-
 python/flink_agents/runtime/local_runner.py        |  25 +-
 .../runtime/tests/test_durable_execution.py        | 150 ++++++++++
 .../tests/test_local_execution_environment.py      |   2 +-
 .../runtime/tests/test_runner_context_execute.py   | 190 +++++++++++++
 .../agents/runtime/actionstate/ActionState.java    | 126 ++++++++-
 .../agents/runtime/actionstate/CallResult.java     | 176 ++++++++++++
 .../runtime/context/ActionStatePersister.java      |  40 +--
 .../agents/runtime/context/RunnerContextImpl.java  | 188 +++++++++++++
 .../runtime/operator/ActionExecutionOperator.java  | 101 ++++++-
 .../python/context/PythonRunnerContextImpl.java    |   1 +
 .../runtime/actionstate/ActionStateSerdeTest.java  | 117 +++++++-
 .../runtime/actionstate/ActionStateTest.java       | 310 +++++++++++++++++++++
 .../agents/runtime/actionstate/CallResultTest.java | 157 +++++++++++
 .../actionstate/KafkaActionStateStoreTest.java     |   7 +-
 .../context/DurableExecutionContextTest.java       | 206 ++++++++++++++
 26 files changed, 2438 insertions(+), 58 deletions(-)
 create mode 100644 
python/flink_agents/e2e_tests/e2e_tests_integration/execute_test.py
 create mode 100644 
python/flink_agents/e2e_tests/e2e_tests_integration/execute_test_agent.py
 create mode 100644 
python/flink_agents/e2e_tests/resources/execute_test_input/input_data.txt
 create mode 100644 
python/flink_agents/e2e_tests/resources/ground_truth/test_execute_basic.txt
 create mode 100644 
python/flink_agents/e2e_tests/resources/ground_truth/test_execute_multiple.txt
 create mode 100644 
python/flink_agents/e2e_tests/resources/ground_truth/test_execute_with_async.txt
 create mode 100644 python/flink_agents/runtime/tests/test_durable_execution.py
 create mode 100644 
python/flink_agents/runtime/tests/test_runner_context_execute.py
 create mode 100644 
runtime/src/main/java/org/apache/flink/agents/runtime/actionstate/CallResult.java
 copy 
api/src/main/java/org/apache/flink/agents/api/event/ChatResponseEvent.java => 
runtime/src/main/java/org/apache/flink/agents/runtime/context/ActionStatePersister.java
 (51%)
 create mode 100644 
runtime/src/test/java/org/apache/flink/agents/runtime/actionstate/ActionStateTest.java
 create mode 100644 
runtime/src/test/java/org/apache/flink/agents/runtime/actionstate/CallResultTest.java
 create mode 100644 
runtime/src/test/java/org/apache/flink/agents/runtime/context/DurableExecutionContextTest.java

Reply via email to