MCPcopy Create free account
hub / github.com/53AI/53AIHub / recordProcessStep

Method recordProcessStep

api/controller/relay/relay_process_step.go:118–124  ·  view source on GitHub ↗
(step ProcessStep)

Source from the content-addressed store, hash-verified

116}
117
118func (ps *ProcessSender) recordProcessStep(step ProcessStep) {
119 if ps == nil || ps.messageStatus == nil || ps.c == nil {
120 return
121 }
122 eid := config.GetEID(ps.c)
123 recordProcessStepForHistory(ps.c.Request.Context(), eid, ps.messageStatus, ps.requestId, step)
124}
125
126// sendProcessStep 发送处理步骤的流式数据
127func sendProcessStep(c *gin.Context, requestId string, step ProcessStep) error {

Callers 5

EndStartWebSearchStepMethod · 0.95
SendOutOfRangeReplyMethod · 0.95
SendStartStepMethod · 0.95
SendEndStepMethod · 0.95

Calls 2

GetEIDMethod · 0.80

Tested by

no test coverage detected