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 (sdk): set default values to FuncResponse sdk type #1765

Conversation

aybruhm
Copy link
Member

@aybruhm aybruhm commented Jun 6, 2024

Description

This hotfix assigns None as the default value to the usage and cost fields within the FuncResponse SDK type for LLM app outputs that are of type string.

Copy link

vercel bot commented Jun 6, 2024

@aybruhm is attempting to deploy a commit to the mmabrouk's projects Team on Vercel.

A member of the Team first needs to authorize it.

@dosubot dosubot bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Jun 6, 2024
@dosubot dosubot bot added bug Something isn't working SDK labels Jun 6, 2024
@aybruhm aybruhm requested a review from mmabrouk June 6, 2024 07:29
@aybruhm aybruhm closed this Jun 6, 2024
@aybruhm aybruhm deleted the hotfix/set-default-values-to-funcresponse branch June 6, 2024 07:30
Copy link

vercel bot commented Jun 6, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
agenta ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 6, 2024 7:41am

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working SDK size:XS This PR changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant