mirror of
https://github.com/arc53/DocsGPT.git
synced 2025-11-30 00:53:14 +00:00
* feat: agent templates and seeding premade agents * fix: ensure ObjectId is used for source reference in agent configuration * fix: improve source handling in DatabaseSeeder and update tool config processing * feat: add prompt handling in DatabaseSeeder for agent configuration * Docs premade agents * link to prescraped docs * feat: add template agent retrieval and adopt agent functionality * feat: simplify agent descriptions in premade_agents.yaml added docs --------- Co-authored-by: Pavel <pabin@yandex.ru> Co-authored-by: Alex <a@tushynski.me>
19 lines
597 B
TypeScript
19 lines
597 B
TypeScript
import { Route, Routes } from 'react-router-dom';
|
|
|
|
import AgentLogs from './AgentLogs';
|
|
import AgentsList from './AgentsList';
|
|
import NewAgent from './NewAgent';
|
|
import SharedAgent from './SharedAgent';
|
|
|
|
export default function Agents() {
|
|
return (
|
|
<Routes>
|
|
<Route path="/" element={<AgentsList />} />
|
|
<Route path="/new" element={<NewAgent mode="new" />} />
|
|
<Route path="/edit/:agentId" element={<NewAgent mode="edit" />} />
|
|
<Route path="/logs/:agentId" element={<AgentLogs />} />
|
|
<Route path="/shared/:agentId" element={<SharedAgent />} />
|
|
</Routes>
|
|
);
|
|
}
|