Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>top.bella</groupId>
<artifactId>openai-java</artifactId>
<version>0.23.39</version>
<version>0.23.40</version>
</parent>
<packaging>jar</packaging>
<artifactId>openai-api</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>top.bella</groupId>
<artifactId>openai-java</artifactId>
<version>0.23.39</version>
<version>0.23.40</version>
</parent>
<packaging>jar</packaging>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -380,22 +380,22 @@ public interface OpenAiApi {
Single<OpenAiResponse<Batch>> listBatches(@QueryMap Map<String, Object> filterRequest);

// Queue operations
@POST("v1/queue/register")
@POST("queue/register")
Single<String> registerQueue(@Body Register register);

@GET("v1/queue/eventbus")
@GET("queue/eventbus")
Single<EventbusConfig> getEventbus();

@POST("v1/queue/put")
@POST("queue/put")
Single<Object> putTask(@Body Put put);

@POST("v1/queue/take")
@POST("queue/take")
Single<Map<String, List<Task>>> takeTasks(@Body Take take);

@POST("v1/queue/{task_id}/cancel")
@POST("queue/{task_id}/cancel")
Single<String> cancelTask(@Path("task_id") String taskId);

@POST("v1/queue/{task_id}/complete")
@POST("queue/{task_id}/complete")
Single<String> completeTask(@Path("task_id") String taskId, @Body Map<String, Object> data);

}
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<groupId>top.bella</groupId>
<artifactId>openai-java</artifactId>
<version>0.23.39</version>
<version>0.23.40</version>
<packaging>pom</packaging>
<description>openai java 版本</description>
<name>openai-java</name>
Expand Down
2 changes: 1 addition & 1 deletion service/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>top.bella</groupId>
<artifactId>openai-java</artifactId>
<version>0.23.39</version>
<version>0.23.40</version>
</parent>
<packaging>jar</packaging>

Expand Down