File tree Expand file tree Collapse file tree
core/src/main/java/ai/z/openapi/core/token Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ Add the following dependency to your `pom.xml`:
3030<dependency >
3131 <groupId >ai.z.openapi</groupId >
3232 <artifactId >zai-sdk</artifactId >
33- <version >0.0.3 </version >
33+ <version >0.0.4 </version >
3434</dependency >
3535```
3636
@@ -39,7 +39,7 @@ Add the following dependency to your `build.gradle` (for Groovy DSL):
3939
4040``` groovy
4141dependencies {
42- implementation 'ai.z.openapi:zai-sdk:0.0.3 '
42+ implementation 'ai.z.openapi:zai-sdk:0.0.4 '
4343}
4444```
4545
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ Z.ai AI 平台官方 Java SDK,提供统一接口访问强大的AI能力,包
3030<dependency >
3131 <groupId >ai.z.openapi</groupId >
3232 <artifactId >zai-sdk</artifactId >
33- <version >0.0.3 </version >
33+ <version >0.0.4 </version >
3434</dependency >
3535```
3636
@@ -39,7 +39,7 @@ Z.ai AI 平台官方 Java SDK,提供统一接口访问强大的AI能力,包
3939
4040``` groovy
4141dependencies {
42- implementation 'ai.z.openapi:zai-sdk:0.0.3 '
42+ implementation 'ai.z.openapi:zai-sdk:0.0.4 '
4343}
4444```
4545
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ public Response intercept(Chain chain) throws IOException {
4040 .newBuilder ()
4141 .header ("Authorization" , "Bearer " + accessToken )
4242 .header ("x-source-channel" , source_channel )
43- .header ("Zai-SDK-Ver" , "0.0.3 " )
43+ .header ("Zai-SDK-Ver" , "0.0.4 " )
4444 .header ("Accept-Language" , "en-US,en" );
4545 if (Objects .nonNull (config .getCustomHeaders ())) {
4646 for (Map .Entry <String , String > entry : config .getCustomHeaders ().entrySet ()) {
Original file line number Diff line number Diff line change 4545 </scm >
4646
4747 <properties >
48- <revision >0.0.3 </revision >
48+ <revision >0.0.4 </revision >
4949 <java .version>8</java .version>
5050 <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
5151 <project .reporting.outputEncoding>UTF-8</project .reporting.outputEncoding>
You can’t perform that action at this time.
0 commit comments