Skip to content

Hard to read lengthy prompt in agent json file #2802

@longjun2013

Description

@longjun2013

Json format doesn't support multiline string. The prompt field defined in agent json file is a string type.

I could think of two solutions. Is any of them supported now or in the near future?

  1. Be able to config the agent with yaml format which supports multiline string.
  2. Be able to reference prompts, for example,
{
  "$schema": "...",
  "name": "...",
  "description": "...",
  "prompt": "@my_first_prompt"

The my_first_prompt is defined in .aws/amazonq/prompts/my_first_prompt.md

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions