feature request: cancellable message generation, and re-generate #63
Replies: 4 comments 5 replies
-
in express, I was reading that req can listen to the connection being closed/aborted, and perhaps throwing on close would do it. nodechatgpt-api doesn't have a timeout function but that would be a cool PR for that project |
Beta Was this translation helpful? Give feedback.
-
After read the code from node-chatgpt-api. it seems to be an option to do that. https://github.com/waylaidwanderer/node-chatgpt-api/blob/main/src/ChatGPTClient.js#L357
The |
Beta Was this translation helpful? Give feedback.
-
BTW, in node-chatgpt-api, there is a title generate function, why did you write your own one? (but their editor do nothing on the language.) |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
have no idea on how to do that in server side, do you have any idea? @danny-avila
Beta Was this translation helpful? Give feedback.
All reactions