chore(agent): remove stale references

This commit is contained in:
2026-07-07 16:50:06 +08:00
parent 7f34098cf5
commit 4418e99a5c
3 changed files with 2 additions and 5 deletions
+1 -2
View File
@@ -11,7 +11,6 @@ import {
agentModelOptions,
isSupportedModel,
resolveDefaultModel,
type SupportedModel,
} from "../chat/models.js";
import { config } from "../config.js";
import { type LearningOrchestrator } from "../learning/orchestrator.js";
@@ -1116,7 +1115,7 @@ export const buildChatRouter = (
fallbackTitle: existingSessionTitle,
});
}
const nextSessionRecord = await sessionMetadataStore.touch(latestSessionRecord, {
await sessionMetadataStore.touch(latestSessionRecord, {
...(sessionTitle && sessionTitle !== existingSessionTitle
? { title: sessionTitle }
: {}),
-2
View File
@@ -45,8 +45,6 @@ import {
normalizeToolParams,
normalizeToolStatus,
type PermissionRequestPayload,
type QuestionRequestPayload,
type TodoItemPayload,
type TodoUpdatePayload,
} from "./chatStreamEvents.js";
import { createTokenSmoother } from "./chatTokenSmoother.js";
+1 -1
View File
@@ -13,5 +13,5 @@
"allowSyntheticDefaultImports": true,
"types": ["node", "bun-types"]
},
"include": ["src/**/*.ts", "tests/**/*.ts", "cli/**/*.ts"]
"include": ["src/**/*.ts", "tests/**/*.ts"]
}