mirror of
https://gitee.com/wanwujie/deer-flow
synced 2026-04-21 05:14:45 +08:00
fix: mcp config styles (#320)
This commit is contained in:
@@ -23,6 +23,8 @@ export const Link = ({
|
||||
if (call && call.name === "web_search" && call.result) {
|
||||
const result = JSON.parse(call.result) as Array<{ url: string }>;
|
||||
result.forEach((r) => {
|
||||
// encodeURI is used to handle the case where the link contains chinese or other special characters
|
||||
links.add(encodeURI(r.url));
|
||||
links.add(r.url);
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user