Skip to content

Commit 28901a5

Browse files
committed
Fix build
1 parent 117da35 commit 28901a5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

AiServer.Tests/QueueSpeechToTextTests.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public async Task Can_queue_transcribe_speech()
2626

2727
try
2828
{
29-
response = client.PostFilesWithRequest(
29+
response = client.PostFilesWithRequest<QueueGenerationResponse>(
3030
new QueueSpeechToText(),
3131
[new UploadFile("speech.wav", fileStream) { FieldName = "audio"}]);
3232
}
@@ -57,7 +57,7 @@ public async Task Can_transcribe_speech_with_reply_to()
5757

5858
try
5959
{
60-
response = client.PostFilesWithRequest(
60+
response = client.PostFilesWithRequest<QueueGenerationResponse>(
6161
new QueueSpeechToText
6262
{
6363
ReplyTo = "https://localhost:5005/dummyreplyto"
@@ -129,7 +129,7 @@ public async Task Can_transcribe_speech_without_sync_or_reply_to()
129129

130130
try
131131
{
132-
response = client.PostFilesWithRequest(
132+
response = client.PostFilesWithRequest<QueueGenerationResponse>(
133133
new QueueSpeechToText(),
134134
[new UploadFile("speech.wav", fileStream) { FieldName = "audio"}]);
135135
}

0 commit comments

Comments
 (0)