Skip to content

System prompt contains incorrect instructions #3246

@lorenz-mcroonenbroeck

Description

@lorenz-mcroonenbroeck

Describe the bug

The system prompt contains instructions such as

You can install Linux, Python, JavaScript and Go packages with the apt, pip, npm and go commands.

You can run Python, Node.js and Go code with python, node and go

This instruction causes to cli to e.g. use python in certain scenarios while it is actually not available. These instructions are infrastructure/host depended and might be true for the github cloud environment but not for locally hosted or self hosted systems.

It should be possible to override the system prompt or such instructions should be removed.

Affected version

No response

Steps to reproduce the behavior

  1. have a system without python installed
  2. Instruct the agent to edit a yaml file
  3. In many cases the agent will try to validate the yaml using python while it is not available.

Expected behavior

System prompt doesn't contain incorrect or misleading instructions to prevent copilot doing things that are not possible.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:context-memoryContext window, memory, compaction, checkpoints, and instruction loading

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions