Skip to content

Commit 64cabcb

Browse files
author
Sashir Estela
committed
Fixing Javadoc issues
1 parent 7ff33f1 commit 64cabcb

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

src/main/java/io/github/sashirestela/openai/OpenAIBeta.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,7 @@ default CompletableFuture<Thread> create() {
214214
/**
215215
* Modifies a thread.
216216
*
217+
* @param threadId The ID of the thread to modify.
217218
* @param threadRequest The thread request.
218219
* @return the created thread object
219220
*/
@@ -278,6 +279,7 @@ default CompletableFuture<Page<ThreadMessage>> getMessageList(String threadId) {
278279
*
279280
* @param threadId The ID of the thread the messages belong to.
280281
* @param page The requested result page.
282+
* @param runId Filter messages by the run ID that generated them.
281283
* @return The list of message objects.
282284
*/
283285
@GET("/{threadId}/messages")
@@ -393,6 +395,7 @@ CompletableFuture<Stream<Event>> createRunStreamRoot(@Path("threadId") String th
393395
*
394396
* @param threadId The ID of the thread that was run.
395397
* @param runId The ID of the run to modify.
398+
* @param request The requested run.
396399
* @return The modified run object matching the specified ID.
397400
*/
398401
@POST("/{threadId}/runs/{runId}")

src/main/java/io/github/sashirestela/openai/domain/assistant/AssistantRequest.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,8 @@ public class AssistantRequest {
4242
@Size(max = 16)
4343
private Map<String, String> metadata;
4444

45+
// Required to avoid Javadoc error.
46+
public static class AssistantRequestBuilder {
47+
}
48+
4549
}

0 commit comments

Comments
 (0)