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

add better request handling to openai-compatible server #1549

Merged
merged 5 commits into from
Dec 10, 2024

Conversation

benxu3
Copy link
Contributor

@benxu3 benxu3 commented Dec 7, 2024

Describe the changes you have made:

  • adds _current_request attribute to the openai-compatible server
  • this enables early exits from existing requests when receiving an interruption

Reference any relevant issues (e.g. "Fixes #000"):

Pre-Submission Checklist (optional but appreciated):

  • I have included relevant documentation updates (stored in /docs)
  • I have read docs/CONTRIBUTING.md
  • I have read docs/ROADMAP.md

OS Tests (optional but appreciated):

  • Tested on Windows
  • Tested on MacOS
  • Tested on Linux

@benxu3 benxu3 marked this pull request as ready for review December 10, 2024 00:58
@KillianLucas
Copy link
Collaborator

KillianLucas commented Dec 10, 2024

Great work @benxu3! Can't wait to use it in the new 01 :)

@KillianLucas KillianLucas merged commit d437f1d into OpenInterpreter:development Dec 10, 2024
0 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants