Fix agent tool support, fix many other bugs
This commit is contained in:
1 parent
2b44dcebf4
commit
6c5140fb92
5 files changed
+79
-56
No files matched your search
@@ -10,6 +10,14 @@ function objectView (name, mod) {
|
||||
}
|
||||
}
|
||||
|
||||
function staticView (name, mod) {
|
||||
return {
|
||||
name,
|
||||
path: `/${name}`,
|
||||
component: mod
|
||||
}
|
||||
}
|
||||
|
||||
// These routers must be handled by the server by rendering the index page
|
||||
// file: backend/server.py
|
||||
const router = createRouter({
|
||||
@@ -50,6 +58,7 @@ const router = createRouter({
|
||||
},
|
||||
objectView('chat', () => import('../views/Chat.vue')),
|
||||
objectView('agent', () => import('../views/Agent.vue')),
|
||||
staticView('user', () => import('../views/User.vue')),
|
||||
],
|
||||
})
|
||||
|
||||
|
||||
Reference in new issue
Block a user