MCPcopy Create free account
hub / github.com/github/copilot-sdk / getSystemMessage

Function getSystemMessage

nodejs/test/e2e/system_message_transform.e2e.test.ts:120–125  ·  view source on GitHub ↗
(exchange: ParsedHttpExchange)

Source from the content-addressed store, hash-verified

118});
119
120function getSystemMessage(exchange: ParsedHttpExchange): string | undefined {
121 const systemMessage = exchange.request.messages.find((m) => m.role === "system") as
122 | { role: "system"; content: string }
123 | undefined;
124 return systemMessage?.content;
125}

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…