Skip to content

0.4.8

Compare
Choose a tag to compare
@andrewheard andrewheard released this 15 Feb 16:41
· 63 commits to main since this release
e2cebcd

What's Changed

  • Add RequestOptions to the GenerativeModel constructor, which allows developers to specify configuration options for requests sent to the backend (#100)
    • apiVersion: Optionally target a specific version of the API (for example, "v1beta"); defaults to "v1" if not specified (#101)
    • timeout: Optionally set a request’s timeout interval in seconds; if not specified, uses the default value for a URLRequest (#99)
  • The PaLM API is deprecated for use with Google AI services and tools (but not for Vertex AI). Learn more about this deprecation, its timeline, and how to migrate to use Gemini in the PaLM API deprecation guide (#110)
  • Update model name strings in README, docs and samples; see Gemini models for a list of supported model names (#109)
  • Add support for any model name prefix, in addition to models/ (#98)
  • Decrease minimum required Swift toolchain version to 5.7.1 (#102, #103)

Full Changelog: 0.4.7...0.4.8