diff --git a/redirects.caddy b/redirects.caddy index d9cec3ac..70684b03 100644 --- a/redirects.caddy +++ b/redirects.caddy @@ -501,8 +501,10 @@ redir /agentos/self-host/workers/vm /docs/deploy/self-host/workers/vm/{http.requ redir /agentos/self-host/workers/vm/ /docs/deploy/self-host/workers/vm/{http.request.uri.prefixed_query} 301 redir /actors/learn/a-radically-simpler-architecture /guides/a-radically-simpler-architecture/{http.request.uri.prefixed_query} 301 redir /actors/learn/a-radically-simpler-architecture/ /guides/a-radically-simpler-architecture/{http.request.uri.prefixed_query} 301 -redir /actors/learn/ai-agent /guides/ai-agent/{http.request.uri.prefixed_query} 301 -redir /actors/learn/ai-agent/ /guides/ai-agent/{http.request.uri.prefixed_query} 301 +redir /guides/ai-agent /guides/personal-agent/{http.request.uri.prefixed_query} 301 +redir /guides/ai-agent/ /guides/personal-agent/{http.request.uri.prefixed_query} 301 +redir /actors/learn/ai-agent /guides/personal-agent/{http.request.uri.prefixed_query} 301 +redir /actors/learn/ai-agent/ /guides/personal-agent/{http.request.uri.prefixed_query} 301 redir /actors/learn/chat-room /guides/chat-room/{http.request.uri.prefixed_query} 301 redir /actors/learn/chat-room/ /guides/chat-room/{http.request.uri.prefixed_query} 301 redir /actors/learn/collaborative-text-editor /guides/collaborative-text-editor/{http.request.uri.prefixed_query} 301 @@ -555,8 +557,8 @@ redir /workflows/tutorials /workflows/docs/{http.request.uri.prefixed_query} 301 redir /workflows/tutorials/ /workflows/docs/{http.request.uri.prefixed_query} 301 redir /cookbook /guides/{http.request.uri.prefixed_query} 301 redir /cookbook/ /guides/{http.request.uri.prefixed_query} 301 -redir /cookbook/ai-agent /guides/ai-agent/{http.request.uri.prefixed_query} 301 -redir /cookbook/ai-agent/ /guides/ai-agent/{http.request.uri.prefixed_query} 301 +redir /cookbook/ai-agent /guides/personal-agent/{http.request.uri.prefixed_query} 301 +redir /cookbook/ai-agent/ /guides/personal-agent/{http.request.uri.prefixed_query} 301 redir /cookbook/chat-room /guides/chat-room/{http.request.uri.prefixed_query} 301 redir /cookbook/chat-room/ /guides/chat-room/{http.request.uri.prefixed_query} 301 redir /cookbook/collaborative-text-editor /guides/collaborative-text-editor/{http.request.uri.prefixed_query} 301 diff --git a/redirects.mjs b/redirects.mjs index 6319ffc0..940cb7cc 100644 --- a/redirects.mjs +++ b/redirects.mjs @@ -47,7 +47,7 @@ const explicitRedirects = { '/workflows/tutorials': '/workflows/docs/', // Cookbook became the Actors Learn tab. '/cookbook': '/guides/', - '/cookbook/ai-agent': '/guides/ai-agent/', + '/cookbook/ai-agent': '/guides/personal-agent/', '/cookbook/chat-room': '/guides/chat-room/', '/cookbook/collaborative-text-editor': '/guides/collaborative-text-editor/', '/cookbook/cron-jobs': '/guides/cron-jobs/', @@ -428,6 +428,9 @@ function bundleSplitRedirects() { map['/actors/use-cases'] = '/actors/docs/'; map['/actors/learn/a-radically-simpler-architecture'] = '/guides/a-radically-simpler-architecture/'; + // The AI Agent guide was retired for the Agents docs and their guides. + map['/guides/ai-agent'] = '/guides/personal-agent/'; + map['/actors/learn/ai-agent'] = '/guides/personal-agent/'; return map; } diff --git a/src/data/nav-menus.ts b/src/data/nav-menus.ts index ac53ec47..9f1cf1f2 100644 --- a/src/data/nav-menus.ts +++ b/src/data/nav-menus.ts @@ -62,7 +62,7 @@ export const SOLUTIONS_MENU: SolutionMenuItem[] = [ }, { id: "personal-agents", - href: "/guides/ai-agent/", + href: "/guides/personal-agent/", label: "Personal agents", description: "One long-lived Actor per user", icon: faUser,