Skip to content

Commit

Permalink
Release v2.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
fern-api[bot] committed Dec 12, 2023
1 parent ece197d commit daf4398
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion core/client_option.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,6 @@ func (c *ClientOptions) cloneHeader() http.Header {
headers := c.HTTPHeader.Clone()
headers.Set("X-Fern-Language", "Go")
headers.Set("X-Fern-SDK-Name", "github.com/cohere-ai/cohere-go/v2")
headers.Set("X-Fern-SDK-Version", "v2.3.0")
headers.Set("X-Fern-SDK-Version", "v2.4.0")
return headers
}
4 changes: 4 additions & 0 deletions types.go
Original file line number Diff line number Diff line change
Expand Up @@ -477,6 +477,10 @@ func (c *ChatCitationGenerationEvent) String() string {
type ChatConnector struct {
// The identifier of the connector. Currently only 'web-search' is supported.
Id string `json:"id"`
// An optional override to set the token that Cohere passes to the connector in the Authorization header.
UserAccessToken *string `json:"user_access_token,omitempty"`
// An optional override to set whether or not the request continues if this connector fails.
ContinueOnFailure *bool `json:"continue_on_failure,omitempty"`
// Provides the connector with different settings at request time. The key/value pairs of this object are specific to each connector.
//
// The supported options are:
Expand Down

0 comments on commit daf4398

Please sign in to comment.