diff --git a/src/libs/Cohere/Generated/Cohere.Models.ChatCitationGenerationEvent.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ChatCitationGenerationEvent.g.cs
index f519d335..754aa7c7 100644
--- a/src/libs/Cohere/Generated/Cohere.Models.ChatCitationGenerationEvent.g.cs
+++ b/src/libs/Cohere/Generated/Cohere.Models.ChatCitationGenerationEvent.g.cs
@@ -29,7 +29,7 @@ namespace Cohere
///
///
///
- public static implicit operator ChatCitationGenerationEvent(global::Cohere.ChatStreamEvent value) => new ChatCitationGenerationEvent(value);
+ public static implicit operator ChatCitationGenerationEvent(global::Cohere.ChatStreamEvent value) => new ChatCitationGenerationEvent((global::Cohere.ChatStreamEvent?)value);
///
///
@@ -64,7 +64,7 @@ public ChatCitationGenerationEvent(global::Cohere.ChatStreamEvent? value)
///
///
///
- public static implicit operator ChatCitationGenerationEvent(global::Cohere.ChatCitationGenerationEventVariant2 value) => new ChatCitationGenerationEvent(value);
+ public static implicit operator ChatCitationGenerationEvent(global::Cohere.ChatCitationGenerationEventVariant2 value) => new ChatCitationGenerationEvent((global::Cohere.ChatCitationGenerationEventVariant2?)value);
///
///
diff --git a/src/libs/Cohere/Generated/Cohere.Models.ChatContentDeltaEvent.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ChatContentDeltaEvent.g.cs
index 188a8c89..8d9ddda2 100644
--- a/src/libs/Cohere/Generated/Cohere.Models.ChatContentDeltaEvent.g.cs
+++ b/src/libs/Cohere/Generated/Cohere.Models.ChatContentDeltaEvent.g.cs
@@ -29,7 +29,7 @@ namespace Cohere
///
///
///
- public static implicit operator ChatContentDeltaEvent(global::Cohere.ChatStreamEventType value) => new ChatContentDeltaEvent(value);
+ public static implicit operator ChatContentDeltaEvent(global::Cohere.ChatStreamEventType value) => new ChatContentDeltaEvent((global::Cohere.ChatStreamEventType?)value);
///
///
@@ -64,7 +64,7 @@ public ChatContentDeltaEvent(global::Cohere.ChatStreamEventType? value)
///
///
///
- public static implicit operator ChatContentDeltaEvent(global::Cohere.ChatContentDeltaEventVariant2 value) => new ChatContentDeltaEvent(value);
+ public static implicit operator ChatContentDeltaEvent(global::Cohere.ChatContentDeltaEventVariant2 value) => new ChatContentDeltaEvent((global::Cohere.ChatContentDeltaEventVariant2?)value);
///
///
diff --git a/src/libs/Cohere/Generated/Cohere.Models.ChatContentEndEvent.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ChatContentEndEvent.g.cs
index a67bb3e0..579bd77b 100644
--- a/src/libs/Cohere/Generated/Cohere.Models.ChatContentEndEvent.g.cs
+++ b/src/libs/Cohere/Generated/Cohere.Models.ChatContentEndEvent.g.cs
@@ -29,7 +29,7 @@ namespace Cohere
///
///
///
- public static implicit operator ChatContentEndEvent(global::Cohere.ChatStreamEventType value) => new ChatContentEndEvent(value);
+ public static implicit operator ChatContentEndEvent(global::Cohere.ChatStreamEventType value) => new ChatContentEndEvent((global::Cohere.ChatStreamEventType?)value);
///
///
@@ -64,7 +64,7 @@ public ChatContentEndEvent(global::Cohere.ChatStreamEventType? value)
///
///
///
- public static implicit operator ChatContentEndEvent(global::Cohere.ChatContentEndEventVariant2 value) => new ChatContentEndEvent(value);
+ public static implicit operator ChatContentEndEvent(global::Cohere.ChatContentEndEventVariant2 value) => new ChatContentEndEvent((global::Cohere.ChatContentEndEventVariant2?)value);
///
///
diff --git a/src/libs/Cohere/Generated/Cohere.Models.ChatContentStartEvent.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ChatContentStartEvent.g.cs
index d3df9e53..fffc87a6 100644
--- a/src/libs/Cohere/Generated/Cohere.Models.ChatContentStartEvent.g.cs
+++ b/src/libs/Cohere/Generated/Cohere.Models.ChatContentStartEvent.g.cs
@@ -29,7 +29,7 @@ namespace Cohere
///
///
///
- public static implicit operator ChatContentStartEvent(global::Cohere.ChatStreamEventType value) => new ChatContentStartEvent(value);
+ public static implicit operator ChatContentStartEvent(global::Cohere.ChatStreamEventType value) => new ChatContentStartEvent((global::Cohere.ChatStreamEventType?)value);
///
///
@@ -64,7 +64,7 @@ public ChatContentStartEvent(global::Cohere.ChatStreamEventType? value)
///
///
///
- public static implicit operator ChatContentStartEvent(global::Cohere.ChatContentStartEventVariant2 value) => new ChatContentStartEvent(value);
+ public static implicit operator ChatContentStartEvent(global::Cohere.ChatContentStartEventVariant2 value) => new ChatContentStartEvent((global::Cohere.ChatContentStartEventVariant2?)value);
///
///
diff --git a/src/libs/Cohere/Generated/Cohere.Models.ChatDebugEvent.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ChatDebugEvent.g.cs
index 6a0dc554..0e1611f5 100644
--- a/src/libs/Cohere/Generated/Cohere.Models.ChatDebugEvent.g.cs
+++ b/src/libs/Cohere/Generated/Cohere.Models.ChatDebugEvent.g.cs
@@ -29,7 +29,7 @@ namespace Cohere
///
///
///
- public static implicit operator ChatDebugEvent(global::Cohere.ChatStreamEvent value) => new ChatDebugEvent(value);
+ public static implicit operator ChatDebugEvent(global::Cohere.ChatStreamEvent value) => new ChatDebugEvent((global::Cohere.ChatStreamEvent?)value);
///
///
@@ -64,7 +64,7 @@ public ChatDebugEvent(global::Cohere.ChatStreamEvent? value)
///
///
///
- public static implicit operator ChatDebugEvent(global::Cohere.ChatDebugEventVariant2 value) => new ChatDebugEvent(value);
+ public static implicit operator ChatDebugEvent(global::Cohere.ChatDebugEventVariant2 value) => new ChatDebugEvent((global::Cohere.ChatDebugEventVariant2?)value);
///
///
diff --git a/src/libs/Cohere/Generated/Cohere.Models.ChatMessageEndEvent.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ChatMessageEndEvent.g.cs
index 20a562c3..e698d133 100644
--- a/src/libs/Cohere/Generated/Cohere.Models.ChatMessageEndEvent.g.cs
+++ b/src/libs/Cohere/Generated/Cohere.Models.ChatMessageEndEvent.g.cs
@@ -29,7 +29,7 @@ namespace Cohere
///
///
///
- public static implicit operator ChatMessageEndEvent(global::Cohere.ChatStreamEventType value) => new ChatMessageEndEvent(value);
+ public static implicit operator ChatMessageEndEvent(global::Cohere.ChatStreamEventType value) => new ChatMessageEndEvent((global::Cohere.ChatStreamEventType?)value);
///
///
@@ -64,7 +64,7 @@ public ChatMessageEndEvent(global::Cohere.ChatStreamEventType? value)
///
///
///
- public static implicit operator ChatMessageEndEvent(global::Cohere.ChatMessageEndEventVariant2 value) => new ChatMessageEndEvent(value);
+ public static implicit operator ChatMessageEndEvent(global::Cohere.ChatMessageEndEventVariant2 value) => new ChatMessageEndEvent((global::Cohere.ChatMessageEndEventVariant2?)value);
///
///
diff --git a/src/libs/Cohere/Generated/Cohere.Models.ChatMessageStartEvent.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ChatMessageStartEvent.g.cs
index d436529e..581c016e 100644
--- a/src/libs/Cohere/Generated/Cohere.Models.ChatMessageStartEvent.g.cs
+++ b/src/libs/Cohere/Generated/Cohere.Models.ChatMessageStartEvent.g.cs
@@ -29,7 +29,7 @@ namespace Cohere
///
///
///
- public static implicit operator ChatMessageStartEvent(global::Cohere.ChatStreamEventType value) => new ChatMessageStartEvent(value);
+ public static implicit operator ChatMessageStartEvent(global::Cohere.ChatStreamEventType value) => new ChatMessageStartEvent((global::Cohere.ChatStreamEventType?)value);
///
///
@@ -64,7 +64,7 @@ public ChatMessageStartEvent(global::Cohere.ChatStreamEventType? value)
///
///
///
- public static implicit operator ChatMessageStartEvent(global::Cohere.ChatMessageStartEventVariant2 value) => new ChatMessageStartEvent(value);
+ public static implicit operator ChatMessageStartEvent(global::Cohere.ChatMessageStartEventVariant2 value) => new ChatMessageStartEvent((global::Cohere.ChatMessageStartEventVariant2?)value);
///
///
diff --git a/src/libs/Cohere/Generated/Cohere.Models.ChatMessageV2.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ChatMessageV2.g.cs
index 81aa1d64..c90420dc 100644
--- a/src/libs/Cohere/Generated/Cohere.Models.ChatMessageV2.g.cs
+++ b/src/libs/Cohere/Generated/Cohere.Models.ChatMessageV2.g.cs
@@ -34,7 +34,7 @@ namespace Cohere
///
///
///
- public static implicit operator ChatMessageV2(global::Cohere.UserMessage value) => new ChatMessageV2(value);
+ public static implicit operator ChatMessageV2(global::Cohere.UserMessage value) => new ChatMessageV2((global::Cohere.UserMessage?)value);
///
///
@@ -69,7 +69,7 @@ public ChatMessageV2(global::Cohere.UserMessage? value)
///
///
///
- public static implicit operator ChatMessageV2(global::Cohere.AssistantMessage value) => new ChatMessageV2(value);
+ public static implicit operator ChatMessageV2(global::Cohere.AssistantMessage value) => new ChatMessageV2((global::Cohere.AssistantMessage?)value);
///
///
@@ -104,7 +104,7 @@ public ChatMessageV2(global::Cohere.AssistantMessage? value)
///
///
///
- public static implicit operator ChatMessageV2(global::Cohere.SystemMessage value) => new ChatMessageV2(value);
+ public static implicit operator ChatMessageV2(global::Cohere.SystemMessage value) => new ChatMessageV2((global::Cohere.SystemMessage?)value);
///
///
@@ -139,7 +139,7 @@ public ChatMessageV2(global::Cohere.SystemMessage? value)
///
///
///
- public static implicit operator ChatMessageV2(global::Cohere.ToolMessageV2 value) => new ChatMessageV2(value);
+ public static implicit operator ChatMessageV2(global::Cohere.ToolMessageV2 value) => new ChatMessageV2((global::Cohere.ToolMessageV2?)value);
///
///
diff --git a/src/libs/Cohere/Generated/Cohere.Models.ChatSearchQueriesGenerationEvent.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ChatSearchQueriesGenerationEvent.g.cs
index 16250b80..8845375c 100644
--- a/src/libs/Cohere/Generated/Cohere.Models.ChatSearchQueriesGenerationEvent.g.cs
+++ b/src/libs/Cohere/Generated/Cohere.Models.ChatSearchQueriesGenerationEvent.g.cs
@@ -29,7 +29,7 @@ namespace Cohere
///
///
///
- public static implicit operator ChatSearchQueriesGenerationEvent(global::Cohere.ChatStreamEvent value) => new ChatSearchQueriesGenerationEvent(value);
+ public static implicit operator ChatSearchQueriesGenerationEvent(global::Cohere.ChatStreamEvent value) => new ChatSearchQueriesGenerationEvent((global::Cohere.ChatStreamEvent?)value);
///
///
@@ -64,7 +64,7 @@ public ChatSearchQueriesGenerationEvent(global::Cohere.ChatStreamEvent? value)
///
///
///
- public static implicit operator ChatSearchQueriesGenerationEvent(global::Cohere.ChatSearchQueriesGenerationEventVariant2 value) => new ChatSearchQueriesGenerationEvent(value);
+ public static implicit operator ChatSearchQueriesGenerationEvent(global::Cohere.ChatSearchQueriesGenerationEventVariant2 value) => new ChatSearchQueriesGenerationEvent((global::Cohere.ChatSearchQueriesGenerationEventVariant2?)value);
///
///
diff --git a/src/libs/Cohere/Generated/Cohere.Models.ChatSearchResultsEvent.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ChatSearchResultsEvent.g.cs
index d8792900..b0d16c5b 100644
--- a/src/libs/Cohere/Generated/Cohere.Models.ChatSearchResultsEvent.g.cs
+++ b/src/libs/Cohere/Generated/Cohere.Models.ChatSearchResultsEvent.g.cs
@@ -29,7 +29,7 @@ namespace Cohere
///
///
///
- public static implicit operator ChatSearchResultsEvent(global::Cohere.ChatStreamEvent value) => new ChatSearchResultsEvent(value);
+ public static implicit operator ChatSearchResultsEvent(global::Cohere.ChatStreamEvent value) => new ChatSearchResultsEvent((global::Cohere.ChatStreamEvent?)value);
///
///
@@ -64,7 +64,7 @@ public ChatSearchResultsEvent(global::Cohere.ChatStreamEvent? value)
///
///
///
- public static implicit operator ChatSearchResultsEvent(global::Cohere.ChatSearchResultsEventVariant2 value) => new ChatSearchResultsEvent(value);
+ public static implicit operator ChatSearchResultsEvent(global::Cohere.ChatSearchResultsEventVariant2 value) => new ChatSearchResultsEvent((global::Cohere.ChatSearchResultsEventVariant2?)value);
///
///
diff --git a/src/libs/Cohere/Generated/Cohere.Models.ChatStreamEndEvent.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ChatStreamEndEvent.g.cs
index a18593ff..dd284ac1 100644
--- a/src/libs/Cohere/Generated/Cohere.Models.ChatStreamEndEvent.g.cs
+++ b/src/libs/Cohere/Generated/Cohere.Models.ChatStreamEndEvent.g.cs
@@ -29,7 +29,7 @@ namespace Cohere
///
///
///
- public static implicit operator ChatStreamEndEvent(global::Cohere.ChatStreamEvent value) => new ChatStreamEndEvent(value);
+ public static implicit operator ChatStreamEndEvent(global::Cohere.ChatStreamEvent value) => new ChatStreamEndEvent((global::Cohere.ChatStreamEvent?)value);
///
///
@@ -64,7 +64,7 @@ public ChatStreamEndEvent(global::Cohere.ChatStreamEvent? value)
///
///
///
- public static implicit operator ChatStreamEndEvent(global::Cohere.ChatStreamEndEventVariant2 value) => new ChatStreamEndEvent(value);
+ public static implicit operator ChatStreamEndEvent(global::Cohere.ChatStreamEndEventVariant2 value) => new ChatStreamEndEvent((global::Cohere.ChatStreamEndEventVariant2?)value);
///
///
diff --git a/src/libs/Cohere/Generated/Cohere.Models.ChatStreamStartEvent.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ChatStreamStartEvent.g.cs
index ed479597..81adb573 100644
--- a/src/libs/Cohere/Generated/Cohere.Models.ChatStreamStartEvent.g.cs
+++ b/src/libs/Cohere/Generated/Cohere.Models.ChatStreamStartEvent.g.cs
@@ -29,7 +29,7 @@ namespace Cohere
///
///
///
- public static implicit operator ChatStreamStartEvent(global::Cohere.ChatStreamEvent value) => new ChatStreamStartEvent(value);
+ public static implicit operator ChatStreamStartEvent(global::Cohere.ChatStreamEvent value) => new ChatStreamStartEvent((global::Cohere.ChatStreamEvent?)value);
///
///
@@ -64,7 +64,7 @@ public ChatStreamStartEvent(global::Cohere.ChatStreamEvent? value)
///
///
///
- public static implicit operator ChatStreamStartEvent(global::Cohere.ChatStreamStartEventVariant2 value) => new ChatStreamStartEvent(value);
+ public static implicit operator ChatStreamStartEvent(global::Cohere.ChatStreamStartEventVariant2 value) => new ChatStreamStartEvent((global::Cohere.ChatStreamStartEventVariant2?)value);
///
///
diff --git a/src/libs/Cohere/Generated/Cohere.Models.ChatTextGenerationEvent.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ChatTextGenerationEvent.g.cs
index 2bf723f9..89cde9eb 100644
--- a/src/libs/Cohere/Generated/Cohere.Models.ChatTextGenerationEvent.g.cs
+++ b/src/libs/Cohere/Generated/Cohere.Models.ChatTextGenerationEvent.g.cs
@@ -29,7 +29,7 @@ namespace Cohere
///
///
///
- public static implicit operator ChatTextGenerationEvent(global::Cohere.ChatStreamEvent value) => new ChatTextGenerationEvent(value);
+ public static implicit operator ChatTextGenerationEvent(global::Cohere.ChatStreamEvent value) => new ChatTextGenerationEvent((global::Cohere.ChatStreamEvent?)value);
///
///
@@ -64,7 +64,7 @@ public ChatTextGenerationEvent(global::Cohere.ChatStreamEvent? value)
///
///
///
- public static implicit operator ChatTextGenerationEvent(global::Cohere.ChatTextGenerationEventVariant2 value) => new ChatTextGenerationEvent(value);
+ public static implicit operator ChatTextGenerationEvent(global::Cohere.ChatTextGenerationEventVariant2 value) => new ChatTextGenerationEvent((global::Cohere.ChatTextGenerationEventVariant2?)value);
///
///
diff --git a/src/libs/Cohere/Generated/Cohere.Models.ChatToolCallDeltaEvent.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ChatToolCallDeltaEvent.g.cs
index c4e738c7..a36985ae 100644
--- a/src/libs/Cohere/Generated/Cohere.Models.ChatToolCallDeltaEvent.g.cs
+++ b/src/libs/Cohere/Generated/Cohere.Models.ChatToolCallDeltaEvent.g.cs
@@ -29,7 +29,7 @@ namespace Cohere
///
///
///
- public static implicit operator ChatToolCallDeltaEvent(global::Cohere.ChatStreamEventType value) => new ChatToolCallDeltaEvent(value);
+ public static implicit operator ChatToolCallDeltaEvent(global::Cohere.ChatStreamEventType value) => new ChatToolCallDeltaEvent((global::Cohere.ChatStreamEventType?)value);
///
///
@@ -64,7 +64,7 @@ public ChatToolCallDeltaEvent(global::Cohere.ChatStreamEventType? value)
///
///
///
- public static implicit operator ChatToolCallDeltaEvent(global::Cohere.ChatToolCallDeltaEventVariant2 value) => new ChatToolCallDeltaEvent(value);
+ public static implicit operator ChatToolCallDeltaEvent(global::Cohere.ChatToolCallDeltaEventVariant2 value) => new ChatToolCallDeltaEvent((global::Cohere.ChatToolCallDeltaEventVariant2?)value);
///
///
diff --git a/src/libs/Cohere/Generated/Cohere.Models.ChatToolCallEndEvent.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ChatToolCallEndEvent.g.cs
index 4c2e0c5a..32622b86 100644
--- a/src/libs/Cohere/Generated/Cohere.Models.ChatToolCallEndEvent.g.cs
+++ b/src/libs/Cohere/Generated/Cohere.Models.ChatToolCallEndEvent.g.cs
@@ -29,7 +29,7 @@ namespace Cohere
///
///
///
- public static implicit operator ChatToolCallEndEvent(global::Cohere.ChatStreamEventType value) => new ChatToolCallEndEvent(value);
+ public static implicit operator ChatToolCallEndEvent(global::Cohere.ChatStreamEventType value) => new ChatToolCallEndEvent((global::Cohere.ChatStreamEventType?)value);
///
///
@@ -64,7 +64,7 @@ public ChatToolCallEndEvent(global::Cohere.ChatStreamEventType? value)
///
///
///
- public static implicit operator ChatToolCallEndEvent(global::Cohere.ChatToolCallEndEventVariant2 value) => new ChatToolCallEndEvent(value);
+ public static implicit operator ChatToolCallEndEvent(global::Cohere.ChatToolCallEndEventVariant2 value) => new ChatToolCallEndEvent((global::Cohere.ChatToolCallEndEventVariant2?)value);
///
///
diff --git a/src/libs/Cohere/Generated/Cohere.Models.ChatToolCallStartEvent.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ChatToolCallStartEvent.g.cs
index d559d621..725aaf5a 100644
--- a/src/libs/Cohere/Generated/Cohere.Models.ChatToolCallStartEvent.g.cs
+++ b/src/libs/Cohere/Generated/Cohere.Models.ChatToolCallStartEvent.g.cs
@@ -29,7 +29,7 @@ namespace Cohere
///
///
///
- public static implicit operator ChatToolCallStartEvent(global::Cohere.ChatStreamEventType value) => new ChatToolCallStartEvent(value);
+ public static implicit operator ChatToolCallStartEvent(global::Cohere.ChatStreamEventType value) => new ChatToolCallStartEvent((global::Cohere.ChatStreamEventType?)value);
///
///
@@ -64,7 +64,7 @@ public ChatToolCallStartEvent(global::Cohere.ChatStreamEventType? value)
///
///
///
- public static implicit operator ChatToolCallStartEvent(global::Cohere.ChatToolCallStartEventVariant2 value) => new ChatToolCallStartEvent(value);
+ public static implicit operator ChatToolCallStartEvent(global::Cohere.ChatToolCallStartEventVariant2 value) => new ChatToolCallStartEvent((global::Cohere.ChatToolCallStartEventVariant2?)value);
///
///
diff --git a/src/libs/Cohere/Generated/Cohere.Models.ChatToolCallsChunkEvent.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ChatToolCallsChunkEvent.g.cs
index 4b2a019f..d1799c61 100644
--- a/src/libs/Cohere/Generated/Cohere.Models.ChatToolCallsChunkEvent.g.cs
+++ b/src/libs/Cohere/Generated/Cohere.Models.ChatToolCallsChunkEvent.g.cs
@@ -29,7 +29,7 @@ namespace Cohere
///
///
///
- public static implicit operator ChatToolCallsChunkEvent(global::Cohere.ChatStreamEvent value) => new ChatToolCallsChunkEvent(value);
+ public static implicit operator ChatToolCallsChunkEvent(global::Cohere.ChatStreamEvent value) => new ChatToolCallsChunkEvent((global::Cohere.ChatStreamEvent?)value);
///
///
@@ -64,7 +64,7 @@ public ChatToolCallsChunkEvent(global::Cohere.ChatStreamEvent? value)
///
///
///
- public static implicit operator ChatToolCallsChunkEvent(global::Cohere.ChatToolCallsChunkEventVariant2 value) => new ChatToolCallsChunkEvent(value);
+ public static implicit operator ChatToolCallsChunkEvent(global::Cohere.ChatToolCallsChunkEventVariant2 value) => new ChatToolCallsChunkEvent((global::Cohere.ChatToolCallsChunkEventVariant2?)value);
///
///
diff --git a/src/libs/Cohere/Generated/Cohere.Models.ChatToolCallsGenerationEvent.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ChatToolCallsGenerationEvent.g.cs
index 1ed48fa9..e58a1aaa 100644
--- a/src/libs/Cohere/Generated/Cohere.Models.ChatToolCallsGenerationEvent.g.cs
+++ b/src/libs/Cohere/Generated/Cohere.Models.ChatToolCallsGenerationEvent.g.cs
@@ -29,7 +29,7 @@ namespace Cohere
///
///
///
- public static implicit operator ChatToolCallsGenerationEvent(global::Cohere.ChatStreamEvent value) => new ChatToolCallsGenerationEvent(value);
+ public static implicit operator ChatToolCallsGenerationEvent(global::Cohere.ChatStreamEvent value) => new ChatToolCallsGenerationEvent((global::Cohere.ChatStreamEvent?)value);
///
///
@@ -64,7 +64,7 @@ public ChatToolCallsGenerationEvent(global::Cohere.ChatStreamEvent? value)
///
///
///
- public static implicit operator ChatToolCallsGenerationEvent(global::Cohere.ChatToolCallsGenerationEventVariant2 value) => new ChatToolCallsGenerationEvent(value);
+ public static implicit operator ChatToolCallsGenerationEvent(global::Cohere.ChatToolCallsGenerationEventVariant2 value) => new ChatToolCallsGenerationEvent((global::Cohere.ChatToolCallsGenerationEventVariant2?)value);
///
///
diff --git a/src/libs/Cohere/Generated/Cohere.Models.ChatToolPlanDeltaEvent.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ChatToolPlanDeltaEvent.g.cs
index c44d5898..a22a5f57 100644
--- a/src/libs/Cohere/Generated/Cohere.Models.ChatToolPlanDeltaEvent.g.cs
+++ b/src/libs/Cohere/Generated/Cohere.Models.ChatToolPlanDeltaEvent.g.cs
@@ -29,7 +29,7 @@ namespace Cohere
///
///
///
- public static implicit operator ChatToolPlanDeltaEvent(global::Cohere.ChatStreamEventType value) => new ChatToolPlanDeltaEvent(value);
+ public static implicit operator ChatToolPlanDeltaEvent(global::Cohere.ChatStreamEventType value) => new ChatToolPlanDeltaEvent((global::Cohere.ChatStreamEventType?)value);
///
///
@@ -64,7 +64,7 @@ public ChatToolPlanDeltaEvent(global::Cohere.ChatStreamEventType? value)
///
///
///
- public static implicit operator ChatToolPlanDeltaEvent(global::Cohere.ChatToolPlanDeltaEventVariant2 value) => new ChatToolPlanDeltaEvent(value);
+ public static implicit operator ChatToolPlanDeltaEvent(global::Cohere.ChatToolPlanDeltaEventVariant2 value) => new ChatToolPlanDeltaEvent((global::Cohere.ChatToolPlanDeltaEventVariant2?)value);
///
///
diff --git a/src/libs/Cohere/Generated/Cohere.Models.CitationEndEvent.g.cs b/src/libs/Cohere/Generated/Cohere.Models.CitationEndEvent.g.cs
index a9dfea8f..f2943be3 100644
--- a/src/libs/Cohere/Generated/Cohere.Models.CitationEndEvent.g.cs
+++ b/src/libs/Cohere/Generated/Cohere.Models.CitationEndEvent.g.cs
@@ -29,7 +29,7 @@ namespace Cohere
///
///
///
- public static implicit operator CitationEndEvent(global::Cohere.ChatStreamEventType value) => new CitationEndEvent(value);
+ public static implicit operator CitationEndEvent(global::Cohere.ChatStreamEventType value) => new CitationEndEvent((global::Cohere.ChatStreamEventType?)value);
///
///
@@ -64,7 +64,7 @@ public CitationEndEvent(global::Cohere.ChatStreamEventType? value)
///
///
///
- public static implicit operator CitationEndEvent(global::Cohere.CitationEndEventVariant2 value) => new CitationEndEvent(value);
+ public static implicit operator CitationEndEvent(global::Cohere.CitationEndEventVariant2 value) => new CitationEndEvent((global::Cohere.CitationEndEventVariant2?)value);
///
///
diff --git a/src/libs/Cohere/Generated/Cohere.Models.CitationStartEvent.g.cs b/src/libs/Cohere/Generated/Cohere.Models.CitationStartEvent.g.cs
index c84f6817..369b4562 100644
--- a/src/libs/Cohere/Generated/Cohere.Models.CitationStartEvent.g.cs
+++ b/src/libs/Cohere/Generated/Cohere.Models.CitationStartEvent.g.cs
@@ -29,7 +29,7 @@ namespace Cohere
///
///
///
- public static implicit operator CitationStartEvent(global::Cohere.ChatStreamEventType value) => new CitationStartEvent(value);
+ public static implicit operator CitationStartEvent(global::Cohere.ChatStreamEventType value) => new CitationStartEvent((global::Cohere.ChatStreamEventType?)value);
///
///
@@ -64,7 +64,7 @@ public CitationStartEvent(global::Cohere.ChatStreamEventType? value)
///
///
///
- public static implicit operator CitationStartEvent(global::Cohere.CitationStartEventVariant2 value) => new CitationStartEvent(value);
+ public static implicit operator CitationStartEvent(global::Cohere.CitationStartEventVariant2 value) => new CitationStartEvent((global::Cohere.CitationStartEventVariant2?)value);
///
///
diff --git a/src/libs/Cohere/Generated/Cohere.Models.Content2.g.cs b/src/libs/Cohere/Generated/Cohere.Models.Content2.g.cs
index e4fcaf1c..607ebf28 100644
--- a/src/libs/Cohere/Generated/Cohere.Models.Content2.g.cs
+++ b/src/libs/Cohere/Generated/Cohere.Models.Content2.g.cs
@@ -34,7 +34,7 @@ namespace Cohere
///
///
///
- public static implicit operator Content2(global::Cohere.TextContent value) => new Content2(value);
+ public static implicit operator Content2(global::Cohere.TextContent value) => new Content2((global::Cohere.TextContent?)value);
///
///
@@ -69,7 +69,7 @@ public Content2(global::Cohere.TextContent? value)
///
///
///
- public static implicit operator Content2(global::Cohere.ImageContent value) => new Content2(value);
+ public static implicit operator Content2(global::Cohere.ImageContent value) => new Content2((global::Cohere.ImageContent?)value);
///
///
diff --git a/src/libs/Cohere/Generated/Cohere.Models.ContentItem.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ContentItem.g.cs
index bfef4bb4..a1ea4610 100644
--- a/src/libs/Cohere/Generated/Cohere.Models.ContentItem.g.cs
+++ b/src/libs/Cohere/Generated/Cohere.Models.ContentItem.g.cs
@@ -34,7 +34,7 @@ namespace Cohere
///
///
///
- public static implicit operator ContentItem(global::Cohere.TextContent value) => new ContentItem(value);
+ public static implicit operator ContentItem(global::Cohere.TextContent value) => new ContentItem((global::Cohere.TextContent?)value);
///
///
diff --git a/src/libs/Cohere/Generated/Cohere.Models.ContentVariant2Item.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ContentVariant2Item.g.cs
index 8d834251..98f5c6b4 100644
--- a/src/libs/Cohere/Generated/Cohere.Models.ContentVariant2Item.g.cs
+++ b/src/libs/Cohere/Generated/Cohere.Models.ContentVariant2Item.g.cs
@@ -34,7 +34,7 @@ namespace Cohere
///
///
///
- public static implicit operator ContentVariant2Item(global::Cohere.TextContent value) => new ContentVariant2Item(value);
+ public static implicit operator ContentVariant2Item(global::Cohere.TextContent value) => new ContentVariant2Item((global::Cohere.TextContent?)value);
///
///
diff --git a/src/libs/Cohere/Generated/Cohere.Models.ContentVariant2Item2.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ContentVariant2Item2.g.cs
index cead53c1..f8ad7860 100644
--- a/src/libs/Cohere/Generated/Cohere.Models.ContentVariant2Item2.g.cs
+++ b/src/libs/Cohere/Generated/Cohere.Models.ContentVariant2Item2.g.cs
@@ -34,7 +34,7 @@ namespace Cohere
///
///
///
- public static implicit operator ContentVariant2Item2(global::Cohere.TextContent value) => new ContentVariant2Item2(value);
+ public static implicit operator ContentVariant2Item2(global::Cohere.TextContent value) => new ContentVariant2Item2((global::Cohere.TextContent?)value);
///
///
diff --git a/src/libs/Cohere/Generated/Cohere.Models.EmbedContent.g.cs b/src/libs/Cohere/Generated/Cohere.Models.EmbedContent.g.cs
index 0edd424f..c8d96093 100644
--- a/src/libs/Cohere/Generated/Cohere.Models.EmbedContent.g.cs
+++ b/src/libs/Cohere/Generated/Cohere.Models.EmbedContent.g.cs
@@ -34,7 +34,7 @@ namespace Cohere
///
///
///
- public static implicit operator EmbedContent(global::Cohere.EmbedImage value) => new EmbedContent(value);
+ public static implicit operator EmbedContent(global::Cohere.EmbedImage value) => new EmbedContent((global::Cohere.EmbedImage?)value);
///
///
@@ -69,7 +69,7 @@ public EmbedContent(global::Cohere.EmbedImage? value)
///
///
///
- public static implicit operator EmbedContent(global::Cohere.EmbedText value) => new EmbedContent(value);
+ public static implicit operator EmbedContent(global::Cohere.EmbedText value) => new EmbedContent((global::Cohere.EmbedText?)value);
///
///
diff --git a/src/libs/Cohere/Generated/Cohere.Models.EmbedResponse.g.cs b/src/libs/Cohere/Generated/Cohere.Models.EmbedResponse.g.cs
index ad187a2d..78c21cfb 100644
--- a/src/libs/Cohere/Generated/Cohere.Models.EmbedResponse.g.cs
+++ b/src/libs/Cohere/Generated/Cohere.Models.EmbedResponse.g.cs
@@ -34,7 +34,7 @@ namespace Cohere
///
///
///
- public static implicit operator EmbedResponse(global::Cohere.EmbedFloatsResponse value) => new EmbedResponse(value);
+ public static implicit operator EmbedResponse(global::Cohere.EmbedFloatsResponse value) => new EmbedResponse((global::Cohere.EmbedFloatsResponse?)value);
///
///
@@ -69,7 +69,7 @@ public EmbedResponse(global::Cohere.EmbedFloatsResponse? value)
///
///
///
- public static implicit operator EmbedResponse(global::Cohere.EmbedByTypeResponse value) => new EmbedResponse(value);
+ public static implicit operator EmbedResponse(global::Cohere.EmbedByTypeResponse value) => new EmbedResponse((global::Cohere.EmbedByTypeResponse?)value);
///
///
diff --git a/src/libs/Cohere/Generated/Cohere.Models.GenerateStreamEnd.g.cs b/src/libs/Cohere/Generated/Cohere.Models.GenerateStreamEnd.g.cs
index c2c3f308..e9ee8e93 100644
--- a/src/libs/Cohere/Generated/Cohere.Models.GenerateStreamEnd.g.cs
+++ b/src/libs/Cohere/Generated/Cohere.Models.GenerateStreamEnd.g.cs
@@ -29,7 +29,7 @@ namespace Cohere
///
///
///
- public static implicit operator GenerateStreamEnd(global::Cohere.GenerateStreamEvent value) => new GenerateStreamEnd(value);
+ public static implicit operator GenerateStreamEnd(global::Cohere.GenerateStreamEvent value) => new GenerateStreamEnd((global::Cohere.GenerateStreamEvent?)value);
///
///
@@ -64,7 +64,7 @@ public GenerateStreamEnd(global::Cohere.GenerateStreamEvent? value)
///
///
///
- public static implicit operator GenerateStreamEnd(global::Cohere.GenerateStreamEndVariant2 value) => new GenerateStreamEnd(value);
+ public static implicit operator GenerateStreamEnd(global::Cohere.GenerateStreamEndVariant2 value) => new GenerateStreamEnd((global::Cohere.GenerateStreamEndVariant2?)value);
///
///
diff --git a/src/libs/Cohere/Generated/Cohere.Models.GenerateStreamError.g.cs b/src/libs/Cohere/Generated/Cohere.Models.GenerateStreamError.g.cs
index 0c128a45..32869f1a 100644
--- a/src/libs/Cohere/Generated/Cohere.Models.GenerateStreamError.g.cs
+++ b/src/libs/Cohere/Generated/Cohere.Models.GenerateStreamError.g.cs
@@ -29,7 +29,7 @@ namespace Cohere
///
///
///
- public static implicit operator GenerateStreamError(global::Cohere.GenerateStreamEvent value) => new GenerateStreamError(value);
+ public static implicit operator GenerateStreamError(global::Cohere.GenerateStreamEvent value) => new GenerateStreamError((global::Cohere.GenerateStreamEvent?)value);
///
///
@@ -64,7 +64,7 @@ public GenerateStreamError(global::Cohere.GenerateStreamEvent? value)
///
///
///
- public static implicit operator GenerateStreamError(global::Cohere.GenerateStreamErrorVariant2 value) => new GenerateStreamError(value);
+ public static implicit operator GenerateStreamError(global::Cohere.GenerateStreamErrorVariant2 value) => new GenerateStreamError((global::Cohere.GenerateStreamErrorVariant2?)value);
///
///
diff --git a/src/libs/Cohere/Generated/Cohere.Models.GenerateStreamText.g.cs b/src/libs/Cohere/Generated/Cohere.Models.GenerateStreamText.g.cs
index 7de3bcdc..3105c376 100644
--- a/src/libs/Cohere/Generated/Cohere.Models.GenerateStreamText.g.cs
+++ b/src/libs/Cohere/Generated/Cohere.Models.GenerateStreamText.g.cs
@@ -29,7 +29,7 @@ namespace Cohere
///
///
///
- public static implicit operator GenerateStreamText(global::Cohere.GenerateStreamEvent value) => new GenerateStreamText(value);
+ public static implicit operator GenerateStreamText(global::Cohere.GenerateStreamEvent value) => new GenerateStreamText((global::Cohere.GenerateStreamEvent?)value);
///
///
@@ -64,7 +64,7 @@ public GenerateStreamText(global::Cohere.GenerateStreamEvent? value)
///
///
///
- public static implicit operator GenerateStreamText(global::Cohere.GenerateStreamTextVariant2 value) => new GenerateStreamText(value);
+ public static implicit operator GenerateStreamText(global::Cohere.GenerateStreamTextVariant2 value) => new GenerateStreamText((global::Cohere.GenerateStreamTextVariant2?)value);
///
///
diff --git a/src/libs/Cohere/Generated/Cohere.Models.GenerateStreamedResponse.g.cs b/src/libs/Cohere/Generated/Cohere.Models.GenerateStreamedResponse.g.cs
index f16f9b57..f176e39b 100644
--- a/src/libs/Cohere/Generated/Cohere.Models.GenerateStreamedResponse.g.cs
+++ b/src/libs/Cohere/Generated/Cohere.Models.GenerateStreamedResponse.g.cs
@@ -34,7 +34,7 @@ namespace Cohere
///
///
///
- public static implicit operator GenerateStreamedResponse(global::Cohere.GenerateStreamText value) => new GenerateStreamedResponse(value);
+ public static implicit operator GenerateStreamedResponse(global::Cohere.GenerateStreamText value) => new GenerateStreamedResponse((global::Cohere.GenerateStreamText?)value);
///
///
@@ -69,7 +69,7 @@ public GenerateStreamedResponse(global::Cohere.GenerateStreamText? value)
///
///
///
- public static implicit operator GenerateStreamedResponse(global::Cohere.GenerateStreamEnd value) => new GenerateStreamedResponse(value);
+ public static implicit operator GenerateStreamedResponse(global::Cohere.GenerateStreamEnd value) => new GenerateStreamedResponse((global::Cohere.GenerateStreamEnd?)value);
///
///
@@ -104,7 +104,7 @@ public GenerateStreamedResponse(global::Cohere.GenerateStreamEnd? value)
///
///
///
- public static implicit operator GenerateStreamedResponse(global::Cohere.GenerateStreamError value) => new GenerateStreamedResponse(value);
+ public static implicit operator GenerateStreamedResponse(global::Cohere.GenerateStreamError value) => new GenerateStreamedResponse((global::Cohere.GenerateStreamError?)value);
///
///
diff --git a/src/libs/Cohere/Generated/Cohere.Models.Message.g.cs b/src/libs/Cohere/Generated/Cohere.Models.Message.g.cs
index 013c27d5..848ed205 100644
--- a/src/libs/Cohere/Generated/Cohere.Models.Message.g.cs
+++ b/src/libs/Cohere/Generated/Cohere.Models.Message.g.cs
@@ -35,7 +35,7 @@ namespace Cohere
///
///
///
- public static implicit operator Message(global::Cohere.ChatMessage value) => new Message(value);
+ public static implicit operator Message(global::Cohere.ChatMessage value) => new Message((global::Cohere.ChatMessage?)value);
///
///
@@ -70,7 +70,7 @@ public Message(global::Cohere.ChatMessage? value)
///
///
///
- public static implicit operator Message(global::Cohere.ToolMessage value) => new Message(value);
+ public static implicit operator Message(global::Cohere.ToolMessage value) => new Message((global::Cohere.ToolMessage?)value);
///
///
diff --git a/src/libs/Cohere/Generated/Cohere.Models.ResponseFormat.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ResponseFormat.g.cs
index 4ed5f3f9..bfd0e846 100644
--- a/src/libs/Cohere/Generated/Cohere.Models.ResponseFormat.g.cs
+++ b/src/libs/Cohere/Generated/Cohere.Models.ResponseFormat.g.cs
@@ -38,7 +38,7 @@ namespace Cohere
///
///
///
- public static implicit operator ResponseFormat(global::Cohere.TextResponseFormat value) => new ResponseFormat(value);
+ public static implicit operator ResponseFormat(global::Cohere.TextResponseFormat value) => new ResponseFormat((global::Cohere.TextResponseFormat?)value);
///
///
@@ -73,7 +73,7 @@ public ResponseFormat(global::Cohere.TextResponseFormat? value)
///
///
///
- public static implicit operator ResponseFormat(global::Cohere.JSONResponseFormat value) => new ResponseFormat(value);
+ public static implicit operator ResponseFormat(global::Cohere.JSONResponseFormat value) => new ResponseFormat((global::Cohere.JSONResponseFormat?)value);
///
///
diff --git a/src/libs/Cohere/Generated/Cohere.Models.ResponseFormatV2.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ResponseFormatV2.g.cs
index 6ab0d2a7..d6b592d7 100644
--- a/src/libs/Cohere/Generated/Cohere.Models.ResponseFormatV2.g.cs
+++ b/src/libs/Cohere/Generated/Cohere.Models.ResponseFormatV2.g.cs
@@ -39,7 +39,7 @@ namespace Cohere
///
///
///
- public static implicit operator ResponseFormatV2(global::Cohere.TextResponseFormatV2 value) => new ResponseFormatV2(value);
+ public static implicit operator ResponseFormatV2(global::Cohere.TextResponseFormatV2 value) => new ResponseFormatV2((global::Cohere.TextResponseFormatV2?)value);
///
///
@@ -74,7 +74,7 @@ public ResponseFormatV2(global::Cohere.TextResponseFormatV2? value)
///
///
///
- public static implicit operator ResponseFormatV2(global::Cohere.JsonResponseFormatV2 value) => new ResponseFormatV2(value);
+ public static implicit operator ResponseFormatV2(global::Cohere.JsonResponseFormatV2 value) => new ResponseFormatV2((global::Cohere.JsonResponseFormatV2?)value);
///
///
diff --git a/src/libs/Cohere/Generated/Cohere.Models.Source.g.cs b/src/libs/Cohere/Generated/Cohere.Models.Source.g.cs
index 26f95813..157e3c3a 100644
--- a/src/libs/Cohere/Generated/Cohere.Models.Source.g.cs
+++ b/src/libs/Cohere/Generated/Cohere.Models.Source.g.cs
@@ -29,7 +29,7 @@ namespace Cohere
///
///
///
- public static implicit operator Source(global::Cohere.ToolSource value) => new Source(value);
+ public static implicit operator Source(global::Cohere.ToolSource value) => new Source((global::Cohere.ToolSource?)value);
///
///
@@ -64,7 +64,7 @@ public Source(global::Cohere.ToolSource? value)
///
///
///
- public static implicit operator Source(global::Cohere.DocumentSource value) => new Source(value);
+ public static implicit operator Source(global::Cohere.DocumentSource value) => new Source((global::Cohere.DocumentSource?)value);
///
///
diff --git a/src/libs/Cohere/Generated/Cohere.Models.StreamedChatResponse.g.cs b/src/libs/Cohere/Generated/Cohere.Models.StreamedChatResponse.g.cs
index 89b4ed2d..a5bf3bea 100644
--- a/src/libs/Cohere/Generated/Cohere.Models.StreamedChatResponse.g.cs
+++ b/src/libs/Cohere/Generated/Cohere.Models.StreamedChatResponse.g.cs
@@ -34,7 +34,7 @@ namespace Cohere
///
///
///
- public static implicit operator StreamedChatResponse(global::Cohere.ChatStreamStartEvent value) => new StreamedChatResponse(value);
+ public static implicit operator StreamedChatResponse(global::Cohere.ChatStreamStartEvent value) => new StreamedChatResponse((global::Cohere.ChatStreamStartEvent?)value);
///
///
@@ -69,7 +69,7 @@ public StreamedChatResponse(global::Cohere.ChatStreamStartEvent? value)
///
///
///
- public static implicit operator StreamedChatResponse(global::Cohere.ChatSearchQueriesGenerationEvent value) => new StreamedChatResponse(value);
+ public static implicit operator StreamedChatResponse(global::Cohere.ChatSearchQueriesGenerationEvent value) => new StreamedChatResponse((global::Cohere.ChatSearchQueriesGenerationEvent?)value);
///
///
@@ -104,7 +104,7 @@ public StreamedChatResponse(global::Cohere.ChatSearchQueriesGenerationEvent? val
///
///
///
- public static implicit operator StreamedChatResponse(global::Cohere.ChatSearchResultsEvent value) => new StreamedChatResponse(value);
+ public static implicit operator StreamedChatResponse(global::Cohere.ChatSearchResultsEvent value) => new StreamedChatResponse((global::Cohere.ChatSearchResultsEvent?)value);
///
///
@@ -139,7 +139,7 @@ public StreamedChatResponse(global::Cohere.ChatSearchResultsEvent? value)
///
///
///
- public static implicit operator StreamedChatResponse(global::Cohere.ChatTextGenerationEvent value) => new StreamedChatResponse(value);
+ public static implicit operator StreamedChatResponse(global::Cohere.ChatTextGenerationEvent value) => new StreamedChatResponse((global::Cohere.ChatTextGenerationEvent?)value);
///
///
@@ -174,7 +174,7 @@ public StreamedChatResponse(global::Cohere.ChatTextGenerationEvent? value)
///
///
///
- public static implicit operator StreamedChatResponse(global::Cohere.ChatCitationGenerationEvent value) => new StreamedChatResponse(value);
+ public static implicit operator StreamedChatResponse(global::Cohere.ChatCitationGenerationEvent value) => new StreamedChatResponse((global::Cohere.ChatCitationGenerationEvent?)value);
///
///
@@ -209,7 +209,7 @@ public StreamedChatResponse(global::Cohere.ChatCitationGenerationEvent? value)
///
///
///
- public static implicit operator StreamedChatResponse(global::Cohere.ChatToolCallsGenerationEvent value) => new StreamedChatResponse(value);
+ public static implicit operator StreamedChatResponse(global::Cohere.ChatToolCallsGenerationEvent value) => new StreamedChatResponse((global::Cohere.ChatToolCallsGenerationEvent?)value);
///
///
@@ -244,7 +244,7 @@ public StreamedChatResponse(global::Cohere.ChatToolCallsGenerationEvent? value)
///
///
///
- public static implicit operator StreamedChatResponse(global::Cohere.ChatStreamEndEvent value) => new StreamedChatResponse(value);
+ public static implicit operator StreamedChatResponse(global::Cohere.ChatStreamEndEvent value) => new StreamedChatResponse((global::Cohere.ChatStreamEndEvent?)value);
///
///
@@ -279,7 +279,7 @@ public StreamedChatResponse(global::Cohere.ChatStreamEndEvent? value)
///
///
///
- public static implicit operator StreamedChatResponse(global::Cohere.ChatToolCallsChunkEvent value) => new StreamedChatResponse(value);
+ public static implicit operator StreamedChatResponse(global::Cohere.ChatToolCallsChunkEvent value) => new StreamedChatResponse((global::Cohere.ChatToolCallsChunkEvent?)value);
///
///
@@ -314,7 +314,7 @@ public StreamedChatResponse(global::Cohere.ChatToolCallsChunkEvent? value)
///
///
///
- public static implicit operator StreamedChatResponse(global::Cohere.ChatDebugEvent value) => new StreamedChatResponse(value);
+ public static implicit operator StreamedChatResponse(global::Cohere.ChatDebugEvent value) => new StreamedChatResponse((global::Cohere.ChatDebugEvent?)value);
///
///
diff --git a/src/libs/Cohere/Generated/Cohere.Models.StreamedChatResponseV2.g.cs b/src/libs/Cohere/Generated/Cohere.Models.StreamedChatResponseV2.g.cs
index fd6bfe0d..81831710 100644
--- a/src/libs/Cohere/Generated/Cohere.Models.StreamedChatResponseV2.g.cs
+++ b/src/libs/Cohere/Generated/Cohere.Models.StreamedChatResponseV2.g.cs
@@ -34,7 +34,7 @@ namespace Cohere
///
///
///
- public static implicit operator StreamedChatResponseV2(global::Cohere.ChatMessageStartEvent value) => new StreamedChatResponseV2(value);
+ public static implicit operator StreamedChatResponseV2(global::Cohere.ChatMessageStartEvent value) => new StreamedChatResponseV2((global::Cohere.ChatMessageStartEvent?)value);
///
///
@@ -69,7 +69,7 @@ public StreamedChatResponseV2(global::Cohere.ChatMessageStartEvent? value)
///
///
///
- public static implicit operator StreamedChatResponseV2(global::Cohere.ChatContentStartEvent value) => new StreamedChatResponseV2(value);
+ public static implicit operator StreamedChatResponseV2(global::Cohere.ChatContentStartEvent value) => new StreamedChatResponseV2((global::Cohere.ChatContentStartEvent?)value);
///
///
@@ -104,7 +104,7 @@ public StreamedChatResponseV2(global::Cohere.ChatContentStartEvent? value)
///
///
///
- public static implicit operator StreamedChatResponseV2(global::Cohere.ChatContentDeltaEvent value) => new StreamedChatResponseV2(value);
+ public static implicit operator StreamedChatResponseV2(global::Cohere.ChatContentDeltaEvent value) => new StreamedChatResponseV2((global::Cohere.ChatContentDeltaEvent?)value);
///
///
@@ -139,7 +139,7 @@ public StreamedChatResponseV2(global::Cohere.ChatContentDeltaEvent? value)
///
///
///
- public static implicit operator StreamedChatResponseV2(global::Cohere.ChatContentEndEvent value) => new StreamedChatResponseV2(value);
+ public static implicit operator StreamedChatResponseV2(global::Cohere.ChatContentEndEvent value) => new StreamedChatResponseV2((global::Cohere.ChatContentEndEvent?)value);
///
///
@@ -174,7 +174,7 @@ public StreamedChatResponseV2(global::Cohere.ChatContentEndEvent? value)
///
///
///
- public static implicit operator StreamedChatResponseV2(global::Cohere.ChatToolPlanDeltaEvent value) => new StreamedChatResponseV2(value);
+ public static implicit operator StreamedChatResponseV2(global::Cohere.ChatToolPlanDeltaEvent value) => new StreamedChatResponseV2((global::Cohere.ChatToolPlanDeltaEvent?)value);
///
///
@@ -209,7 +209,7 @@ public StreamedChatResponseV2(global::Cohere.ChatToolPlanDeltaEvent? value)
///
///
///
- public static implicit operator StreamedChatResponseV2(global::Cohere.ChatToolCallStartEvent value) => new StreamedChatResponseV2(value);
+ public static implicit operator StreamedChatResponseV2(global::Cohere.ChatToolCallStartEvent value) => new StreamedChatResponseV2((global::Cohere.ChatToolCallStartEvent?)value);
///
///
@@ -244,7 +244,7 @@ public StreamedChatResponseV2(global::Cohere.ChatToolCallStartEvent? value)
///
///
///
- public static implicit operator StreamedChatResponseV2(global::Cohere.ChatToolCallDeltaEvent value) => new StreamedChatResponseV2(value);
+ public static implicit operator StreamedChatResponseV2(global::Cohere.ChatToolCallDeltaEvent value) => new StreamedChatResponseV2((global::Cohere.ChatToolCallDeltaEvent?)value);
///
///
@@ -279,7 +279,7 @@ public StreamedChatResponseV2(global::Cohere.ChatToolCallDeltaEvent? value)
///
///
///
- public static implicit operator StreamedChatResponseV2(global::Cohere.ChatToolCallEndEvent value) => new StreamedChatResponseV2(value);
+ public static implicit operator StreamedChatResponseV2(global::Cohere.ChatToolCallEndEvent value) => new StreamedChatResponseV2((global::Cohere.ChatToolCallEndEvent?)value);
///
///
@@ -314,7 +314,7 @@ public StreamedChatResponseV2(global::Cohere.ChatToolCallEndEvent? value)
///
///
///
- public static implicit operator StreamedChatResponseV2(global::Cohere.ChatMessageEndEvent value) => new StreamedChatResponseV2(value);
+ public static implicit operator StreamedChatResponseV2(global::Cohere.ChatMessageEndEvent value) => new StreamedChatResponseV2((global::Cohere.ChatMessageEndEvent?)value);
///
///
@@ -349,7 +349,7 @@ public StreamedChatResponseV2(global::Cohere.ChatMessageEndEvent? value)
///
///
///
- public static implicit operator StreamedChatResponseV2(global::Cohere.ChatDebugEvent value) => new StreamedChatResponseV2(value);
+ public static implicit operator StreamedChatResponseV2(global::Cohere.ChatDebugEvent value) => new StreamedChatResponseV2((global::Cohere.ChatDebugEvent?)value);
///
///
diff --git a/src/libs/Cohere/Generated/Cohere.Models.ToolContent.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ToolContent.g.cs
index 634cded9..8517df17 100644
--- a/src/libs/Cohere/Generated/Cohere.Models.ToolContent.g.cs
+++ b/src/libs/Cohere/Generated/Cohere.Models.ToolContent.g.cs
@@ -34,7 +34,7 @@ namespace Cohere
///
///
///
- public static implicit operator ToolContent(global::Cohere.TextContent value) => new ToolContent(value);
+ public static implicit operator ToolContent(global::Cohere.TextContent value) => new ToolContent((global::Cohere.TextContent?)value);
///
///
@@ -69,7 +69,7 @@ public ToolContent(global::Cohere.TextContent? value)
///
///
///
- public static implicit operator ToolContent(global::Cohere.DocumentContent value) => new ToolContent(value);
+ public static implicit operator ToolContent(global::Cohere.DocumentContent value) => new ToolContent((global::Cohere.DocumentContent?)value);
///
///
diff --git a/src/libs/Cohere/Generated/OneOf.2.g.cs b/src/libs/Cohere/Generated/OneOf.2.g.cs
index c9245ce9..094339e9 100644
--- a/src/libs/Cohere/Generated/OneOf.2.g.cs
+++ b/src/libs/Cohere/Generated/OneOf.2.g.cs
@@ -28,7 +28,7 @@ namespace Cohere
///
///
///
- public static implicit operator OneOf(T1 value) => new OneOf(value);
+ public static implicit operator OneOf(T1 value) => new OneOf((T1?)value);
///
///
@@ -63,7 +63,7 @@ public OneOf(T1? value)
///
///
///
- public static implicit operator OneOf(T2 value) => new OneOf(value);
+ public static implicit operator OneOf(T2 value) => new OneOf((T2?)value);
///
///