aws / aws/amazon-q-developer-cli

Hard to read lengthy prompt in agent json file

オープン
#2,802 コメント 8 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Rust
スター
2k
フォーク
439
PR マージ指標
30日以内にマージされた PR はありません

説明

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`

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

まず schemas/agent-v1.json を読んで現在の prompt フィールドを理解し、次に issue で言及されているエージェント設定のパス(.aws/amazonq/prompts/ を含む)を調査します。提案されている設定アプローチのうち、どれを対象範囲とするか、また長いプロンプトに対して完了をどのように検証するかを定義します。issue ではテストもエントリポイントも指定されていません。

索引モデルが issue の本文から書いたものです。

評価

領域
cli
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
30/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。