Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Make Citation.license optional #141

Merged
merged 1 commit into from
Apr 19, 2024
Merged

Make Citation.license optional #141

merged 1 commit into from
Apr 19, 2024

Conversation

andrewheard
Copy link
Collaborator

As a follow-up to #135, made Citation.license a String?. The license is now nil if not provided by the backend (future-proofing) or if the provided license is an empty string (current response behaviour). This now matches the Citation.license public API in the Vertex AI preview.

@github-actions github-actions bot added component:swift sdk Issue/PR related to Swift SDK status:awaiting review PR awaiting review from a maintainer labels Apr 19, 2024
@andrewheard andrewheard requested a review from paulb777 April 19, 2024 18:48
@andrewheard andrewheard merged commit ddcece5 into main Apr 19, 2024
9 checks passed
@andrewheard andrewheard deleted the ah/citation-optional branch April 19, 2024 20:05
@github-actions github-actions bot removed the status:awaiting review PR awaiting review from a maintainer label Apr 19, 2024
SsomsakTH pushed a commit to SsomsakTH/generative-ai-swift that referenced this pull request Jun 21, 2024
SsomsakTH pushed a commit to SsomsakTH/generative-ai-swift that referenced this pull request Jun 21, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
component:swift sdk Issue/PR related to Swift SDK
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants