MCPcopy Index your code
hub / github.com/coder/agentapi / Message

Interface Message

chat/src/components/message-list.tsx:5–9  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3import React, {useLayoutEffect, useRef, useEffect, useCallback, useMemo, useState} from "react";
4
5interface Message {
6 role: string;
7 content: string;
8 id: number;
9}
10
11// Draft messages are used to optmistically update the UI
12// before the server responds.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected