File size: 897 Bytes
4fdf792
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Table of Contents

* [InteractivePlanGenFlow](#InteractivePlanGenFlow)
  * [InteractivePlanGenFlow](#InteractivePlanGenFlow.InteractivePlanGenFlow)
* [\_\_init\_\_](#__init__)

<a id="InteractivePlanGenFlow"></a>

# InteractivePlanGenFlow

<a id="InteractivePlanGenFlow.InteractivePlanGenFlow"></a>

## InteractivePlanGenFlow Objects

```python
class InteractivePlanGenFlow(SequentialFlow)
```

This flow writes code in an interactive manner. It is a sequential flow composed of:
1. PlanGenerator: generates plan based on the goal.
2. PlanFileEditor: writes the generated plan to a temp file for the user to see, edit and provide feedback.
3. ParseFeedback: opens up the temp file with vscode and parses the feedback from the user.

*Input Interface*:
- `goal`
- `plan_file_location`

*Output Interface*:
- `plan`
- `feedback`
- `temp_plan_file_location`

<a id="__init__"></a>

# \_\_init\_\_