feat: expand secure assistant workflows
Harden runtime execution and add local knowledge, Smart Heartbeat, usage visibility, responsive product surfaces, and cross-platform packaging support. Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
This commit is contained in:
co-authored by
factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
parent
6ef1795b81
commit
b3fdf96962
@@ -9,12 +9,14 @@ import type {
|
||||
|
||||
export class UnconfiguredAgentRuntime implements AgentRuntime {
|
||||
readonly requiresToolApproval = false
|
||||
readonly supportsToolExecution = false
|
||||
|
||||
getStatus(): Promise<AgentRuntimeStatus> {
|
||||
return Promise.resolve({
|
||||
id: 'setup',
|
||||
label: '需要配置模型',
|
||||
available: false,
|
||||
supportsToolExecution: this.supportsToolExecution,
|
||||
detail: '请在设置中选择并配置可用的模型或 Agent Runtime'
|
||||
})
|
||||
}
|
||||
@@ -25,6 +27,7 @@ export class UnconfiguredAgentRuntime implements AgentRuntime {
|
||||
yield {
|
||||
requestId: request.requestId,
|
||||
type: 'error',
|
||||
status: 'failed',
|
||||
message: '请先完成模型与 Agent Runtime 配置'
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user