Skip to content

Commit 6bb8493

Browse files
Update @typespec/http-client-csharp to 1.0.0-alpha.20250926.1 (#723)
- Updated @typespec/http-client-csharp from 1.0.0-alpha.20250924.1 to 1.0.0-alpha.20250926.1 - Updated Microsoft.TypeSpec.Generator.ClientModel from 1.0.0-alpha.20250924.1 to 1.0.0-alpha.20250926.1 - Regenerated OpenAI SDK code with new generator version - Updated centrally managed package-lock.json file with new dependency versions Co-authored-by: GitHub Action <[email protected]>
1 parent c01ca5d commit 6bb8493

File tree

69 files changed

+73
-138
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

69 files changed

+73
-138
lines changed

codegen/generator/src/OpenAI.Library.Plugin.csproj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
</PropertyGroup>
99

1010
<ItemGroup>
11-
<PackageReference Include="Microsoft.TypeSpec.Generator.ClientModel" Version="1.0.0-alpha.20250924.1" />
11+
<PackageReference Include="Microsoft.TypeSpec.Generator.ClientModel" Version="1.0.0-alpha.20250926.1" />
1212
</ItemGroup>
1313

1414
<!-- Copy output to package dist path for local execution and -->
@@ -24,3 +24,4 @@
2424
</Project>
2525

2626

27+

codegen/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"dependencies": {
3131
"@open-ai/plugin": "file:",
3232
"@azure-tools/typespec-client-generator-core": "0.60.0",
33-
"@typespec/http-client-csharp": "1.0.0-alpha.20250924.1",
33+
"@typespec/http-client-csharp": "1.0.0-alpha.20250926.1",
3434
"@typespec/http": "1.4.0",
3535
"@typespec/openapi": "1.4.0"
3636
},

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Generated/Models/Assistants/Assistant.Serialization.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -370,8 +370,7 @@ protected virtual Assistant PersistableModelCreateCore(BinaryData data, ModelRea
370370
public static explicit operator Assistant(ClientResult result)
371371
{
372372
using PipelineResponse response = result.GetRawResponse();
373-
BinaryData data = response.Content;
374-
using JsonDocument document = JsonDocument.Parse(data);
373+
using JsonDocument document = JsonDocument.Parse(response.Content);
375374
return DeserializeAssistant(document.RootElement, ModelSerializationExtensions.WireOptions);
376375
}
377376
}

src/Generated/Models/Assistants/AssistantDeletionResult.Serialization.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,8 +150,7 @@ protected virtual AssistantDeletionResult PersistableModelCreateCore(BinaryData
150150
public static explicit operator AssistantDeletionResult(ClientResult result)
151151
{
152152
using PipelineResponse response = result.GetRawResponse();
153-
BinaryData data = response.Content;
154-
using JsonDocument document = JsonDocument.Parse(data);
153+
using JsonDocument document = JsonDocument.Parse(response.Content);
155154
return DeserializeAssistantDeletionResult(document.RootElement, ModelSerializationExtensions.WireOptions);
156155
}
157156
}

src/Generated/Models/Assistants/AssistantThread.Serialization.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,8 +219,7 @@ protected virtual AssistantThread PersistableModelCreateCore(BinaryData data, Mo
219219
public static explicit operator AssistantThread(ClientResult result)
220220
{
221221
using PipelineResponse response = result.GetRawResponse();
222-
BinaryData data = response.Content;
223-
using JsonDocument document = JsonDocument.Parse(data);
222+
using JsonDocument document = JsonDocument.Parse(response.Content);
224223
return DeserializeAssistantThread(document.RootElement, ModelSerializationExtensions.WireOptions);
225224
}
226225
}

src/Generated/Models/Assistants/InternalListAssistantsResponse.Serialization.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,8 +189,7 @@ protected virtual InternalListAssistantsResponse PersistableModelCreateCore(Bina
189189
public static explicit operator InternalListAssistantsResponse(ClientResult result)
190190
{
191191
using PipelineResponse response = result.GetRawResponse();
192-
BinaryData data = response.Content;
193-
using JsonDocument document = JsonDocument.Parse(data);
192+
using JsonDocument document = JsonDocument.Parse(response.Content);
194193
return DeserializeInternalListAssistantsResponse(document.RootElement, ModelSerializationExtensions.WireOptions);
195194
}
196195
}

src/Generated/Models/Assistants/InternalListMessagesResponse.Serialization.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,8 +189,7 @@ protected virtual InternalListMessagesResponse PersistableModelCreateCore(Binary
189189
public static explicit operator InternalListMessagesResponse(ClientResult result)
190190
{
191191
using PipelineResponse response = result.GetRawResponse();
192-
BinaryData data = response.Content;
193-
using JsonDocument document = JsonDocument.Parse(data);
192+
using JsonDocument document = JsonDocument.Parse(response.Content);
194193
return DeserializeInternalListMessagesResponse(document.RootElement, ModelSerializationExtensions.WireOptions);
195194
}
196195
}

src/Generated/Models/Assistants/InternalListRunStepsResponse.Serialization.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,8 +189,7 @@ protected virtual InternalListRunStepsResponse PersistableModelCreateCore(Binary
189189
public static explicit operator InternalListRunStepsResponse(ClientResult result)
190190
{
191191
using PipelineResponse response = result.GetRawResponse();
192-
BinaryData data = response.Content;
193-
using JsonDocument document = JsonDocument.Parse(data);
192+
using JsonDocument document = JsonDocument.Parse(response.Content);
194193
return DeserializeInternalListRunStepsResponse(document.RootElement, ModelSerializationExtensions.WireOptions);
195194
}
196195
}

src/Generated/Models/Assistants/InternalListRunsResponse.Serialization.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,8 +189,7 @@ protected virtual InternalListRunsResponse PersistableModelCreateCore(BinaryData
189189
public static explicit operator InternalListRunsResponse(ClientResult result)
190190
{
191191
using PipelineResponse response = result.GetRawResponse();
192-
BinaryData data = response.Content;
193-
using JsonDocument document = JsonDocument.Parse(data);
192+
using JsonDocument document = JsonDocument.Parse(response.Content);
194193
return DeserializeInternalListRunsResponse(document.RootElement, ModelSerializationExtensions.WireOptions);
195194
}
196195
}

0 commit comments

Comments
 (0)