aws / aws/amazon-q-developer-cli

Hard to read lengthy prompt in agent json file

Đang mở
#2,802 8 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Rust
Star
2k
Fork
439
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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`

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Bắt đầu bằng cách đọc schemas/agent-v1.json để hiểu trường prompt hiện tại, sau đó kiểm tra các đường dẫn cấu hình agent được đề cập trong issue, bao gồm .aws/amazonq/prompts/. Xác định cách tiếp cận cấu hình được đề xuất nào nằm trong phạm vi và việc hoàn tất sẽ được xác minh như thế nào đối với các prompt dài; issue không nêu test hay entry point nào.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Lĩnh vực
cli
Loại issue
Tính năng
Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
30/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.