generated from ztimson/template
Compare commits
3 Commits
9ff7beee1e
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| ecba21bc70 | |||
| 19392b70a6 | |||
| e3d38d2df8 |
@@ -37,9 +37,12 @@ AI-powered Gitea agents for automating reviews and administration
|
|||||||
|
|
||||||
## About
|
## About
|
||||||
|
|
||||||
Only supports Gitea
|
AI-powered Gitea agents for automating administration of code repos:
|
||||||
|
- Code Review
|
||||||
|
- Release Notes
|
||||||
|
- Ticket Refinement
|
||||||
|
|
||||||
Use LLM models from Anthropic, OpenAI, or Ollama to automate ticket refinement, code reviews, and releases.
|
Only supports Gitea, copy the relevant `.github/workflows/______.yml` action to start using it
|
||||||
|
|
||||||
### Built With
|
### Built With
|
||||||
[](https://docker.com/)
|
[](https://docker.com/)
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@ztimson/ai-agents",
|
"name": "@ztimson/ai-agents",
|
||||||
"version": "0.1.3",
|
"version": "0.1.5",
|
||||||
"description": "AI agents",
|
"description": "AI agents",
|
||||||
"keywords": ["ai", "review"],
|
"keywords": ["ai", "review"],
|
||||||
"author": "ztimson",
|
"author": "ztimson",
|
||||||
|
|||||||
@@ -26,8 +26,9 @@ dotenv.config({path: '.env.local', override: true, quiet: true, debug: false});
|
|||||||
token = process.env['AI_TOKEN'];
|
token = process.env['AI_TOKEN'];
|
||||||
|
|
||||||
console.log(`Reviewing: ${root}`);
|
console.log(`Reviewing: ${root}`);
|
||||||
const info = await fetch(`${git}/api/v1/repos/${owner}/${repo}/pulls/${pr}`)
|
const info = await fetch(`${git}/api/v1/repos/${owner}/${repo}/pulls/${pr}`, {
|
||||||
.then(async resp => {
|
headers: {'Authorization': `token ${auth}`}
|
||||||
|
}).then(async resp => {
|
||||||
if(resp.ok) return resp.json();
|
if(resp.ok) return resp.json();
|
||||||
throw new Error(`${resp.status} ${await resp.text()}`);
|
throw new Error(`${resp.status} ${await resp.text()}`);
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user