Skip to content

custom system_prompt is not set correctly when passing it in open(config) #1482

@Senth

Description

@Senth

I've been trying to get a custom system_prompt to be set when calling the open(config) command. It seems like it should work since I have gotten it to work when calling ask("my prompt", config)

Reproducible Example

require("CopilotChat").open({
	system_prompt = "You are a pirate. Speak in pirate slang.",
})
Image

Example where it works with ask(...)

require("CopilotChat").ask(
	"Do you have any custom instructions?",
	{ system_prompt = "You are a pirate. Speak in pirate slang." }
)
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions