transitive-bullshit / agentic

AI agent stdlib that works with any LLM and TypeScript AI SDK.
https://agentic.so
MIT License
16.22k stars 2.12k forks source link

Support 'continue' action #590

Closed ArneBouillon closed 3 months ago

ArneBouillon commented 1 year ago

When ChatGPT's answer is too long, generation stops, but the web app has a Continue button to resume. This is also present in the API.

The changes in this PR suffice to enable the 'continue' action for my purpose (the ChatGPTUnofficialProxyAPI). I currently have no credits for the official API, so I haven't been able to make the changes required to that part of the code (hence the draft PR).

transitive-bullshit commented 3 months ago

This project is undergoing a major revamp; closing out old PRs as part of the prep process.

The chatgpt package is pretty outdated at this point. I recommend that you use the openai package or the openai-fetch package.