MCPcopy Index your code
hub / github.com/CodebuffAI/codebuff / promptSuccess

Function promptSuccess

common/src/util/error.ts:110–115  ·  view source on GitHub ↗
(value: T)

Source from the content-addressed store, hash-verified

108 * Create a successful prompt result.
109 */
110export function promptSuccess<T>(value: T): PromptSuccess<T> {
111 return {
112 aborted: false,
113 value,
114 }
115}
116
117/**
118 * Create an aborted prompt result.

Callers 15

processFileBlockFunction · 0.90
generatorFunction · 0.90
mockAgentStreamFunction · 0.90
mockStreamFunction · 0.90
mockAgentStreamFunction · 0.90

Calls

no outgoing calls

Tested by 15

generatorFunction · 0.72
mockAgentStreamFunction · 0.72
mockStreamFunction · 0.72
mockAgentStreamFunction · 0.72
mockAgentStreamFunction · 0.72
createMockStreamFunction · 0.72
createMockStreamFunction · 0.72
mockLlmCallFunction · 0.72
deepestCallFunction · 0.72
middleCallFunction · 0.72
topCallFunction · 0.72
fallbackProviderFunction · 0.72