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.

Custom AI Agent Dropdown

TextChunk

Display the result in the AutoDev input box for continuous processing.

Custom AI Agent Dropdown

WebView

Show the result in a WebView for front-end rendering.

Custom AI Agent Dropdown

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.