MCPcopy Index your code
hub / github.com/codeaashu/claude-code / retry

Function retry

web/lib/api/messages.ts:129–137  ·  view source on GitHub ↗
(conversationId, messagesUpToAssistant, opts)

Source from the content-addressed store, hash-verified

127 },
128
129 async *retry(conversationId, messagesUpToAssistant, opts) {
130 const model = opts?.model ?? DEFAULT_MODEL;
131 const messages = toApiMessages(messagesUpToAssistant);
132 yield* streamRequest(
133 conversationId,
134 { messages, model, stream: true },
135 opts
136 );
137 },
138
139 async *edit(conversationId, newContent, historyBefore, opts) {
140 const model = opts?.model ?? DEFAULT_MODEL;

Callers

nothing calls this directly

Calls 2

toApiMessagesFunction · 0.85
streamRequestFunction · 0.85

Tested by

no test coverage detected