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

vercel response #81

Merged
merged 4 commits into from
Jul 10, 2024
Merged

vercel response #81

merged 4 commits into from
Jul 10, 2024

Conversation

csgulati09
Copy link
Collaborator

@csgulati09 csgulati09 commented May 24, 2024

Title: Vercel response type for Chat completion stream

Description:

  • Added the missing field for the chat completion response type
  • function_call and tool_call were missing
  • fields added as optional fields
  • nested under chatCompletion -> choices -> delta

Motivation:
Issue reported by a user on Discord: https://discord.com/channels/1143393887742861333/1143402158394454016/1242841759013404815

Related Issues:
Closes #80

@dosubot dosubot bot added the size:S This PR changes 10-29 lines, ignoring generated files. label May 24, 2024
@csgulati09 csgulati09 self-assigned this May 24, 2024
@csgulati09 csgulati09 requested a review from VisargD May 24, 2024 02:55
@VisargD VisargD merged commit 0fac78e into main Jul 10, 2024
1 check failed
@VisargD VisargD deleted the hotfix/vercel-response branch July 10, 2024 12:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size:S This PR changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

NodeSDK: Vercel response type
2 participants