File tree Expand file tree Collapse file tree
api/src/main/java/com/theokanning/openai Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -35,6 +35,6 @@ public class OpenAiResponse<T> {
3535 /**
3636 * True if there are objects after lastId
3737 */
38- @ JsonProperty ("hasMore " )
38+ @ JsonProperty ("has_more " )
3939 public boolean hasMore ;
4040}
Original file line number Diff line number Diff line change @@ -23,14 +23,12 @@ public class ThreadRequest {
2323 /**
2424 * A list of messages to start the thread with. Optional.
2525 */
26- @ JsonProperty ("messages" )
2726 List <MessageRequest > messages ;
2827
2928 /**
3029 * Set of 16 key-value pairs that can be attached to an object.
3130 * This can be useful for storing additional information about the object in a structured format.
3231 * Keys can be a maximum of 64 characters long, and values can be a maximum of 512 characters long.
3332 */
34- @ JsonProperty ("metadata" )
3533 Map <String , String > metadata ;
3634}
You can’t perform that action at this time.
0 commit comments