Skip to content

Commit e5f9866

Browse files
authored
Merge branch 'master' into development
2 parents c2de3a0 + 72eb47f commit e5f9866

3 files changed

Lines changed: 16 additions & 0 deletions

File tree

src/main/java/gg/acai/chatgpt/ChatGPT.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff 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
/**

src/main/java/gg/acai/chatgpt/Conversation.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff 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
}

src/main/java/gg/acai/chatgpt/entities/ResponseEntity.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)