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

alexstocks pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/dubbo-go-samples.git


The following commit(s) were added to refs/heads/main by this push:
     new 4f9f11e7 Fix: Change NACOS_URL from nacos://localhost:8848 to 
localhost:8848 to avoid metadata report nil pointer dereference bug (#1011)
4f9f11e7 is described below

commit 4f9f11e7444d8660bf6599ba816df115c30653bc
Author: CAICAII <[email protected]>
AuthorDate: Tue Jan 6 19:32:40 2026 +0800

    Fix: Change NACOS_URL from nacos://localhost:8848 to localhost:8848 to 
avoid metadata report nil pointer dereference bug (#1011)
---
 llm/.env.example | 2 +-
 llm/README.md    | 8 ++++----
 llm/README_zh.md | 8 ++++----
 3 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/llm/.env.example b/llm/.env.example
index 0bbced35..ad75c142 100644
--- a/llm/.env.example
+++ b/llm/.env.example
@@ -27,7 +27,7 @@ OLLAMA_URL = http://localhost:11434
 # Server Configuration
 MODEL_NAME = llava:7b
 SERVER_PORT = 20020
-NACOS_URL = nacos://localhost:8848
+NACOS_URL = localhost:8848
 TIME_OUT_SECOND = 300
 MAX_CONTEXT_COUNT = 3
 
diff --git a/llm/README.md b/llm/README.md
index 29f931a4..f811a671 100644
--- a/llm/README.md
+++ b/llm/README.md
@@ -97,7 +97,7 @@ LLM_PROVIDER = ollama
 LLM_MODELS = llava:7b, qwen2.5:7b
 LLM_BASE_URL = http://localhost:11434
 MODEL_NAME = llava:7b
-NACOS_URL = nacos://localhost:8848
+NACOS_URL = localhost:8848
 TIME_OUT_SECOND = 300
 MAX_CONTEXT_COUNT = 3
 ```
@@ -109,7 +109,7 @@ LLM_MODELS = gpt-4, gpt-3.5-turbo
 LLM_BASE_URL = https://api.openai.com/v1
 LLM_API_KEY = your-openai-api-key
 MODEL_NAME = gpt-4
-NACOS_URL = nacos://localhost:8848
+NACOS_URL = localhost:8848
 TIME_OUT_SECOND = 300
 MAX_CONTEXT_COUNT = 3
 ```
@@ -121,7 +121,7 @@ LLM_MODELS = claude-3-sonnet-20240229, 
claude-3-haiku-20240307
 LLM_BASE_URL = https://api.anthropic.com/v1
 LLM_API_KEY = your-anthropic-api-key
 MODEL_NAME = claude-3-sonnet-20240229
-NACOS_URL = nacos://localhost:8848
+NACOS_URL = localhost:8848
 TIME_OUT_SECOND = 300
 MAX_CONTEXT_COUNT = 3
 ```
@@ -133,7 +133,7 @@ LLM_MODELS = gpt-4, gpt-35-turbo
 LLM_BASE_URL = 
https://your-resource.openai.azure.com/openai/deployments/your-deployment
 LLM_API_KEY = your-azure-openai-api-key
 MODEL_NAME = gpt-4
-NACOS_URL = nacos://localhost:8848
+NACOS_URL = localhost:8848
 TIME_OUT_SECOND = 300
 MAX_CONTEXT_COUNT = 3
 ```
diff --git a/llm/README_zh.md b/llm/README_zh.md
index 97513533..4f799c80 100644
--- a/llm/README_zh.md
+++ b/llm/README_zh.md
@@ -96,7 +96,7 @@ LLM_PROVIDER = ollama
 LLM_MODELS = llava:7b, qwen2.5:7b
 LLM_BASE_URL = http://localhost:11434
 MODEL_NAME = llava:7b
-NACOS_URL = nacos://localhost:8848
+NACOS_URL = localhost:8848
 TIME_OUT_SECOND = 300
 MAX_CONTEXT_COUNT = 3
 ```
@@ -108,7 +108,7 @@ LLM_MODELS = gpt-4, gpt-3.5-turbo
 LLM_BASE_URL = https://api.openai.com/v1
 LLM_API_KEY = your-openai-api-key
 MODEL_NAME = gpt-4
-NACOS_URL = nacos://localhost:8848
+NACOS_URL = localhost:8848
 TIME_OUT_SECOND = 300
 MAX_CONTEXT_COUNT = 3
 ```
@@ -120,7 +120,7 @@ LLM_MODELS = claude-3-sonnet-20240229, 
claude-3-haiku-20240307
 LLM_BASE_URL = https://api.anthropic.com/v1
 LLM_API_KEY = your-anthropic-api-key
 MODEL_NAME = claude-3-sonnet-20240229
-NACOS_URL = nacos://localhost:8848
+NACOS_URL = localhost:8848
 TIME_OUT_SECOND = 300
 MAX_CONTEXT_COUNT = 3
 ```
@@ -132,7 +132,7 @@ LLM_MODELS = gpt-4, gpt-35-turbo
 LLM_BASE_URL = 
https://your-resource.openai.azure.com/openai/deployments/your-deployment
 LLM_API_KEY = your-azure-openai-api-key
 MODEL_NAME = gpt-4
-NACOS_URL = nacos://localhost:8848
+NACOS_URL = localhost:8848
 TIME_OUT_SECOND = 300
 MAX_CONTEXT_COUNT = 3
 ```

Reply via email to