diff --git a/frontend/src/app/workspace/agents/new/page.tsx b/frontend/src/app/workspace/agents/new/page.tsx
index a98fe8f9b..06f50c365 100644
--- a/frontend/src/app/workspace/agents/new/page.tsx
+++ b/frontend/src/app/workspace/agents/new/page.tsx
@@ -101,7 +101,7 @@ export default function NewAgentPage() {
const threadId = useMemo(() => uuid(), []);
- const [thread, sendMessage] = useThreadStream({
+ const { thread, sendMessage } = useThreadStream({
threadId: step === "chat" ? threadId : undefined,
context: {
mode: "flash",
diff --git a/frontend/src/content/en/harness/tools.mdx b/frontend/src/content/en/harness/tools.mdx
index f9c3dd901..f9cf9a234 100644
--- a/frontend/src/content/en/harness/tools.mdx
+++ b/frontend/src/content/en/harness/tools.mdx
@@ -162,22 +162,34 @@ Install: `cd backend && uv add 'deerflow-harness[firecrawl]'`
- ```yaml tools: - use: deerflow.community.jina_ai.tools:web_fetch_tool
- api_key: $JINA_API_KEY # optional; anonymous usage has rate limits ```
- Converts web pages to clean Markdown. Works without an API key at reduced
- rate limits.
+```yaml
+tools:
+ - use: deerflow.community.jina_ai.tools:web_fetch_tool
+ api_key: $JINA_API_KEY # optional; anonymous usage has rate limits
+```
+Converts web pages to clean Markdown. Works without an API key at reduced rate
+limits.
- ```yaml tools: - use: deerflow.community.exa.tools:web_fetch_tool api_key:
- $EXA_API_KEY ```
+```yaml
+tools:
+ - use: deerflow.community.exa.tools:web_fetch_tool
+ api_key: $EXA_API_KEY
+```
- ```yaml tools: - use: deerflow.community.infoquest.tools:web_fetch_tool
- api_key: $INFOQUEST_API_KEY ```
+```yaml
+tools:
+ - use: deerflow.community.infoquest.tools:web_fetch_tool
+ api_key: $INFOQUEST_API_KEY
+```
- ```yaml tools: - use: deerflow.community.firecrawl.tools:web_fetch_tool
- api_key: $FIRECRAWL_API_KEY ```
+```yaml
+tools:
+ - use: deerflow.community.firecrawl.tools:web_fetch_tool
+ api_key: $FIRECRAWL_API_KEY
+```
diff --git a/frontend/src/content/zh/harness/tools.mdx b/frontend/src/content/zh/harness/tools.mdx
index 1b25cc55b..954a1ad01 100644
--- a/frontend/src/content/zh/harness/tools.mdx
+++ b/frontend/src/content/zh/harness/tools.mdx
@@ -148,13 +148,19 @@ Firecrawl 驱动的搜索和爬取。需要 [Firecrawl](https://firecrawl.dev) A
- ```yaml tools: - use: deerflow.community.jina_ai.tools:web_fetch_tool
- api_key: $JINA_API_KEY # 可选;匿名使用有速率限制 ``` 将网页转换为干净的
- Markdown。无 API Key 也可使用,但有更严格的速率限制。
+```yaml
+tools:
+ - use: deerflow.community.jina_ai.tools:web_fetch_tool
+ api_key: $JINA_API_KEY # 可选;匿名使用有速率限制
+```
+将网页转换为干净的 Markdown。无 API Key 也可使用,但有更严格的速率限制。
- ```yaml tools: - use: deerflow.community.exa.tools:web_fetch_tool api_key:
- $EXA_API_KEY ```
+```yaml
+tools:
+ - use: deerflow.community.exa.tools:web_fetch_tool
+ api_key: $EXA_API_KEY
+```