-
-
Notifications
You must be signed in to change notification settings - Fork 109
chatgpt command limit response length #840
Copy link
Copy link
Closed
Labels
bugSomething isn't workingSomething isn't workingvalidThis issue/PR is validated and ready to be picked. This auto adds items to TJ project board.This issue/PR is validated and ready to be picked. This auto adds items to TJ project board.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingvalidThis issue/PR is validated and ready to be picked. This auto adds items to TJ project board.This issue/PR is validated and ready to be picked. This auto adds items to TJ project board.
Chatgpt command will crash if the response is over 2000 characters. To prevent that, we have to limit the response.
Just limiting the max tokens is a bad solution, because it would cut the answer short. Getting a guide or a code solution that is 90% there is not very helpful.
The solution is to add 'Answer in 1500 characters or less.' to the user question. And if chatgpt still goes over the limit, we can hard limit to prevent it from crashing.