Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
PR SummaryMedium Risk Overview Extends message types/storage ( Written by Cursor Bugbot for commit d748eef. Configure here. |
Greptile SummaryThis PR adds Key changes:
One functional inconsistency was found in the copilot panel rendering, and the shared component's placement under the Confidence Score: 3/5
Important Files Changed
Sequence DiagramsequenceDiagram
participant Client
participant MothershipAPI as /api/mothership/chat
participant Orchestrator
participant UpstreamSSE as Upstream SSE (copilot/mothership)
Client->>MothershipAPI: POST chat message
MothershipAPI->>Orchestrator: orchestrateCopilotStream()
Orchestrator->>UpstreamSSE: open SSE stream
UpstreamSSE-->>Orchestrator: event: request_id (data: "<rid>")
Note over Orchestrator: context.requestId = rid
UpstreamSSE-->>Orchestrator: event: content (chunks...)
UpstreamSSE-->>Orchestrator: event: done
Orchestrator-->>MothershipAPI: OrchestratorResult { requestId, content, ... }
MothershipAPI-->>Client: SSE stream (re-emits request_id, content events)
Note over Client: use-chat / copilot store<br/>handle request_id event → store on context
Note over Client: flush() / updateStreamingMessage()<br/>propagate requestId to message state
Note over Client: MessageActions renders<br/>Copy Request ID option
Last reviewed commit: "fix ui" |
...rkflowId]/components/panel/components/copilot/components/copilot-message/copilot-message.tsx
Outdated
Show resolved
Hide resolved
...rkflowId]/components/panel/components/copilot/components/copilot-message/copilot-message.tsx
Outdated
Show resolved
Hide resolved
...rkflowId]/components/panel/components/copilot/components/copilot-message/copilot-message.tsx
Show resolved
Hide resolved
|
bugbot run |
Summary
Way to get request ids for copilot/mothership chats.
Type of Change
Testing
Tested manually
Checklist