MCPcopy Create free account
hub / github.com/continuedev/continue / formatMessage

Function formatMessage

extensions/cli/src/ui/SessionSelector.tsx:32–37  ·  view source on GitHub ↗
(message: string | undefined)

Source from the content-addressed store, hash-verified

30}
31
32function formatMessage(message: string | undefined): string {
33 if (!message) return "(no messages)";
34 // Ensure we're working with a string, handle edge cases from persisted data
35 const messageStr = typeof message === "string" ? message : String(message);
36 return messageStr.split("\n")[0];
37}
38
39export function SessionSelector({
40 sessions,

Callers 1

SessionSelectorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected