diff --git a/src/libs/Cohere/Generated/Cohere.Models.FinetunedModel.g.cs b/src/libs/Cohere/Generated/Cohere.Models.FinetunedModel.g.cs
index 617ffd2b..94357ce5 100644
--- a/src/libs/Cohere/Generated/Cohere.Models.FinetunedModel.g.cs
+++ b/src/libs/Cohere/Generated/Cohere.Models.FinetunedModel.g.cs
@@ -82,7 +82,7 @@ public sealed partial class FinetunedModel
public global::System.DateTime? CompletedAt { get; set; }
///
- /// 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.
/// Included only in responses
///
[global::System.Text.Json.Serialization.JsonPropertyName("last_used")]
@@ -141,7 +141,7 @@ public sealed partial class FinetunedModel
/// Included only in responses
///
///
- /// 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.
/// Included only in responses
///
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
diff --git a/src/libs/Cohere/Generated/Cohere.Models.UpdateFinetunedModelRequest.g.cs b/src/libs/Cohere/Generated/Cohere.Models.UpdateFinetunedModelRequest.g.cs
index d01c5a4a..a703586b 100644
--- a/src/libs/Cohere/Generated/Cohere.Models.UpdateFinetunedModelRequest.g.cs
+++ b/src/libs/Cohere/Generated/Cohere.Models.UpdateFinetunedModelRequest.g.cs
@@ -75,7 +75,7 @@ public sealed partial class UpdateFinetunedModelRequest
public global::System.DateTime? CompletedAt { get; set; }
///
- /// Timestamp for the latest request to this fine-tuned model.
+ /// Deprecated: Timestamp for the latest request to this fine-tuned model.
/// Included only in responses
///
[global::System.Text.Json.Serialization.JsonPropertyName("last_used")]
@@ -130,7 +130,7 @@ public sealed partial class UpdateFinetunedModelRequest
/// Included only in responses
///
///
- /// Timestamp for the latest request to this fine-tuned model.
+ /// Deprecated: Timestamp for the latest request to this fine-tuned model.
/// Included only in responses
///
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
diff --git a/src/libs/Cohere/openapi.yaml b/src/libs/Cohere/openapi.yaml
index 28c8d7a8..6c15509a 100644
--- a/src/libs/Cohere/openapi.yaml
+++ b/src/libs/Cohere/openapi.yaml
@@ -918,7 +918,7 @@ paths:
code: "/* (C)2024 */\npackage chatv2post;\n\nimport com.cohere.api.Cohere;\nimport com.cohere.api.resources.v2.requests.V2ChatRequest;\nimport com.cohere.api.types.*;\nimport java.util.List;\n\npublic class Default {\n public static void main(String[] args) {\n Cohere cohere = Cohere.builder().clientName(\"snippet\").build();\n\n ChatResponse response =\n cohere\n .v2()\n .chat(\n V2ChatRequest.builder()\n .model(\"command-r-plus-08-2024\")\n .messages(\n List.of(\n ChatMessageV2.user(\n UserMessage.builder()\n .content(UserMessageContent.of(\"Who discovered\" + \" gravity?\"))\n .build()),\n ChatMessageV2.assistant(\n AssistantMessage.builder()\n .content(\n AssistantMessageContent.of(\n \"The man\"\n + \" who is\"\n + \" widely\"\n + \" credited\"\n + \" with\"\n + \" discovering\"\n + \" gravity\"\n + \" is Sir\"\n + \" Isaac\"\n + \" Newton\"))\n .build())))\n .build());\n\n System.out.println(response);\n }\n}\n"
- sdk: curl
name: Default
- code: "curl --request POST \\\n --url https://api.cohere.com/v2/chat \\\n --header 'accept: application/json' \\\n --header 'content-type: application/json' \\\n --header \"Authorization: bearer $CO_API_KEY\" \\\n --data '{\n \"model\": \"command-r-plus-08-2024\",\n \"messages\": [\n {\n \"role\": \"user\",\n \"content\": \"Hello world!\"\n }\n ],\n }'"
+ code: "curl --request POST \\\n --url https://api.cohere.com/v2/chat \\\n --header 'accept: application/json' \\\n --header 'content-type: application/json' \\\n --header \"Authorization: bearer $CO_API_KEY\" \\\n --data '{\n \"model\": \"command-r-plus-08-2024\",\n \"messages\": [\n {\n \"role\": \"user\",\n \"content\": \"Hello world!\"\n }\n ]\n }'\n"
request:
model: command-r
messages:
@@ -1092,7 +1092,7 @@ paths:
code: "/* (C)2024 */\npackage chatv2post;\n\nimport com.cohere.api.Cohere;\nimport com.cohere.api.resources.v2.requests.V2ChatStreamRequest;\nimport com.cohere.api.types.*;\nimport java.util.List;\n\npublic class Stream {\n public static void main(String[] args) {\n Cohere cohere = Cohere.builder().clientName(\"snippet\").build();\n\n Iterable response =\n cohere\n .v2()\n .chatStream(\n V2ChatStreamRequest.builder()\n .model(\"command-r-plus-08-2024\")\n .messages(\n List.of(\n ChatMessageV2.user(\n UserMessage.builder()\n .content(UserMessageContent.of(\"Who discovered\" + \" gravity?\"))\n .build()),\n ChatMessageV2.assistant(\n AssistantMessage.builder()\n .content(\n AssistantMessageContent.of(\n \"The man\"\n + \" who is\"\n + \" widely\"\n + \" credited\"\n + \" with\"\n + \" discovering\"\n + \" gravity\"\n + \" is Sir\"\n + \" Isaac\"\n + \" Newton\"))\n .build())))\n .build());\n\n for (StreamedChatResponseV2 chatResponse : response) {\n if (chatResponse.isContentDelta()) {\n System.out.println(\n chatResponse\n .getContentDelta()\n .flatMap(ChatContentDeltaEvent::getDelta)\n .flatMap(ChatContentDeltaEventDelta::getMessage)\n .flatMap(ChatContentDeltaEventDeltaMessage::getContent)\n .flatMap(ChatContentDeltaEventDeltaMessageContent::getText)\n .orElse(\"\"));\n }\n }\n\n System.out.println(response);\n }\n}\n"
- sdk: curl
name: Streaming
- code: "curl --request POST \\\n --url https://api.cohere.com/v2/chat \\\n --header 'accept: application/json' \\\n --header 'content-type: application/json' \\\n --header \"Authorization: bearer $CO_API_KEY\" \\\n --data '{\n \"stream\": true,\n \"model\": \"command-r-plus-08-2024\",\n \"messages\": [\n {\n \"role\": \"user\",\n \"content\": \"Hello world!\"\n }\n ],\n }'"
+ code: "curl --request POST \\\n --url https://api.cohere.com/v2/chat \\\n --header 'accept: application/json' \\\n --header 'content-type: application/json' \\\n --header \"Authorization: bearer $CO_API_KEY\" \\\n --data '{\n \"stream\": true,\n \"model\": \"command-r-plus-08-2024\",\n \"messages\": [\n {\n \"role\": \"user\",\n \"content\": \"Hello world!\"\n }\n ]\n }'\n"
request:
model: command-r
messages:
@@ -10908,7 +10908,7 @@ paths:
readOnly: true
last_used:
type: string
- description: Timestamp for the latest request to this fine-tuned model.
+ description: 'Deprecated: Timestamp for the latest request to this fine-tuned model.'
format: date-time
readOnly: true
required: true
@@ -16591,7 +16591,7 @@ components:
readOnly: true
last_used:
type: string
- description: read-only. Timestamp for the latest request to this fine-tuned model.
+ description: 'read-only. Deprecated: Timestamp for the latest request to this fine-tuned model.'
format: date-time
readOnly: true
description: This resource represents a fine-tuned model.