Update dependency @google/generative-ai to ^0.21.0 (main) - autoclosed #205554
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^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
: AddfrequencyPenalty
,presencePenalty
,responseLogprobs
, andlogProbs
parameters support forgenerationConfig
. AddedavgLogprobs
andlogprobsResult
toGenerateContentResponse
. 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 torequestOptions
instartChat
.v0.17.0
Compare Source
Minor Changes
3b5daae
: FixSchema
type to reference itself and not a derived type in itsitems
array andproperties
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 torequestOptions
instartChat
.v0.16.0
Compare Source
Minor Changes
d2d42ca
: AddsSingleRequestOptions
withAbortSignal
support to most of the asynchronous methods ofGenerativeModel
,GoogleAIFileManager
andChatSession
.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
: AddCodeExecutionTool
toTool
type.v0.14.0
Compare Source
Minor Changes
fb1c0f2
: Add acachedContentTokenCount
field to theUsageMetadata
interface returned bygenerateContent
responses.06216be
: Add code execution feature.v0.13.0
Compare Source
Minor Changes
83ec4ac
: Expand the model'scountTokens
method to alternatively accept aGenerateContentRequest
.5df61d1
: AddedGoogleAICacheManager
utility to allow caching large content to be used in inference. This class is exported from the@google/generative-ai/server
subpath. Breaking change: TheGoogleAIFileManager
class has been moved to be exported from this subpath as well instead of the/files
subpath.Patch Changes
1440a05
: Removed themodel
field from the internally formatted payload ofcountToken
requests as it was unnecessary.03eb57b
: Fix missing usageMetadata in streamed aggregated response (#174)v0.12.0
Compare Source
Minor Changes
85ff2c4
: AddedresponseSchema
toGenerationConfig
to allow user to provide a JSON schema whenresponseMimeType
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 propertiesvideoMetadata
anderror
toFileMetadataResponse
type.v0.11.3
Compare Source
Patch Changes
c7c0b50
: FixedFileState
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 wheretext()
did not handle multipleTextPart
s in a single candidate. Addedstate
field toFileMetadataResponse
.v0.10.0
Compare Source
Minor Changes
657799a
: Added UsageMetadata to GenerateContentResponses.4562366
: Add a request option for custom headersv0.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.
This PR has been generated by Renovate Bot.