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

fix: wrong response header for non streamed responses #2606

Merged

Conversation

louis-jan
Copy link
Contributor

@louis-jan louis-jan commented Apr 3, 2024

Describe Your Changes

{
  "messages": [
    {
      "content": "Hello!",
      "role": "user"
    }
  ],
  "model": "tinyllama-1.1b",
  "stream": false,
  "max_tokens": 2048
}
Screenshot 2024-04-03 at 20 51 40

Fixes Issues

Self Checklist

  • Added relevant comments, esp in complex areas
  • Updated docs (for bug fixes / features)
  • Created issues for follow-up changes or refactoring needed

@louis-jan louis-jan requested a review from a team April 3, 2024 13:53
@github-actions github-actions bot added the type: bug Something isn't working label Apr 3, 2024
@louis-jan louis-jan merged commit a484315 into dev Apr 3, 2024
6 checks passed
@louis-jan louis-jan deleted the fix/response-header-wrong-for-non-streamed-responses branch April 3, 2024 23:37
@github-actions github-actions bot added this to the v0.4.11 milestone Apr 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants