File tree Expand file tree Collapse file tree 6 files changed +28
-20
lines changed
src/main/java/com/theokanning/openai/completion/chat Expand file tree Collapse file tree 6 files changed +28
-20
lines changed Original file line number Diff line number Diff line change 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 >
Original file line number Diff line number Diff 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}
Original file line number Diff line number Diff line change 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
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 >
Original file line number Diff line number Diff line change 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 >
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 >
Original file line number Diff line number Diff line change 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 >
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>
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 >
Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments