refactor(subturn): remove redundant system prompt handling in runTurn function
This commit is contained in:
parent
53404f18ca
commit
01c2f8d608
1 changed files with 0 additions and 4 deletions
|
|
@ -491,10 +491,6 @@ func runTurn(ctx context.Context, al *AgentLoop, ts *turnState, cfg SubTurnConfi
|
|||
childAgent.MaxTokens = parentAgent.MaxTokens
|
||||
}
|
||||
|
||||
if cfg.ActualSystemPrompt != "" {
|
||||
childAgent.Sessions.AddMessage(ts.turnID, "system", cfg.ActualSystemPrompt)
|
||||
}
|
||||
|
||||
promptAlreadyAdded := false
|
||||
|
||||
// Preload ephemeral session history
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue