Skip to content

UGemini v2.2.0

Latest
Compare
Choose a tag to compare
@Uralstech Uralstech released this 01 Oct 18:44
· 2 commits to master since this release
15a563d

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.

Other 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.

Pull Requests

Full Changelog: 2.1.1...2.2.0