Skip to content

Commit

Permalink
feat(devins-lang): refactor reorg conversation #100
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
phodal committed Mar 24, 2024
1 parent fc307a9 commit 56db7e5
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions docs/devins/orchestration.md
Expand Up @@ -14,25 +14,30 @@ in: [DevInsProcessProcessor.kt](https://github.com/unit-mesh/auto-dev/blob/maste

In the following cases, AutoDev will auto execute:

1. AI Agent return `DevIns` code-block, like:
### Method: AI Agent return `devin` code-block

example:

```devin
Explain code /file:src/main/java/com/example/Controller.java
```
```
### Method: Auto Handle DevIns error

2. Run DevIns command failed, will call llm to try to fix it. For example, if run program failed
Run DevIns command failed, will call llm to try to fix it. For example, if run program failed

```bash
<DevInsError>: File not found: src/test/
<DevInsError>: File not found: src/test/

--------------------

Process finished with exit code -1
```

3. Use DevIns comment to flag, will run next script, like:
### Method: DevIns Comment Flag

Use DevIns comment to flag, will run next script, like:

```devin
[flow]:script/flow.devin
```

0 comments on commit 56db7e5

Please sign in to comment.