Skip to content

Agent获取 Issue Comment不够规范问题 #18

@alpha-86

Description

@alpha-86

阅读
#3 (comment)
迭代文档,需要重新发起human review #1

● Bash(gh api repos//issues/3/comments/4278527510 --jq
'.body' 2>/dev/null)
⎿  Error: Exit code 1
{
"message": "Not Found",
"documentation_url": "https://docs.github.com/rest",
"status": "404"
}

● Bash(gh issue view 3 --json comments 2>/dev/null | python3 -c "import
json,sys; d=json.load(sys.stdin); [print(c['databaseId'],
c['author']['login'], c['createdAt'][…)
⎿  Failed

● Bash(gh issue view 3 2>/dev/null)
⎿  Error: Exit code 1

Fetch(#3)
⎿  Fetching…

如上是issue #3的Human Review #1环节的过程,可以发现Agent无法正确理解如何获取comment,需要通过prompts、skill、脚本的迭代,让Agent能够清晰知道如何以统一的方式直接获取issue comment,而不是多次试错

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions