Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency @google/generative-ai to ^0.21.0 (main) - autoclosed #205554

Closed

Conversation

elastic-renovate-prod[bot]
Copy link
Contributor

@elastic-renovate-prod elastic-renovate-prod bot commented Jan 3, 2025

This PR contains the following updates:

Package Type Update Change Pending
@google/generative-ai dependencies minor ^0.7.0 -> ^0.21.0 0.22.0

Release Notes

google/generative-ai-js (@​google/generative-ai)

v0.21.0

Compare Source

Minor Changes
  • 8543716: Add search grounding feature to SDK.

v0.20.0

Compare Source

Minor Changes
  • dda0b5c: Add frequencyPenalty, presencePenalty, responseLogprobs, and logProbs parameters support for generationConfig. Added avgLogprobs and logprobsResult to GenerateContentResponse. Updated test cases.

v0.19.0

Compare Source

Minor Changes
  • 00dc7a1: Use lowercase SchemaType enum values to match json-schema.

v0.18.0

Compare Source

Minor Changes
  • fc008a1: Add ability to set modelParams (generationConfig, safetySettings) on getGenerativeModelFromCachedContent().

v0.17.2

Compare Source

Patch Changes
  • d8f6b4f: Fix language marker in text helper for executable code results.

v0.17.1

Compare Source

Patch Changes
  • fdfb5bd: Fix reference to requestOptions in startChat.

v0.17.0

Compare Source

Minor Changes
  • 3b5daae: Fix Schema type to reference itself and not a derived type in its items array and properties map.

v0.16.1

Compare Source

This is a cherry-picked patch to fix an bug for users pinned to versions 0.16.x.

Patch Changes
  • fdfb5bd: Fix reference to requestOptions in startChat.

v0.16.0

Compare Source

Minor Changes
  • d2d42ca: Adds SingleRequestOptions with AbortSignal support to most of the asynchronous methods of GenerativeModel, GoogleAIFileManager and ChatSession.

v0.15.0

Compare Source

Minor Changes
  • 05b8631: Add FinishReason.LANGUAGE enum value.
Patch Changes
  • e87d5b0: Fix countTokens to include any params set on the model instance.

v0.14.1

Compare Source

Patch Changes
  • 0c23bb3: Add CodeExecutionTool to Tool type.

v0.14.0

Compare Source

Minor Changes
  • fb1c0f2: Add a cachedContentTokenCount field to the UsageMetadata interface returned by generateContent responses.
  • 06216be: Add code execution feature.

v0.13.0

Compare Source

Minor Changes
  • 83ec4ac: Expand the model's countTokens method to alternatively accept a GenerateContentRequest.
  • 5df61d1: Added GoogleAICacheManager utility to allow caching large content to be used in inference. This class is exported from the @google/generative-ai/server subpath. Breaking change: The GoogleAIFileManager class has been moved to be exported from this subpath as well instead of the /files subpath.
Patch Changes
  • 1440a05: Removed the model field from the internally formatted payload of countToken requests as it was unnecessary.
  • 03eb57b: Fix missing usageMetadata in streamed aggregated response (#​174)

v0.12.0

Compare Source

Minor Changes
  • 85ff2c4: Added responseSchema to GenerationConfig to allow user to provide a JSON schema when responseMimeType is set to JSON.

v0.11.5

Compare Source

Patch Changes
  • 42ba6ca: Fix paths to @​google/generative-ai/files.

v0.11.4

Compare Source

Patch Changes
  • ee02ff0: Add additional properties videoMetadata and error to FileMetadataResponse type.

v0.11.3

Compare Source

Patch Changes
  • c7c0b50: Fixed FileState enum values to be strings.

v0.11.2

Compare Source

Patch Changes
  • cefa8f2: Lifted a restriction in chat sessions that required a specific order of content roles.

v0.11.1

Compare Source

Patch Changes
  • 819501f: Fix a bug that caused file uploads to be named "undefined" if no file name is provided.

v0.11.0

Compare Source

Minor Changes
  • 58ab777: Added responseMimeType to GenerationConfig to allow for JSON formatted responses.
Patch Changes
  • c39015c: Fixed a bug where text() did not handle multiple TextParts in a single candidate. Added state field to FileMetadataResponse.

v0.10.0

Compare Source

Minor Changes
  • 657799a: Added UsageMetadata to GenerateContentResponses.
  • 4562366: Add a request option for custom headers

v0.9.0

Compare Source

Minor Changes
  • ca62400: Allow text-only systemInstruction as well as Part and Content.
  • 111e970: Export error classes and add more properties to fetch errors.

v0.8.0

Compare Source

Minor Changes
  • a89d427: Add GoogleAIFileManager for file uploads.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

@elastic-renovate-prod elastic-renovate-prod bot added backport:all-open Backport to all branches that could still receive a release release_note:skip Skip the PR/issue when compiling release notes Team:Defend Workflows “EDR Workflows” sub-team of Security Solution labels Jan 3, 2025
@elastic-renovate-prod elastic-renovate-prod bot requested review from a team, tomsonpl and paul-tavares and removed request for a team January 3, 2025 23:58
@elasticmachine
Copy link
Contributor

Pinging @elastic/security-defend-workflows (Team:Defend Workflows)

@paul-tavares paul-tavares removed their request for review January 6, 2025 15:21
@elastic-renovate-prod elastic-renovate-prod bot added Team:Security Generative AI Security Generative AI and removed Team:Defend Workflows “EDR Workflows” sub-team of Security Solution labels Jan 6, 2025
@KDKHD
Copy link
Member

KDKHD commented Feb 26, 2025

Updated in #205553

@KDKHD
Copy link
Member

KDKHD commented Feb 26, 2025

Closing as @google/generative-ai was updated in #205553

@KDKHD KDKHD closed this Feb 26, 2025
@elastic-renovate-prod elastic-renovate-prod bot changed the title Update dependency @google/generative-ai to ^0.21.0 (main) Update dependency @google/generative-ai to ^0.21.0 (main) - autoclosed Feb 26, 2025
@elastic-renovate-prod elastic-renovate-prod bot deleted the renovate/main-@googlegenerative-ai branch February 26, 2025 17:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:all-open Backport to all branches that could still receive a release release_note:skip Skip the PR/issue when compiling release notes Team:Security Generative AI Security Generative AI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants