Skip to content

Commit 44d5ff5

Browse files
committed
deploy
1 parent 24e2533 commit 44d5ff5

File tree

6 files changed

+28
-20
lines changed

6 files changed

+28
-20
lines changed

api/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<groupId>top.bella</groupId>
88
<artifactId>openai-java</artifactId>
9-
<version>0.23.1</version>
9+
<version>0.23.2</version>
1010
</parent>
1111
<packaging>jar</packaging>
1212
<artifactId>openai-api</artifactId>

api/src/main/java/com/theokanning/openai/completion/chat/ChatCompletionRequest.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,4 +182,11 @@ public class ChatCompletionRequest {
182182
* Parameters for audio output. Required when audio output is requested with modalities: ["audio"].
183183
*/
184184
Audio audio;
185+
186+
/**
187+
* Constrains effort on reasoning for reasoning models. Currently supported values are low, medium, and high.
188+
* Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
189+
*/
190+
@JsonProperty("reasoning_effort")
191+
private String reasoningEffort;
185192
}

client/pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<groupId>top.bella</groupId>
88
<artifactId>openai-java</artifactId>
9-
<version>0.23.1</version>
9+
<version>0.23.2</version>
1010
</parent>
1111
<packaging>jar</packaging>
1212

@@ -18,8 +18,8 @@
1818
<dependencies>
1919
<!-- API Module Dependency -->
2020
<dependency>
21-
<groupId>io.github.bella-top</groupId>
22-
<artifactId>api</artifactId>
21+
<groupId>top.bella</groupId>
22+
<artifactId>openai-api</artifactId>
2323
<version>${project.version}</version>
2424
</dependency>
2525
<dependency>

example/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>io.github.ke</groupId>
88
<artifactId>example</artifactId>
9-
<version>0.23.1</version>
9+
<version>0.23.2</version>
1010
<name>example</name>
1111

1212
<properties>
@@ -17,7 +17,7 @@
1717
<dependency>
1818
<groupId>io.github.ke</groupId>
1919
<artifactId>service</artifactId>
20-
<version>0.23.1</version>
20+
<version>0.23.2</version>
2121
</dependency>
2222

2323
</dependencies>

pom.xml

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
<groupId>top.bella</groupId>
77
<artifactId>openai-java</artifactId>
8-
<version>0.23.1</version>
8+
<version>0.23.2</version>
99
<packaging>pom</packaging>
1010
<description>openai java 版本</description>
1111
<name>openai-java</name>
@@ -34,18 +34,6 @@
3434
<url>https://github.com/bella-top/bella-opai4j/tree/main</url>
3535
</scm>
3636

37-
<distributionManagement>
38-
<repository>
39-
<id>central</id>
40-
<name>Central Repository</name>
41-
<url>https://central.sonatype.com/maven/v1</url>
42-
</repository>
43-
<snapshotRepository>
44-
<id>central</id>
45-
<name>Central Repository</name>
46-
<url>https://central.sonatype.com/maven/v1</url>
47-
</snapshotRepository>
48-
</distributionManagement>
4937

5038
<properties>
5139
<java.version>1.8</java.version>
@@ -81,6 +69,19 @@
8169
</dependency>
8270
</dependencies>
8371

72+
<build>
73+
<plugins>
74+
<!-- 禁用默认maven-deploy-plugin -->
75+
<plugin>
76+
<groupId>org.apache.maven.plugins</groupId>
77+
<artifactId>maven-deploy-plugin</artifactId>
78+
<version>3.1.1</version>
79+
<configuration>
80+
<skip>true</skip>
81+
</configuration>
82+
</plugin>
83+
</plugins>
84+
</build>
8485

8586
<profiles>
8687
<profile>

service/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<groupId>top.bella</groupId>
88
<artifactId>openai-java</artifactId>
9-
<version>0.23.1</version>
9+
<version>0.23.2</version>
1010
</parent>
1111
<packaging>jar</packaging>
1212

0 commit comments

Comments
 (0)