Skip to content

[Bug] Agent does not recognize OS environment it runs in resulting in continous terminal tool usage errors #25896

@4creators

Description

@4creators

What happened?

For last couple of weeks I do observe increasing number of errors caused by lack of OS environment awareness - despite providing exact tooling information on my Windows machine - agent even after encountering multiple errors due to using linux specific tools and bash syntax, even after being multiple times informed by user what system it is running on agent continues to make multiple errors.

Agent ignores direct requests by user made in global and local gemini.md files with regard to tool usage, workflow organization etc. See my other bug report: #25892

What did you expect to happen?

Basic requirement for any coding agent is to be aware of OS environment and tooling available, otherwise any development work starts to look like toddler trial and error learning attempt with obvious loss of productivity.

Client information

  • CLI Version: 0.39.0
  • Git Commit: 398f78d
  • Session ID: 6df14344-1210-4a6d-81cd-4355a0318e6c
  • Operating System: win32 v2 5.9.0
  • Sandbox Environment: no sandbox
  • Model Version: gemini-3.1-pro-preview
  • Auth Type: oauth-personal
  • Memory Usage: 393.5 MB
  • Terminal Name: Unknown
  • Terminal Background: #0c0 c0c
  • Kitty Keyboard Protocol: Unsupported

Login information

No response

Anything else we need to know?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/agentIssues related to Core Agent, Tools, Memory, Sub-Agents, Hooks, Agent Qualitykind/bugpriority/p2Important but can be addressed in a future release.status/bot-triaged

    Type

    No fields configured for Bug.

    Projects

    Status
    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions