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 de10215 [runtime] Bump flink version to 1.20.3 (#218)
new 03c3e89 [hotfix] Append input messages to prompt.
new 545743c [api] Extract ResourceDescriptor abstraction.
new 82c275e [example] Add react agent quick start example and refactor
workflow agent example.
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:
.../docs/get-started/quickstart/workflow_agent.md | 4 +-
python/flink_agents/api/agent.py | 301 ++++-----------------
python/flink_agents/api/agents/react_agent.py | 52 ++--
python/flink_agents/api/chat_models/chat_model.py | 13 +-
python/flink_agents/api/execution_environment.py | 248 ++---------------
python/flink_agents/api/resource.py | 24 +-
python/flink_agents/api/tools/mcp.py | 4 +-
python/flink_agents/api/tools/tool.py | 22 +-
python/flink_agents/examples/chat_model_example.py | 77 +++---
.../integrate_table_with_react_agent_example.py | 18 +-
.../agents/custom_types_and_resources.py | 205 ++++++++++++++
.../quickstart/agents/product_suggestion_agent.py | 78 +-----
.../quickstart/agents/review_analysis_agent.py | 102 +++----
...t_review_analysis.py => react_agent_example.py} | 55 ++--
.../quickstart/resources/product_review.txt | 3 +
...stion.py => workflow_multiple_agent_example.py} | 13 +-
...nalysis.py => workflow_single_agent_example.py} | 14 +-
.../flink_agents/examples/react_agent_example.py | 16 +-
.../chat_models/anthropic/anthropic_chat_model.py | 4 +-
.../anthropic/tests/test_anthropic_chat_model.py | 2 +-
.../integrations/chat_models/ollama_chat_model.py | 4 +-
.../chat_models/openai/openai_chat_model.py | 4 +-
.../openai/tests/test_openai_chat_model.py | 2 +-
.../chat_models/tests/test_ollama_chat_model.py | 2 +-
.../chat_models/tests/test_tongyi_chat_model.py | 2 +-
.../integrations/chat_models/tongyi_chat_model.py | 4 +-
python/flink_agents/plan/agent_plan.py | 176 ++----------
python/flink_agents/plan/resource_provider.py | 14 +
.../python_agent_plan_compatibility_test_agent.py | 13 +-
.../plan/tests/resources/agent_plan.json | 5 -
python/flink_agents/plan/tests/test_agent_plan.py | 133 ++++-----
.../plan/tests/tools/test_function_tool.py | 2 +-
python/flink_agents/plan/tools/function_tool.py | 16 +-
.../runtime/tests/test_built_in_actions.py | 24 +-
.../runtime/tests/test_get_resource_in_action.py | 14 +-
35 files changed, 671 insertions(+), 999 deletions(-)
create mode 100644
python/flink_agents/examples/quickstart/agents/custom_types_and_resources.py
copy python/flink_agents/examples/quickstart/{product_review_analysis.py =>
react_agent_example.py} (58%)
rename python/flink_agents/examples/quickstart/{product_improve_suggestion.py
=> workflow_multiple_agent_example.py} (96%)
rename python/flink_agents/examples/quickstart/{product_review_analysis.py =>
workflow_single_agent_example.py} (93%)