Skip to content

Improve agentic prompt to include Shell information

Problem to solve

  • Currently the shell environment information is not included when prompting the LLM.
  • As a result LLM might not have enough information to produce more accurate responses.

Proposed solution

  • Include information about the shell environment.
  • When the LLM knows the active shell, it can generate platform-specific commands and make full use of the shell’s capabilities.

References

In this issue we introduce OS information as context.

Edited by 🤖 GitLab Bot 🤖