Response Action
enum class ResponseAction {
/**
* Direct display result
*/
Direct,
/**
* Stream response
*/
Stream,
/**
* Text splitting result
*/
TextChunk,
/**
* Display result in WebView
*/
WebView,
/**
* DevIns response action
* since: AutoDev@1.7.0
*/
DevIns
}
Direct
Render the result directly in the chat window.
TextChunk
Display the result in the AutoDev input box for continuous processing.
WebView
Show the result in a WebView for front-end rendering.
DevIns
AutoDev@1.8.2
The DevIns response action will handle the response in the DevIns language.
just like the following example.
/write:HelloWorld.java#L1-L12
```java
public class HelloWorld {
public static void main(String[] args) {
System.out.println("Hello, World!");
}
}
```
The DevIns response content is different from the Custom Agent Response content. In Custom Agent Response, the code content should inside ```DevIns code block.