Custom AI Agent Response Action
Response Action
enum class CustomAgentResponseAction {
/**
* Direct display result
*/
Direct,
/**
* Stream response
*/
Stream,
/**
* Text splitting result
*/
TextChunk,
/**
* Display result in WebView
*/
WebView,
/**
* Handle by DevIns language compile and run in code block.
* @since: AutoDev@1.8.2
*/
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
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.