You've already forked agentic-coding-workflow
主流程
This commit is contained in:
@@ -200,6 +200,11 @@ func (h *Handler) listConversations(w http.ResponseWriter, r *http.Request) {
|
||||
f.IssueID = &id
|
||||
}
|
||||
}
|
||||
if v := q.Get("requirement_id"); v != "" {
|
||||
if id, e := parseUUID(v); e == nil {
|
||||
f.RequirementID = &id
|
||||
}
|
||||
}
|
||||
convs, err := h.convSvc.List(r.Context(), uid, f)
|
||||
if err != nil {
|
||||
writeErr(w, r, err)
|
||||
@@ -224,12 +229,13 @@ func (h *Handler) createConversation(w http.ResponseWriter, r *http.Request) {
|
||||
return
|
||||
}
|
||||
conv, err := h.convSvc.Create(r.Context(), uid, CreateConversationInput{
|
||||
ModelID: req.ModelID,
|
||||
TemplateID: req.TemplateID,
|
||||
SystemPrompt: req.SystemPrompt,
|
||||
ProjectID: req.ProjectID,
|
||||
WorkspaceID: req.WorkspaceID,
|
||||
IssueID: req.IssueID,
|
||||
ModelID: req.ModelID,
|
||||
TemplateID: req.TemplateID,
|
||||
SystemPrompt: req.SystemPrompt,
|
||||
ProjectID: req.ProjectID,
|
||||
WorkspaceID: req.WorkspaceID,
|
||||
IssueID: req.IssueID,
|
||||
RequirementID: req.RequirementID,
|
||||
})
|
||||
if err != nil {
|
||||
writeErr(w, r, err)
|
||||
|
||||
Reference in New Issue
Block a user