mirror of
https://github.com/hellodigua/ChatLab.git
synced 2026-10-25 17:54:34 +08:00
refactor: remove redundant re-export proxies
This commit is contained in:
1 parent
35c696b1a4
commit
5a5fae880a
19 files changed
+25
-128
No files matched your search
@@ -1,12 +0,0 @@
|
||||
/**
|
||||
* Server-side remote LLM API operations.
|
||||
* Thin wrapper over @openchatlab/node-runtime shared implementation.
|
||||
*/
|
||||
|
||||
export {
|
||||
fetchRemoteModels,
|
||||
validateApiKey,
|
||||
type RemoteModel,
|
||||
type FetchRemoteModelsResult,
|
||||
type RemoteApiOptions,
|
||||
} from '@openchatlab/node-runtime'
|
||||
@@ -38,11 +38,11 @@ import {
|
||||
getDefaultNodeUserDataDir,
|
||||
getPendingNodeDataDirMigration,
|
||||
AnalyticsService,
|
||||
MergeSessionCache,
|
||||
type SemanticIndexRuntime,
|
||||
} from '@openchatlab/node-runtime'
|
||||
import { registerSharedRoutes } from '@openchatlab/http-routes'
|
||||
import type { HttpRouteContext } from '@openchatlab/http-routes'
|
||||
import { MergeSessionCache } from '../../../merger/merge-cache'
|
||||
import { registerImportRoutes } from './import'
|
||||
import { openDirectoryPath, showPathInFolder } from './cache'
|
||||
import { getVersion } from '../../../version'
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
export { MergeSessionCache } from '@openchatlab/node-runtime'
|
||||
@@ -10,9 +10,9 @@ import { PreferencesManager, createDatabaseManagerAdapter, ownerProfileService }
|
||||
import type { PathProvider } from '@openchatlab/core'
|
||||
import { DataSourceManager, PullEngine, initScheduler, stopAllTimers, reloadTimer, stopTimer } from '@openchatlab/sync'
|
||||
import type { SyncLogger } from '@openchatlab/sync'
|
||||
import { NodeFetcher, DirectImporter, NoopNotifier } from './adapters'
|
||||
import { registerAutomationRoutes } from './routes'
|
||||
import { registerAutomationRoutes } from '@openchatlab/http-routes'
|
||||
import type { AutomationRouteContext } from '@openchatlab/http-routes'
|
||||
import { NodeFetcher, DirectImporter, NoopNotifier } from './adapters'
|
||||
|
||||
export interface SyncRouteContext {
|
||||
automation: AutomationRouteContext
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
export { registerAutomationRoutes } from '@openchatlab/http-routes'
|
||||
Reference in new issue
Block a user