Skip to content

Commit 2980f8f

Browse files
committed
feat(implementation): update example section titles for clarity in documentation
1 parent c9ff2d5 commit 2980f8f

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

docs/local-agent/index.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,7 @@ Explain code /file:src/main/java/com/example/Controller.java
2828

2929
![AutoDev DevIns](https://unitmesh.cc/auto-dev/autodev-devins.png)
3030

31-
## 示例
32-
33-
### 获取远程规范,调用 AI 编写代码
31+
## 示例:获取远程规范,调用 AI 编写代码
3432

3533
在 variables 中,你可以通过 thread 函数获取远程的规范内容,并通过 jsonpath 函数提取出你需要的内容。
3634

@@ -76,7 +74,7 @@ curl https://tt.dts.plus/api/guideline
7674

7775
最后,在 onStreamingEnd,即执行完当前的 DevIns 之后,执行 parseCode、saveFile 和 openFile 三个 Processor,来处理当前的输出结果。
7876

79-
### 获取 Jira ID,生成提交信息
77+
## 示例:获取 Jira ID,生成提交信息
8078

8179
其中的 actionLocation 用于定义当前 DevIns 的执行位置,CommitMenu 表示在提交信息编写页面执行。
8280

@@ -111,7 +109,7 @@ $currentChanges
111109
只返回提交信息,不使用 ``` 标记。
112110
```
113111

114-
### 多个 DevIns 编排示例
112+
## 示例:多个 DevIns 编排示例
115113

116114
通过 afterStreaming 你可以在执行完当前的 DevIns 之后,执行下一个 DevIns。同时,可以把当前的变量以及 `$output` 传递给下一个
117115
DevIns。

0 commit comments

Comments
 (0)