Skip to content

Commit

Permalink
minor change
Browse files Browse the repository at this point in the history
  • Loading branch information
ShilinHe committed Jan 15, 2024
1 parent 6f62e92 commit 988129e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions playground/UI/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@

import requests

from taskweaver.memory.type_vars import RoleName
from taskweaver.module.event_emitter import PostEventType, RoundEventType, SessionEventHandlerBase

try:
import chainlit as cl

Expand All @@ -25,6 +22,8 @@
sys.path.append(repo_path)
from taskweaver.app.app import TaskWeaverApp
from taskweaver.memory.attachment import AttachmentType
from taskweaver.memory.type_vars import RoleName
from taskweaver.module.event_emitter import PostEventType, RoundEventType, SessionEventHandlerBase
from taskweaver.session.session import Session

project_path = os.path.join(repo_path, "project")
Expand Down
2 changes: 1 addition & 1 deletion taskweaver/planner/planner_prompt.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ instruction_template: |-
5. report the result to the user <interactively depends on 4>
## Planning Refinement
- Planner should try to merge adjacent sequential dependency steps, unless the merged step becomes too complicated.
- Planner should try to merge adjacent steps that have sequential dependency or no dependency, unless the merged step becomes too complicated.
- Planner should not merge steps with interactive dependency or no dependency.
- The final plan must not contain dependency annotations.
Expand Down

0 comments on commit 988129e

Please sign in to comment.