(exchange: ParsedHttpExchange)
| 925 | }); |
| 926 | |
| 927 | function getSystemMessage(exchange: ParsedHttpExchange): string | undefined { |
| 928 | const systemMessage = exchange.request.messages.find((m) => m.role === "system") as |
| 929 | | { role: "system"; content: string } |
| 930 | | undefined; |
| 931 | return systemMessage?.content; |
| 932 | } |
| 933 | |
| 934 | describe("Send Blocking Behavior", async () => { |
| 935 | // Tests for Issue #17: send() should return immediately, not block until turn completes |
no outgoing calls
no test coverage detected
searching dependent graphs…