File tree Expand file tree Collapse file tree
src/main/java/gg/acai/chatgpt Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -47,6 +47,11 @@ static ChatGPTBuilder newBuilder() {
4747 */
4848 String getSessionToken ();
4949
50+ /**
51+ * Gets the Cloudflare clearance token
52+ *
53+ * @return Returns the Cloudflare clearance token
54+ */
5055 String getCfClearance ();
5156
5257 /**
Original file line number Diff line number Diff line change @@ -50,6 +50,12 @@ public interface Conversation {
5050 */
5151 AsyncPlaceholder <Response > sendMessageAsync (ChatGPTRequest request ) throws URISyntaxException , JsonProcessingException ;
5252
53+ /**
54+ * Sets the conversation id of this conversation.
55+ *
56+ * @param id The conversation id
57+ * @return Returns this conversation
58+ */
5359 Conversation setConversationId (String id );
5460
5561}
Original file line number Diff line number Diff line change @@ -23,6 +23,11 @@ public ResponseMessageEntity getMessage() {
2323 return message ;
2424 }
2525
26+ /**
27+ * Gets the conversation id of this response.
28+ *
29+ * @return The conversation id of this response
30+ */
2631 public String getConversationId () {
2732 return conversation_id ;
2833 }
You can’t perform that action at this time.
0 commit comments