This is an automated email from the ASF dual-hosted git repository.
wenjin272 pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/flink-agents.git
The following commit(s) were added to refs/heads/main by this push:
new 7a8a9517 [docs] Fix two Python snippets that do not run and an
inaccurate schema parity claim (#972)
7a8a9517 is described below
commit 7a8a9517f8b2608624bf67de51538ab70fe948ea
Author: Weiqing Yang <[email protected]>
AuthorDate: Sat Aug 8 09:04:03 2026 -0700
[docs] Fix two Python snippets that do not run and an inaccurate schema
parity claim (#972)
Generated-by: Claude Code 2.1.223
---
docs/content/docs/development/tool_use.md | 2 +-
docs/content/docs/development/yaml.md | 2 +-
docs/content/docs/operations/configuration.md | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/docs/content/docs/development/tool_use.md
b/docs/content/docs/development/tool_use.md
index 6dee1c22..730df1de 100644
--- a/docs/content/docs/development/tool_use.md
+++ b/docs/content/docs/development/tool_use.md
@@ -189,7 +189,7 @@ The model only sees and provides normal tool parameters.
The injected parameters
{{< tab "Python" >}}
```python
-from flink_agents.api.agents import Agent
+from flink_agents.api.agents.agent import Agent
from flink_agents.api.decorators import tool
from flink_agents.api.tools import InjectedArg
diff --git a/docs/content/docs/development/yaml.md
b/docs/content/docs/development/yaml.md
index fa53551e..b0521978 100644
--- a/docs/content/docs/development/yaml.md
+++ b/docs/content/docs/development/yaml.md
@@ -644,7 +644,7 @@ python -m flink_agents.api.yaml.specs >
docs/yaml-schema.json
Continuous tests then verify cross-runtime consistency:
- the JSON Schema exported by the Pydantic specs matches the checked-in
`docs/yaml-schema.json`;
-- the JSON Schema exported by the Java POJOs matches the checked-in
`docs/yaml-schema.json`;
+- the Java POJOs match the checked-in `docs/yaml-schema.json` in property
names, required fields, and `additionalProperties` strictness;
- the Pydantic specs stay aligned with the Python `Agent` API;
- the Java POJOs stay aligned with the Java `Agent` API.
diff --git a/docs/content/docs/operations/configuration.md
b/docs/content/docs/operations/configuration.md
index 6622d94a..2dc17981 100644
--- a/docs/content/docs/operations/configuration.md
+++ b/docs/content/docs/operations/configuration.md
@@ -48,7 +48,7 @@ env = StreamExecutionEnvironment.get_execution_environment()
agents_env = AgentsExecutionEnvironment.get_execution_environment(env)
# Get configuration object from the environment
-config = agents_env.get_configuration()
+config = agents_env.get_config()
# Set custom configuration using a direct key (string-based key)
# This is suitable for user-defined or non-standardized settings.