TechNickAI / AICodeBot

AI-powered tool for developers, simplifying coding tasks and improving workflow efficiency. 🤖
GNU Affero General Public License v3.0
49 stars 12 forks source link

Elegantly handle token size exhaustion #14

Closed TechNickAI closed 1 year ago

TechNickAI commented 1 year ago

We need to better manage the token economy

Right now when we send too much stuff to OpenAI, there is an error, instead we should catch and offer to remove some of the context

TechNickAI commented 1 year ago

Done with https://github.com/gorillamania/AICodeBot/commit/48e328d53c1266fc9ad81ab928d23fe61f62dad1