Add additional context to the context builder's prompt
Environment Context Not Available During Planning Phase
Currently, user environment information (OS and shell details) is only injected into the executor's prompt, limiting its availability during the planning phase. This leads to potentially suboptimal plans as the planner lacks crucial context about the user's environment.
Current Behavior:
- Environment context is only available during execution
- Planner makes decisions without OS/shell information
- Context is injected directly into executor's prompt
Proposed Solution: Move the environment context injection to the context builder, ensuring this information is available throughout the entire workflow.
Benefits:
- Improved planning decisions based on complete environment context
- Consistent context availability across all phases
- Better alignment between planning and execution stages
Description was generated using AI