Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rewrite curl implementation using Plenary and add cancel stream functionality #45

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Jun 2, 2023

  1. 1. Modified and fixed the _receive_chunk function and updated its u…

    …sage to properly handle JSON chunks.
    
    2. Added a function to cancel the current stream and shut down the handler in openai.lua.
    3. Removed an unnecessary newline in history.lua.
    4. Migrated from custom curl implementation to the plenary curl module for better functionality and streamlined code.
    5. Added a mapping in ui.lua to cancel the stream using the new cancel_stream() function.
    alizdavoodi committed Jun 2, 2023
    Configuration menu
    Copy the full SHA
    d314172 View commit details
    Browse the repository at this point in the history