MCPcopy Index your code
hub / github.com/github/copilot-sdk / getSystemMessage

Function getSystemMessage

nodejs/test/e2e/session.e2e.test.ts:927–932  ·  view source on GitHub ↗
(exchange: ParsedHttpExchange)

Source from the content-addressed store, hash-verified

925});
926
927function 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
934describe("Send Blocking Behavior", async () => {
935 // Tests for Issue #17: send() should return immediately, not block until turn completes

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…