Skip to content
This repository was archived by the owner on May 15, 2026. It is now read-only.

Make system instruction accept String values only#152

Merged
andrewheard merged 1 commit into
mainfrom
ah/sys-instruction-string
Apr 29, 2024
Merged

Make system instruction accept String values only#152
andrewheard merged 1 commit into
mainfrom
ah/sys-instruction-string

Conversation

@andrewheard
Copy link
Copy Markdown
Collaborator

  • Updated the GenerativeModel constructor taking systemInstruction: any ThrowingPartsRepresentable... (from Allow for a simpler way to set system instructions #149) to systemInstruction: String since only text input is supported at this time.
  • Added example usage to the DocC parameter documentation.

@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 29, 2024
@andrewheard andrewheard merged commit 3ad8c1c into main Apr 29, 2024
@andrewheard andrewheard deleted the ah/sys-instruction-string branch April 29, 2024 21:46
@github-actions github-actions Bot removed the status:awaiting review PR awaiting review from a maintainer label Apr 29, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

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