Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add resetThread() function #10

Merged
merged 1 commit into from
Dec 5, 2022
Merged

Add resetThread() function #10

merged 1 commit into from
Dec 5, 2022

Conversation

brunoocal
Copy link

Hey! I've added a new function which allows the user to reset the chat with the AI back to its initial state. I needed this function for one of the apps that I'm coding and I thought that could be good sending a PR

@transitive-bullshit transitive-bullshit merged commit 13e9e3e into transitive-bullshit:main Dec 5, 2022
@transitive-bullshit
Copy link
Owner

LGTM 😄

Just note that #9 will introduce a completely different way of accessing the API, including conversationId control, so once that's released this will only take effect for the pre-v1.0 version. Merging it anyway because it's a great change 💯

SmileSmith pushed a commit to SmileSmith/chatgpt-api that referenced this pull request Apr 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants