ChatChat
ChatChat copied to clipboard
fix(deps): update dependency @google/generative-ai to ^0.21.0
This PR contains the following updates:
Package | Change | Age | Adoption | Passing | Confidence |
---|---|---|---|---|---|
@google/generative-ai | ^0.7.1 -> ^0.21.0 |
Release Notes
google/generative-ai-js (@google/generative-ai)
v0.21.0
Minor Changes
-
8543716
: Add search grounding feature to SDK.
v0.20.0
Minor Changes
-
dda0b5c
: AddfrequencyPenalty
,presencePenalty
,responseLogprobs
, andlogProbs
parameters support forgenerationConfig
. AddedavgLogprobs
andlogprobsResult
toGenerateContentResponse
. Updated test cases.
v0.19.0
Minor Changes
-
00dc7a1
: Use lowercase SchemaType enum values to match json-schema.
v0.18.0
Minor Changes
-
fc008a1
: Add ability to set modelParams (generationConfig, safetySettings) on getGenerativeModelFromCachedContent().
v0.17.2
Patch Changes
-
d8f6b4f
: Fix language marker in text helper for executable code results.
v0.17.1
Patch Changes
-
fdfb5bd
: Fix reference torequestOptions
instartChat
.
v0.17.0
Minor Changes
-
3b5daae
: FixSchema
type to reference itself and not a derived type in itsitems
array andproperties
map.
v0.16.1
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
Minor Changes
-
d2d42ca
: AddsSingleRequestOptions
withAbortSignal
support to most of the asynchronous methods ofGenerativeModel
,GoogleAIFileManager
andChatSession
.
v0.15.0
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
Patch Changes
-
0c23bb3
: AddCodeExecutionTool
toTool
type.
v0.14.0
Minor Changes
-
fb1c0f2
: Add acachedContentTokenCount
field to theUsageMetadata
interface returned bygenerateContent
responses. -
06216be
: Add code execution feature.
v0.13.0
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
Minor Changes
-
85ff2c4
: AddedresponseSchema
toGenerationConfig
to allow user to provide a JSON schema whenresponseMimeType
is set to JSON.
v0.11.5
Patch Changes
-
42ba6ca
: Fix paths to @google/generative-ai/files.
v0.11.4
Patch Changes
-
ee02ff0
: Add additional propertiesvideoMetadata
anderror
toFileMetadataResponse
type.
v0.11.3
Patch Changes
-
c7c0b50
: FixedFileState
enum values to be strings.
v0.11.2
Patch Changes
-
cefa8f2
: Lifted a restriction in chat sessions that required a specific order of content roles.
v0.11.1
Patch Changes
-
819501f
: Fix a bug that caused file uploads to be named "undefined" if no file name is provided.
v0.11.0
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
Minor Changes
-
657799a
: Added UsageMetadata to GenerateContentResponses. -
4562366
: Add a request option for custom headers
v0.9.0
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
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 was generated by Mend Renovate. View the repository job log.
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
chat-chat | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Sep 12, 2024 7:21pm |