@Tags AI @Summary Verify model account @Accept json @Param request body dto.AgentAccountVerifyReq true "request" @Success 200 @Security ApiKeyAuth @Security Timestamp @Router /ai/accounts/verify [post]
(c *gin.Context)
| 569 | // @Security Timestamp |
| 570 | // @Router /ai/accounts/verify [post] |
| 571 | func (b *BaseApi) VerifyAgentAccount(c *gin.Context) { |
| 572 | var req dto.AgentAccountVerifyReq |
| 573 | if err := helper.CheckBindAndValidate(&req, c); err != nil { |
| 574 | return |
| 575 | } |
| 576 | if err := agentService.VerifyAccount(req); err != nil { |
| 577 | helper.BadRequest(c, err) |
| 578 | return |
| 579 | } |
| 580 | helper.Success(c) |
| 581 | } |
| 582 | |
| 583 | // @Tags AI |
| 584 | // @Summary Delete model account |
nothing calls this directly
no test coverage detected