aws / aws/amazon-q-developer-cli
Hard to read lengthy prompt in agent json file
- Langage dominant
- Rust
- Étoiles
- 2k
- Forks
- 439
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
Json format doesn't support multiline string. The [prompt](https://github.com/aws/amazon-q-developer-cli/blob/main/schemas/agent-v1.json) 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`
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
Commencez par lire schemas/agent-v1.json afin de comprendre le champ prompt actuel, puis examinez les chemins de configuration de l’agent mentionnés dans l’issue, notamment .aws/amazonq/prompts/. Définissez quelle approche de configuration proposée entre dans le périmètre et comment l’achèvement serait vérifié pour les prompts longs ; aucun test ni point d’entrée n’est indiqué dans l’issue.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Domaine
- cli
- Type d'issue
- Fonctionnalité
- Difficulté
- 5/5
- Temps estimé
- Plus d'une semaine
- Activité
- À l'abandon
- Clarté
- À clarifier
- Accessibilité débutants
- 30/100