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

xtsong pushed a commit to branch release-0.2
in repository https://gitbox.apache.org/repos/asf/flink-agents.git

commit 40d200d8380b447d72abe86d2960ca5306222d40
Author: youjin <[email protected]>
AuthorDate: Tue Jan 27 09:28:59 2026 +0800

    [hotfix] Fix the incorrect format of example code
---
 docs/content/docs/development/chat_models.md   | 2 +-
 docs/content/docs/development/vector_stores.md | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/docs/content/docs/development/chat_models.md 
b/docs/content/docs/development/chat_models.md
index c7de39f3..739ccda3 100644
--- a/docs/content/docs/development/chat_models.md
+++ b/docs/content/docs/development/chat_models.md
@@ -914,7 +914,7 @@ class MyAgent(Agent):
         #     .build();
         return ResourceDescriptor(
             clazz=ResourceName.ChatModel.JAVA_WRAPPER_SETUP,
-               java_clazz=ResourceName.ChatModel.Java.OLLAMA_SETUP,
+            java_clazz=ResourceName.ChatModel.Java.OLLAMA_SETUP,
             connection="java_chat_model_connection",
             model="qwen3:8b",
             prompt="my_prompt",
diff --git a/docs/content/docs/development/vector_stores.md 
b/docs/content/docs/development/vector_stores.md
index 2940da18..dbf1e9b9 100644
--- a/docs/content/docs/development/vector_stores.md
+++ b/docs/content/docs/development/vector_stores.md
@@ -654,7 +654,7 @@ class MyAgent(Agent):
         #     .addInitialArgument("dims", 768)
         #     .build();
         return ResourceDescriptor(
-            
clazz=ResourceName.VectorStore.Java_WRAPPER_COLLECTION_MANAGEABLE_VECTOR_STORE,
+            
clazz=ResourceName.VectorStore.JAVA_WRAPPER_COLLECTION_MANAGEABLE_VECTOR_STORE,
             
java_clazz=ResourceName.VectorStore.Java.ELASTICSEARCH_VECTOR_STORE,
             embedding_model="my_embedding_model",
             host="http://localhost:9200";,

Reply via email to