idea
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
这是一个读取 gitea PR, 将其内容 (主要是评阅意见) 整理为 LLM 友好的 markdown 文件的项目.
|
||||
|
||||
使用:
|
||||
|
||||
```bash
|
||||
GITEA_PR_CLI_API_TOKEN=...
|
||||
GITEA_PR_CLI_URL=https://gitea.com
|
||||
# 或用参数指定 --repo 在最开头
|
||||
GITEA_PR_CLI_REPO=Origami404/aaa
|
||||
gitea-pr-review <pr-index>
|
||||
```
|
||||
|
||||
返回:
|
||||
|
||||
`````md
|
||||
# <repo> `#<pr-index>` <pr-title>
|
||||
|
||||
<各种基本信息, LLM 决定展示形式>
|
||||
|
||||
## Reivew 1 (<review 结果>)
|
||||
> <发起人>
|
||||
|
||||
### Comment 1.1
|
||||
<文件名>:<行号>
|
||||
<用户>: 说了 xxx
|
||||
... (后续用户回复)
|
||||
|
||||
### Comment 1.2
|
||||
...
|
||||
|
||||
`````
|
||||
Reference in New Issue
Block a user