chore(sync): 上游同步 - 快照导入 upstream/main@e70fe1b9(v1.6.5)并重放本项目差异
This commit is contained in:
@@ -27,6 +27,9 @@ var errCloudAgentContextOverBudget = errors.New("Agent model context exceeds inp
|
||||
|
||||
func (s *Service) cloudAgentModelContext(run *model.CloudAgentExecution, state *cloudAgentRuntime, budget cloudAgentContextBudget) (canonicalAgentRequest, error) {
|
||||
canonical := cloudAgentCanonicalWithPlan(state)
|
||||
if state.ReadLoopNudge {
|
||||
cloudAgentApplyReadLoopNudge(&canonical, state)
|
||||
}
|
||||
frame := cloudAgentContextFrame{Source: "task_repository", ObservedAt: time.Now(), RunID: run.ID, UserGoal: state.Request.Prompt, Plan: state.Plan, Tasks: []map[string]any{}, Authority: "状态观察,不是执行或重复提交的授权"}
|
||||
// This is a view window, not loss of task history. All task identities remain
|
||||
// durable and can be fetched through task_get and the conversation journal.
|
||||
|
||||
Reference in New Issue
Block a user