chore: update version (#70)
This commit is contained in:
parent
738820b787
commit
82bead2e4f
4 changed files with 6 additions and 8 deletions
|
|
@ -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'
|
||||
}
|
||||
```
|
||||
|
||||
|
|
|
|||
|
|
@ -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'
|
||||
}
|
||||
```
|
||||
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
2
pom.xml
2
pom.xml
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in a new issue