MCPcopy Index your code
hub / github.com/anomalyco/opencode / beginReply

Function beginReply

packages/opencode/src/cli/cmd/run/footer.question.tsx:92–100  ·  view source on GitHub ↗
(input: QuestionReply)

Source from the content-addressed store, hash-verified

90 }
91
92 const beginReply = async (input: QuestionReply) => {
93 setState((prev) => questionSetSubmitting(prev, true))
94
95 try {
96 await props.onReply(input)
97 } catch {
98 setState((prev) => questionSetSubmitting(prev, false))
99 }
100 }
101
102 const beginReject = async (input: QuestionReject) => {
103 setState((prev) => questionSetSubmitting(prev, true))

Callers 4

saveCustomFunction · 0.85
chooseFunction · 0.85
selectFunction · 0.85
submitFunction · 0.85

Calls 2

questionSetSubmittingFunction · 0.90
setStateFunction · 0.85

Tested by

no test coverage detected