diff --git a/src/main/java/io/github/sashirestela/openai/OpenAIBeta.java b/src/main/java/io/github/sashirestela/openai/OpenAIBeta.java index c225c276..4197a870 100644 --- a/src/main/java/io/github/sashirestela/openai/OpenAIBeta.java +++ b/src/main/java/io/github/sashirestela/openai/OpenAIBeta.java @@ -214,6 +214,7 @@ default CompletableFuture create() { /** * Modifies a thread. * + * @param threadId The ID of the thread to modify. * @param threadRequest The thread request. * @return the created thread object */ @@ -278,6 +279,7 @@ default CompletableFuture> 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") @@ -393,6 +395,7 @@ CompletableFuture> 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}") diff --git a/src/main/java/io/github/sashirestela/openai/domain/assistant/AssistantRequest.java b/src/main/java/io/github/sashirestela/openai/domain/assistant/AssistantRequest.java index a14d1d72..e98bda98 100644 --- a/src/main/java/io/github/sashirestela/openai/domain/assistant/AssistantRequest.java +++ b/src/main/java/io/github/sashirestela/openai/domain/assistant/AssistantRequest.java @@ -42,4 +42,8 @@ public class AssistantRequest { @Size(max = 16) private Map metadata; + // Required to avoid Javadoc error. + public static class AssistantRequestBuilder { + } + }