chore: update version (#70)

This commit is contained in:
Tomsun28 2025-12-24 17:43:30 +08:00 committed by GitHub
parent 738820b787
commit 82bead2e4f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 6 additions and 8 deletions

View file

@ -30,7 +30,7 @@ Add the following dependency to your `pom.xml`:
<dependency>
<groupId>ai.z.openapi</groupId>
<artifactId>zai-sdk</artifactId>
<version>0.1.3</version>
<version>0.3.0</version>
</dependency>
```
@ -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'
}
```

View file

@ -30,7 +30,7 @@ Z.ai AI 平台官方 Java SDK提供统一接口访问强大的AI能力
<dependency>
<groupId>ai.z.openapi</groupId>
<artifactId>zai-sdk</artifactId>
<version>0.1.3</version>
<version>0.3.0</version>
</dependency>
```
@ -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'
}
```

View file

@ -161,9 +161,7 @@ public class ZaiConfig {
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);
}
/**

View file

@ -45,7 +45,7 @@
</scm>
<properties>
<revision>0.2.0</revision>
<revision>0.3.0</revision>
<java.version>8</java.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>