Skip to content

Commit

Permalink
Fixing Javadoc issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Sashir Estela committed Apr 19, 2024
1 parent 7ff33f1 commit 64cabcb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main/java/io/github/sashirestela/openai/OpenAIBeta.java
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,7 @@ default CompletableFuture<Thread> create() {
/**
* Modifies a thread.
*
* @param threadId The ID of the thread to modify.
* @param threadRequest The thread request.
* @return the created thread object
*/
Expand Down Expand Up @@ -278,6 +279,7 @@ default CompletableFuture<Page<ThreadMessage>> getMessageList(String threadId) {
*
* @param threadId The ID of the thread the messages belong to.
* @param page The requested result page.
* @param runId Filter messages by the run ID that generated them.
* @return The list of message objects.
*/
@GET("/{threadId}/messages")
Expand Down Expand Up @@ -393,6 +395,7 @@ CompletableFuture<Stream<Event>> createRunStreamRoot(@Path("threadId") String th
*
* @param threadId The ID of the thread that was run.
* @param runId The ID of the run to modify.
* @param request The requested run.
* @return The modified run object matching the specified ID.
*/
@POST("/{threadId}/runs/{runId}")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,8 @@ public class AssistantRequest {
@Size(max = 16)
private Map<String, String> metadata;

// Required to avoid Javadoc error.
public static class AssistantRequestBuilder {
}

}

0 comments on commit 64cabcb

Please sign in to comment.