Skip to content

UGemini 2.2.0 Preview 1

Pre-release
Pre-release
Compare
Choose a tag to compare
@Uralstech Uralstech released this 30 Sep 17:01
· 16 commits to unstable since this release
5b3dd52

This release is a part of UGemini v2.2.0, pull request #42.

Breaking Changes

  • GeminiModelIdStringConverter and GeminiSecondsToTimeSpanJsonConverter have been moved to Uralstech.UGemini.JsonConverters.
  • GeminiFile.Status is obsolete, use GeminiFile.Error instead.

Gemini API Update Changes

  • Added new field CachedContentTokenCount to GeminiTokenCountResponse.
  • Added new field MaxTemperature to GeminiModel.
  • Added new fields AvgLogprobs and LogprobsResult to GeminiCandidate.
  • Added new enum value Language to GeminiFinishReason.
  • Added new fields PresencePenalty, FrequencyPenalty, ResponseLogprobs and Logprobs to GeminiGenerationConfiguration.
  • Added new enum value Off to GeminiSafetyHarmBlockThreshold.
  • Added new enum value CivicIntegrity to GeminiSafetyHarmCategory.
  • Added new field MinItems to GeminiSchema.
  • Added new field ReaderProjectNumbers to GeminiTunedModelCreationData and GeminiTunedModel.

Changes

  • Fixed long values not converting to string JSON as expected by the API.
  • Added missing EnumMember attributes for some GeminiSchemaDataFormat.
  • GeminiCachedConent.cs has been renamed to GeminiCachedContent.cs.

Full Changelog: 2.1.1...2.2.0-preview.1