Skip to content

Commit 019cc31

Browse files
committed
Fix .NET context test: avoid SendAndWait with uncached prompt
Same issue as Node.js - the test harness proxy doesn't have a cached CAPI response for 'Say hello'. Just create the session and check listSessions without sending a message.
1 parent 3495221 commit 019cc31

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

dotnet/test/SessionTests.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -373,9 +373,6 @@ public async Task SendAndWait_Blocks_Until_Session_Idle_And_Returns_Final_Assist
373373
public async Task Should_List_Sessions_With_Context()
374374
{
375375
var session = await Client.CreateSessionAsync();
376-
await session.SendAndWaitAsync(new MessageOptions { Prompt = "Say hello" });
377-
378-
await Task.Delay(500);
379376

380377
var sessions = await Client.ListSessionsAsync();
381378
Assert.NotEmpty(sessions);

0 commit comments

Comments
 (0)