chore: new release version (#50)

This commit is contained in:
Tom 2025-09-10 11:29:57 +08:00 committed by GitHub
parent 69bd064243
commit a0cfa07adc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 5 additions and 5 deletions

View file

@ -30,7 +30,7 @@ Add the following dependency to your `pom.xml`:
<dependency> <dependency>
<groupId>ai.z.openapi</groupId> <groupId>ai.z.openapi</groupId>
<artifactId>zai-sdk</artifactId> <artifactId>zai-sdk</artifactId>
<version>0.0.4</version> <version>0.0.5</version>
</dependency> </dependency>
``` ```
@ -39,7 +39,7 @@ Add the following dependency to your `build.gradle` (for Groovy DSL):
```groovy ```groovy
dependencies { dependencies {
implementation 'ai.z.openapi:zai-sdk:0.0.4' implementation 'ai.z.openapi:zai-sdk:0.0.5'
} }
``` ```

View file

@ -30,7 +30,7 @@ Z.ai AI 平台官方 Java SDK提供统一接口访问强大的AI能力
<dependency> <dependency>
<groupId>ai.z.openapi</groupId> <groupId>ai.z.openapi</groupId>
<artifactId>zai-sdk</artifactId> <artifactId>zai-sdk</artifactId>
<version>0.0.4</version> <version>0.0.5</version>
</dependency> </dependency>
``` ```
@ -39,7 +39,7 @@ Z.ai AI 平台官方 Java SDK提供统一接口访问强大的AI能力
```groovy ```groovy
dependencies { dependencies {
implementation 'ai.z.openapi:zai-sdk:0.0.4' implementation 'ai.z.openapi:zai-sdk:0.0.5'
} }
``` ```

View file

@ -40,7 +40,7 @@ public class HttpRequestInterceptor implements Interceptor {
.newBuilder() .newBuilder()
.header("Authorization", "Bearer " + accessToken) .header("Authorization", "Bearer " + accessToken)
.header("x-source-channel", source_channel) .header("x-source-channel", source_channel)
.header("Zai-SDK-Ver", "0.0.4") .header("Zai-SDK-Ver", "0.0.5")
.header("Accept-Language", "en-US,en"); .header("Accept-Language", "en-US,en");
if (Objects.nonNull(config.getCustomHeaders())) { if (Objects.nonNull(config.getCustomHeaders())) {
for (Map.Entry<String, String> entry : config.getCustomHeaders().entrySet()) { for (Map.Entry<String, String> entry : config.getCustomHeaders().entrySet()) {