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

Function questionCustom

packages/opencode/src/cli/cmd/run/question.shared.ts:70–72  ·  view source on GitHub ↗
(request: QuestionRequest, state: QuestionBodyState)

Source from the content-addressed store, hash-verified

68}
69
70export function questionCustom(request: QuestionRequest, state: QuestionBodyState): boolean {
71 return questionInfo(request, state)?.custom !== false
72}
73
74export function questionInput(state: QuestionBodyState): string {
75 return state.custom[state.tab] ?? ""

Callers 2

RunQuestionBodyFunction · 0.90
questionTotalFunction · 0.85

Calls 1

questionInfoFunction · 0.85

Tested by

no test coverage detected