Skip to content

Commit 68a0c4f

Browse files
committed
docs: update permalink and add examples to customize.md
The permalink for the `/customize` page was corrected to ensure proper navigation. Additionally, a new section titled "Custom Agent Examples" was added, along with a demo, to provide better understanding and usage of the AI Agent Server.
1 parent 8809e5d commit 68a0c4f

File tree

4 files changed

+16
-4
lines changed

4 files changed

+16
-4
lines changed

docs/agent/agent.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@ layout: default
33
title: AI Agent
44
nav_order: 5
55
has_children: true
6+
permalink: /agent
67
---
78

9+
Demo Video: [AutoDev 1.7 Custom Agent](https://www.bilibili.com/video/BV1Hx42127En/) (Bilibili)
10+
811
912
{: .label .label-yellow }

docs/agent/custom-ai-agent.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@ Since [email protected] version, we support custom AI agent, you can integrate your
2020
4. Apply and OK.
2121
5. Click `x` and Close AutoDev panel and click `NewChat` in the AutoDev tool window.
2222

23-
Examples:
23+
### Custom Agent Examples
24+
25+
Demo:
2426

2527
```json
2628
[

docs/agent/server-example.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,17 @@ parent: AI Agent
55
nav_order: 3
66
---
77

8+
AI Agent Server will be used to communicate with the AI Agent. It will be used to send the request and receive the response
9+
from the AI Agent.
10+
811
## Server
912

13+
### Server API example
14+
15+
see in [example/custom_agent](https://github.com/unit-mesh/auto-dev/tree/master/example/custom_agent)
16+
17+
### `ResponseAction`
18+
1019
- ResponseAction.Direct should return "SSE<String>"
1120
- ResponseAction.TextChunk should return "JSON"
1221
- ResponseAction.WebView should return "HTML" code
@@ -26,6 +35,3 @@ same to Chat API
2635
}
2736
```
2837

29-
### Server API example
30-
31-
see in [example/custom_agent](https://github.com/unit-mesh/auto-dev/tree/master/example/custom_agent)

docs/customize/customize.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ layout: default
33
title: Customize Features
44
nav_order: 4
55
has_children: true
6+
permalink: /customize
67
---
78

89
{: .no_toc }

0 commit comments

Comments
 (0)