format code
This commit is contained in:
parent
d9418c1668
commit
229d6706a4
@ -130,10 +130,6 @@ We welcome any friendly suggestions and helpful contributions! Just create issue
|
||||
|
||||
Or contact @mannaandpoem via 📧email: mannaandpoem@gmail.com
|
||||
|
||||
## Roadmap
|
||||
|
||||
- [ ] Improve the UI’s visual appeal to create a more intuitive and seamless user experience.
|
||||
|
||||
## Community Group
|
||||
Join our networking group on Feishu and share your experience with other developers!
|
||||
|
||||
|
@ -130,10 +130,6 @@ python run_flow.py
|
||||
|
||||
或通过 📧 邮件联系 @mannaandpoem:mannaandpoem@gmail.com
|
||||
|
||||
## 发展路线
|
||||
|
||||
- [ ] 提高用户界面的视觉吸引力,以创建更直观和无缝的用户体验。
|
||||
|
||||
## 交流群
|
||||
|
||||
加入我们的飞书交流群,与其他开发者分享经验!
|
||||
|
@ -61,8 +61,10 @@ class BaseFlow(BaseModel, ABC):
|
||||
async def execute(self, input_text: str) -> str:
|
||||
"""Execute the flow with given input"""
|
||||
|
||||
|
||||
class PlanStepStatus(str, Enum):
|
||||
"""Enum class defining possible statuses of a plan step"""
|
||||
|
||||
NOT_STARTED = "not_started"
|
||||
IN_PROGRESS = "in_progress"
|
||||
COMPLETED = "completed"
|
||||
@ -85,5 +87,5 @@ class PlanStepStatus(str, Enum):
|
||||
cls.COMPLETED.value: "[✓]",
|
||||
cls.IN_PROGRESS.value: "[→]",
|
||||
cls.BLOCKED.value: "[!]",
|
||||
cls.NOT_STARTED.value: "[ ]"
|
||||
cls.NOT_STARTED.value: "[ ]",
|
||||
}
|
||||
|
@ -342,7 +342,9 @@ class PlanningFlow(BaseFlow):
|
||||
zip(steps, step_statuses, step_notes)
|
||||
):
|
||||
# Use status marks to indicate step status
|
||||
status_mark = status_marks.get(status, status_marks[PlanStepStatus.NOT_STARTED.value])
|
||||
status_mark = status_marks.get(
|
||||
status, status_marks[PlanStepStatus.NOT_STARTED.value]
|
||||
)
|
||||
|
||||
plan_text += f"{i}. {status_mark} {step}\n"
|
||||
if notes:
|
||||
|
Loading…
x
Reference in New Issue
Block a user