callbacked / keyless-gpt-wrapper-api

A Free OpenAI-compatible API designed to interact with models like GPT-4o, Claude 3 Haiku, Mixtral 8x7b & Llama 3 70b through DuckDuckGo's AI Chat.
https://callbacked.github.io/keyless-gpt-wrapper-api/
21 stars 2 forks source link

Giant Bug Fix + Real Time Streaming Response #8

Closed callbacked closed 1 week ago

callbacked commented 1 week ago

Fixed a major bug where context from the AI's responses would not be saved, leading partial context being saved only for the user's messages -- causing the AI to not remember what it said itself.

Before Screenshot 2024-11-10 at 11 30 40 PM

Now

Screenshot 2024-11-10 at 11 27 43 PM

Additonally, streams are now displayed in actual real time, not simulated through sleep(), this should run as fast as your requests can be completed while sending messages in chunks.

callbacked commented 1 week ago

looks good to me!!!!!!!!