chore: release new version 0.0.4 (#43)
This commit is contained in:
parent
ce66a0142c
commit
ee193ce9b8
4 changed files with 6 additions and 6 deletions
|
|
@ -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.3</version>
|
<version>0.0.4</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.3'
|
implementation 'ai.z.openapi:zai-sdk:0.0.4'
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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.3</version>
|
<version>0.0.4</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.3'
|
implementation 'ai.z.openapi:zai-sdk:0.0.4'
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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.3")
|
.header("Zai-SDK-Ver", "0.0.4")
|
||||||
.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()) {
|
||||||
|
|
|
||||||
2
pom.xml
2
pom.xml
|
|
@ -45,7 +45,7 @@
|
||||||
</scm>
|
</scm>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<revision>0.0.3</revision>
|
<revision>0.0.4</revision>
|
||||||
<java.version>8</java.version>
|
<java.version>8</java.version>
|
||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue