Centralize Git identity environment construction
This commit is contained in:
@@ -949,6 +949,7 @@ func (m *Manager) startLive(ctx context.Context, sess api.AgentSession, task api
|
||||
tools = append(m.leadTools(l), m.readKnowledgeTool())
|
||||
env = nil
|
||||
}
|
||||
env = append(git.IdentityEnv(l.gitName, l.gitEmail), env...)
|
||||
servers := []*mcp.Server{{Name: "byre", Version: "0.0.0", Tools: tools}}
|
||||
|
||||
sctx, cancel := context.WithTimeout(ctx, 60*time.Second)
|
||||
|
||||
Reference in New Issue
Block a user