feat: enhance local knowledge retrieval

This commit is contained in:
lofyer
2026-08-12 21:45:47 +08:00
parent e0e5a8c1b3
commit 111f487e20
65 changed files with 13517 additions and 1155 deletions
+3 -1
View File
@@ -5,6 +5,7 @@ import type {
AgentRequest,
AgentRuntimeStatus
} from '../../shared/contracts'
import type { WorkMode } from '../../shared/assistant-contracts'
export type RuntimeApprovalRequest = {
scopeKey: string
@@ -72,7 +73,8 @@ export type AgentImage = {
data: string
}
export type AgentExecutionRequest = AgentRequest & {
export type AgentExecutionRequest = Omit<AgentRequest, 'workMode'> & {
workMode?: WorkMode
images?: AgentImage[]
/** Main-process-only instructions placed in the model system layer. */
trustedInstructions?: string