feat: After users provide bug feedback, move directly to the WriteCode stage of the process.

This commit is contained in:
莘权 马 2023-12-12 21:32:03 +08:00
parent d759b4d81e
commit 4cb3485c86
10 changed files with 132 additions and 27 deletions

View file

@ -97,14 +97,14 @@ class Message(BaseModel):
send_to: Set = Field(default_factory={MESSAGE_ROUTE_TO_ALL})
def __init__(
self,
content,
instruct_content=None,
role="user",
cause_by="",
sent_from="",
send_to=MESSAGE_ROUTE_TO_ALL,
**kwargs,
self,
content,
instruct_content=None,
role="user",
cause_by="",
sent_from="",
send_to=MESSAGE_ROUTE_TO_ALL,
**kwargs,
):
"""
Parameters not listed below will be stored as meta info, including custom parameters.
@ -341,3 +341,7 @@ class CodeSummarizeContext(BaseModel):
def __hash__(self):
return hash((self.design_filename, self.task_filename))
class BugFixContext(BaseModel):
filename: str = ""