Skip to content

Commit abe8044

Browse files
🌿 Fern Regeneration -- August 30, 2024 (#87)
Co-authored-by: fern-api <115122769+fern-api[bot]@users.noreply.github.com>
1 parent 9355749 commit abe8044

File tree

3 files changed

+174
-27
lines changed

3 files changed

+174
-27
lines changed

client/client.go

+9-12
Original file line numberDiff line numberDiff line change
@@ -306,10 +306,9 @@ func (c *Client) Chat(
306306
return response, nil
307307
}
308308

309-
// > 🚧 Warning
310-
// >
311-
// > This API is marked as "Legacy" and is no longer maintained. Follow the [migration guide](/docs/migrating-from-cogenerate-to-cochat) to start using the Chat API.
312-
//
309+
// <Warning>
310+
// This API is marked as "Legacy" and is no longer maintained. Follow the [migration guide](/docs/migrating-from-cogenerate-to-cochat) to start using the Chat API.
311+
// </Warning>
313312
// Generates realistic text conditioned on a given input.
314313
func (c *Client) GenerateStream(
315314
ctx context.Context,
@@ -433,10 +432,9 @@ func (c *Client) GenerateStream(
433432
)
434433
}
435434

436-
// > 🚧 Warning
437-
// >
438-
// > This API is marked as "Legacy" and is no longer maintained. Follow the [migration guide](/docs/migrating-from-cogenerate-to-cochat) to start using the Chat API.
439-
//
435+
// <Warning>
436+
// This API is marked as "Legacy" and is no longer maintained. Follow the [migration guide](/docs/migrating-from-cogenerate-to-cochat) to start using the Chat API.
437+
// </Warning>
440438
// Generates realistic text conditioned on a given input.
441439
func (c *Client) Generate(
442440
ctx context.Context,
@@ -950,10 +948,9 @@ func (c *Client) Classify(
950948
return response, nil
951949
}
952950

953-
// > 🚧 Warning
954-
// >
955-
// > This API is marked as "Legacy" and is no longer maintained. Follow the [migration guide](/docs/migrating-from-cogenerate-to-cochat) to start using the Chat API.
956-
//
951+
// <Warning>
952+
// This API is marked as "Legacy" and is no longer maintained. Follow the [migration guide](/docs/migrating-from-cogenerate-to-cochat) to start using the Chat API.
953+
// </Warning>
957954
// Generates a summary in English for a given text.
958955
func (c *Client) Summarize(
959956
ctx context.Context,

core/request_option.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ func (r *RequestOptions) cloneHeader() http.Header {
5656
headers := r.HTTPHeader.Clone()
5757
headers.Set("X-Fern-Language", "Go")
5858
headers.Set("X-Fern-SDK-Name", "github.com/cohere-ai/cohere-go/v2")
59-
headers.Set("X-Fern-SDK-Version", "v2.10.0")
59+
headers.Set("X-Fern-SDK-Version", "v2.11.0")
6060
return headers
6161
}
6262

0 commit comments

Comments
 (0)