Skip to content

UGemini v2.1.0

Compare
Choose a tag to compare
@Uralstech Uralstech released this 28 Sep 20:36
· 14 commits to master since this release
c8f90c6

For those updating from v1.x.x: Check the update notes for v2.0.0 for an update guide.

Breaking Changes

Added

  • Support for all method in the tunedModels endpoint.
  • Support for operations endpoints through UCloud.Operations.
  • Support for multiple authentication method (API Key, OAuth) for all requests. Most default to API key authentication.
  • Simple filters for GeminiTunedModelListRequests.
  • Improved error handling in GeminiManager with new GeminiResponseParsingException exception.
  • Documentation generation by DocFX.

Changed

  • Updated GeminiModelIdStringConverter to be more explicit in conversion.
  • Fixed possible exception in GeminiManager when an empty JSON object is returned for a request that expects an empty response.
  • All references to https://generativelanguage.googleapis.com have been changed to the new GeminiManager.BaseServiceUri constant.
  • All errors now log webRequest.uri.AbsoluteUri for improved debugging.
  • Some improvements to EnumExtensions and GeminiContentTypeExtensions.
  • Fixed some possible NullReferenceExceptions in GeminiModel and GeminiModelId.

Pull Requests

Full Changelog: 2.0.1...2.1.0