4 Commits

Author SHA1 Message Date
ecba21bc70 Added missing auth header during code reviews
All checks were successful
Publish Library / Build NPM Project (push) Successful in 9s
Publish Library / Tag Version (push) Successful in 8s
2026-01-15 20:14:11 -05:00
19392b70a6 Bump
All checks were successful
Publish Library / Build NPM Project (push) Successful in 6s
Publish Library / Tag Version (push) Successful in 5s
2026-01-14 16:02:36 -05:00
e3d38d2df8 Updated readme
All checks were successful
Publish Library / Build NPM Project (push) Successful in 5s
Publish Library / Tag Version (push) Successful in 5s
2026-01-14 16:00:07 -05:00
9ff7beee1e Fixed output
All checks were successful
Publish Library / Build NPM Project (push) Successful in 6s
Publish Library / Tag Version (push) Successful in 5s
2026-01-14 15:56:44 -05:00
3 changed files with 13 additions and 9 deletions

View File

@@ -37,9 +37,12 @@ AI-powered Gitea agents for automating reviews and administration
## 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
[![Docker](https://img.shields.io/badge/Docker-384d54?style=for-the-badge&logo=docker)](https://docker.com/)

View File

@@ -1,6 +1,6 @@
{
"name": "@ztimson/ai-agents",
"version": "0.1.3",
"version": "0.1.5",
"description": "AI agents",
"keywords": ["ai", "review"],
"author": "ztimson",

View File

@@ -25,9 +25,10 @@ dotenv.config({path: '.env.local', override: true, quiet: true, debug: false});
model = process.env['AI_MODEL'],
token = process.env['AI_TOKEN'];
console.log(`Reviewing: ${root}\n`);
const info = await fetch(`${git}/api/v1/repos/${owner}/${repo}/pulls/${pr}`)
.then(async resp => {
console.log(`Reviewing: ${root}`);
const info = await fetch(`${git}/api/v1/repos/${owner}/${repo}/pulls/${pr}`, {
headers: {'Authorization': `token ${auth}`}
}).then(async resp => {
if(resp.ok) return resp.json();
throw new Error(`${resp.status} ${await resp.text()}`);
});