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

feat(server): support openai compatible stream api #8065

Merged
merged 1 commit into from
Sep 3, 2024

Conversation

darkskygit
Copy link
Member

@darkskygit darkskygit commented Sep 3, 2024

fix #8010

Copy link

graphite-app bot commented Sep 3, 2024

Your org has enabled the Graphite merge queue for merging into canary

Add the label “merge” to the PR and Graphite will automatically add it to the merge queue when it’s ready to merge. Or use the label “hotfix” to add to the merge queue as a hot fix.

You must have a Graphite account and log in to Graphite in order to use the merge queue. Sign up using this link.

Copy link
Member Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @darkskygit and the rest of your teammates on Graphite Graphite

Copy link

nx-cloud bot commented Sep 3, 2024

@darkskygit darkskygit changed the title chore: catch empty choices array chore: support openai compatible stream api Sep 3, 2024
@darkskygit darkskygit changed the title chore: support openai compatible stream api feat(server): support openai compatible stream api Sep 3, 2024
Copy link

codecov bot commented Sep 3, 2024

Codecov Report

Attention: Patch coverage is 0% with 3 lines in your changes missing coverage. Please review.

Project coverage is 52.57%. Comparing base (935771c) to head (41f9149).
Report is 1 commits behind head on canary.

Files with missing lines Patch % Lines
...end/server/src/plugins/copilot/providers/openai.ts 0.00% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           canary    #8065      +/-   ##
==========================================
- Coverage   52.64%   52.57%   -0.08%     
==========================================
  Files        1228     1228              
  Lines       48064    48067       +3     
  Branches     5860     5858       -2     
==========================================
- Hits        25302    25269      -33     
- Misses      22391    22427      +36     
  Partials      371      371              
Flag Coverage Δ
server-test 77.25% <0.00%> (-0.13%) ⬇️
unittest 25.26% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link

graphite-app bot commented Sep 3, 2024

Merge activity

@darkskygit darkskygit force-pushed the darksky/compatible-third-party-api branch from 2f0bca4 to 41f9149 Compare September 3, 2024 09:25
@graphite-app graphite-app bot merged commit 41f9149 into canary Sep 3, 2024
38 checks passed
@graphite-app graphite-app bot deleted the darksky/compatible-third-party-api branch September 3, 2024 09:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

​fix openai copilot provider message parser bug to support Azure OpenAI deploment
2 participants