mirror of
https://github.com/hellodigua/ChatLab.git
synced 2026-10-25 17:54:34 +08:00
feat(plugin): migrate time investment plugin
This commit is contained in:
1 parent
b00959fd5f
commit
0f46352b8d
28 files changed
+511
-436
No files matched your search
@@ -45,7 +45,7 @@ import {
|
||||
MergeSessionCache,
|
||||
type SemanticIndexRuntime,
|
||||
} from '@openchatlab/node-runtime'
|
||||
import { annualSummaryNodePlugin, registerSharedRoutes } from '@openchatlab/http-routes'
|
||||
import { annualSummaryNodePlugin, registerSharedRoutes, timeInvestmentNodePlugin } from '@openchatlab/http-routes'
|
||||
import type { HttpRouteContext } from '@openchatlab/http-routes'
|
||||
import { registerImportRoutes } from './import'
|
||||
import { openDirectoryPath, showPathInFolder } from './cache'
|
||||
@@ -177,7 +177,7 @@ export function registerWebRoutes(
|
||||
}),
|
||||
},
|
||||
{
|
||||
nodePlugins: [annualSummaryNodePlugin],
|
||||
nodePlugins: [annualSummaryNodePlugin, timeInvestmentNodePlugin],
|
||||
...(ai && { requireAi: true }),
|
||||
}
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user