diff --git a/README.md b/README.md
index e6f8c3e..8baa6cf 100644
--- a/README.md
+++ b/README.md
@@ -30,7 +30,7 @@ Add the following dependency to your `pom.xml`:
ai.z.openapi
zai-sdk
- 0.1.3
+ 0.3.0
```
@@ -39,7 +39,7 @@ Add the following dependency to your `build.gradle` (for Groovy DSL):
```groovy
dependencies {
- implementation 'ai.z.openapi:zai-sdk:0.1.3'
+ implementation 'ai.z.openapi:zai-sdk:0.3.0'
}
```
diff --git a/README_CN.md b/README_CN.md
index 2179c8b..e0404fc 100644
--- a/README_CN.md
+++ b/README_CN.md
@@ -30,7 +30,7 @@ Z.ai AI 平台官方 Java SDK,提供统一接口访问强大的AI能力,包
ai.z.openapi
zai-sdk
- 0.1.3
+ 0.3.0
```
@@ -39,7 +39,7 @@ Z.ai AI 平台官方 Java SDK,提供统一接口访问强大的AI能力,包
```groovy
dependencies {
- implementation 'ai.z.openapi:zai-sdk:0.1.3'
+ implementation 'ai.z.openapi:zai-sdk:0.3.0'
}
```
diff --git a/core/src/main/java/ai/z/openapi/core/config/ZaiConfig.java b/core/src/main/java/ai/z/openapi/core/config/ZaiConfig.java
index bad6fe7..bde6e02 100644
--- a/core/src/main/java/ai/z/openapi/core/config/ZaiConfig.java
+++ b/core/src/main/java/ai/z/openapi/core/config/ZaiConfig.java
@@ -161,9 +161,7 @@ public String getBaseUrl() {
if (baseUrl != null) {
return baseUrl;
}
- String propValue = System.getProperty(ENV_BASE_URL);
- propValue = propValue != null ? propValue : System.getenv(ENV_BASE_URL);
- return propValue != null ? propValue : Z_AI_BASE_URL;
+ return System.getProperty(ENV_BASE_URL);
}
/**
diff --git a/pom.xml b/pom.xml
index f9c0b72..b8abb15 100644
--- a/pom.xml
+++ b/pom.xml
@@ -45,7 +45,7 @@
- 0.2.0
+ 0.3.0
8
UTF-8
UTF-8