Skip to content

Commit

Permalink
SDK regeneration (#98)
Browse files Browse the repository at this point in the history
Co-authored-by: fern-api <115122769+fern-api[bot]@users.noreply.github.com>
  • Loading branch information
fern-api[bot] authored Jan 3, 2025
1 parent 5ba2f08 commit dfae687
Show file tree
Hide file tree
Showing 5 changed files with 178 additions and 128 deletions.
2 changes: 1 addition & 1 deletion core/request_option.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ func (r *RequestOptions) cloneHeader() http.Header {
headers := r.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.12.2")
headers.Set("X-Fern-SDK-Version", "v2.12.3")
return headers
}

Expand Down
2 changes: 1 addition & 1 deletion finetuning.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ type FinetuningUpdateFinetunedModelRequest struct {
UpdatedAt *time.Time `json:"updated_at,omitempty" url:"-"`
// Timestamp for the completed fine-tuning.
CompletedAt *time.Time `json:"completed_at,omitempty" url:"-"`
// Timestamp for the latest request to this fine-tuned model.
// Deprecated: Timestamp for the latest request to this fine-tuned model.
LastUsed *time.Time `json:"last_used,omitempty" url:"-"`
}

Expand Down
4 changes: 2 additions & 2 deletions finetuning/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ type FinetunedModel struct {
UpdatedAt *time.Time `json:"updated_at,omitempty" url:"updated_at,omitempty"`
// read-only. Timestamp for the completed fine-tuning.
CompletedAt *time.Time `json:"completed_at,omitempty" url:"completed_at,omitempty"`
// read-only. Timestamp for the latest request to this fine-tuned model.
// read-only. Deprecated: Timestamp for the latest request to this fine-tuned model.
LastUsed *time.Time `json:"last_used,omitempty" url:"last_used,omitempty"`

extraProperties map[string]interface{}
Expand Down Expand Up @@ -687,7 +687,7 @@ func (s Status) Ptr() *Status {
//
// - STRATEGY_UNSPECIFIED: Unspecified strategy.
// - STRATEGY_VANILLA: Deprecated: Serve the fine-tuned model on a dedicated GPU.
// - STRATEGY_TFEW: Serve the fine-tuned model on a shared GPU.
// - STRATEGY_TFEW: Deprecated: Serve the fine-tuned model on a shared GPU.
type Strategy string

const (
Expand Down
Loading

0 comments on commit dfae687

Please sign in to comment.