Skip to content

System prompt always just "COPILOT_INSTRUCTIONS" in "show info" (gc) #1323

@liskin

Description

@liskin

Presumably because the second config arg to resolve_prompt isn't passed at

local config, prompt = copilot.resolve_prompt(message.content)

And also because since 081d4c2, the default "COPILOT_INSTRUCTIONS" system_prompt

system_prompt = 'COPILOT_INSTRUCTIONS', -- System prompt to use (can be specified manually in prompt via /).
isn't expanded (resolved).


So this is basically 2 issues in one:

  • not being able to see the actual system prompt used at some point of the conversation history
  • 081d4c2 regressing the default system prompt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions