Skip to content

Commit aa97e50

Browse files
committed
Add new streaming classes for C#
Signed-off-by: Travis Angevine <[email protected]>
1 parent 2ef0546 commit aa97e50

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

specification/ai/ModelClient/client.tsp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,10 @@ namespace Customizations; // The actual name here doesn't matter and is here for
5454
@@access(AI.Model.ChatMessageImageContentItem, Access.public);
5555
@@access(AI.Model.ChatMessageImageUrl, Access.public);
5656
@@access(AI.Model.ChatMessageImageDetailLevel, Access.public);
57-
@@access(AI.Model.StreamingChatCompletionsUpdate, Access.public, "python");
58-
@@access(AI.Model.StreamingChatChoiceUpdate, Access.public, "python");
59-
@@access(AI.Model.StreamingChatResponseMessageUpdate, Access.public, "python");
60-
@@access(AI.Model.StreamingChatResponseToolCallUpdate, Access.public, "python");
57+
@@access(AI.Model.StreamingChatCompletionsUpdate, Access.public, "python,csharp");
58+
@@access(AI.Model.StreamingChatChoiceUpdate, Access.public, "python,csharp");
59+
@@access(AI.Model.StreamingChatResponseMessageUpdate, Access.public, "python,csharp");
60+
@@access(AI.Model.StreamingChatResponseToolCallUpdate, Access.public, "python,csharp");
6161

6262
// The operators need to be hidden, since we hand-write the public versions of those to
6363
// 1. Add chat completions streaming (to getChatCompletions operator)

0 commit comments

Comments
 (0)