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.3.0 </version >
33+ <version >0.3.3 </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.3.0 '
42+ implementation 'ai.z.openapi:zai-sdk:0.3.3 '
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.3.0 </version >
33+ <version >0.3.3 </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.3.0 '
42+ implementation 'ai.z.openapi:zai-sdk:0.3.3 '
4343}
4444```
4545
Original file line number Diff line number Diff line change @@ -40,8 +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.1.0" )
44- .header ("Accept-Language" , "en-US,en" );
43+ .header ("Zai-SDK-Ver" , "0.3.3" );
4544 if (Objects .nonNull (config .getCustomHeaders ())) {
4645 for (Map .Entry <String , String > entry : config .getCustomHeaders ().entrySet ()) {
4746 request .addHeader (entry .getKey (), entry .getValue ());
Original file line number Diff line number Diff line change 4545 </scm >
4646
4747 <properties >
48- <revision >0.3.3 </revision >
48+ <revision >0.3.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