Skip to content

Commit 56db7e5

Browse files
committed
feat(devins-lang): refactor reorg conversation #100
This commit refactors the conversation flow in `devins` by introducing a more structured approach to handling AI agent responses and system errors. The documentation has been updated to reflect the new methods for handling `devin` code-blocks and DevIns commands.
1 parent fc307a9 commit 56db7e5

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

docs/devins/orchestration.md

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,25 +14,30 @@ in: [DevInsProcessProcessor.kt](https://github.com/unit-mesh/auto-dev/blob/maste
1414

1515
In the following cases, AutoDev will auto execute:
1616

17-
1. AI Agent return `DevIns` code-block, like:
17+
### Method: AI Agent return `devin` code-block
18+
19+
example:
1820

1921
```devin
2022
Explain code /file:src/main/java/com/example/Controller.java
21-
```
23+
```
24+
### Method: Auto Handle DevIns error
2225

23-
2. Run DevIns command failed, will call llm to try to fix it. For example, if run program failed
26+
Run DevIns command failed, will call llm to try to fix it. For example, if run program failed
2427

2528
```bash
26-
<DevInsError>: File not found: src/test/
29+
<DevInsError>: File not found: src/test/
2730

2831
--------------------
2932

3033
Process finished with exit code -1
3134
```
3235

33-
3. Use DevIns comment to flag, will run next script, like:
36+
### Method: DevIns Comment Flag
37+
38+
Use DevIns comment to flag, will run next script, like:
3439

3540
```devin
3641
[flow]:script/flow.devin
3742
```
38-
43+

0 commit comments

Comments
 (0)