aws / aws/amazon-q-developer-cli
Hard to read lengthy prompt in agent json file
- Vorherrschende Sprache
- Rust
- Sterne
- 2k
- Forks
- 439
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
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`
Beitragsleitfaden
Rechercherichtung
Beginne mit dem Lesen von schemas/agent-v1.json, um das aktuelle prompt-Feld zu verstehen, und untersuche anschließend die in der Issue genannten Pfade zur Agentenkonfiguration, einschließlich .aws/amazonq/prompts/. Definiere, welcher vorgeschlagene Konfigurationsansatz in den Umfang fällt und wie die Fertigstellung für lange Prompts verifiziert werden soll; in der Issue wird kein Test und kein Einstiegspunkt genannt.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Bereich
- cli
- Issue-Typ
- Feature
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 30/100