File tree 2 files changed +1
-3
lines changed
api/src/main/java/com/theokanning/openai
2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -35,6 +35,6 @@ public class OpenAiResponse<T> {
35
35
/**
36
36
* True if there are objects after lastId
37
37
*/
38
- @ JsonProperty ("hasMore " )
38
+ @ JsonProperty ("has_more " )
39
39
public boolean hasMore ;
40
40
}
Original file line number Diff line number Diff line change @@ -23,14 +23,12 @@ public class ThreadRequest {
23
23
/**
24
24
* A list of messages to start the thread with. Optional.
25
25
*/
26
- @ JsonProperty ("messages" )
27
26
List <MessageRequest > messages ;
28
27
29
28
/**
30
29
* Set of 16 key-value pairs that can be attached to an object.
31
30
* This can be useful for storing additional information about the object in a structured format.
32
31
* Keys can be a maximum of 64 characters long, and values can be a maximum of 512 characters long.
33
32
*/
34
- @ JsonProperty ("metadata" )
35
33
Map <String , String > metadata ;
36
34
}
You can’t perform that action at this time.
0 commit comments