{"id":26854389,"url":"https://github.com/przeprogramowani/gpt-debugger","last_synced_at":"2025-05-05T20:38:35.167Z","repository":{"id":230174838,"uuid":"778661036","full_name":"przeprogramowani/gpt-debugger","owner":"przeprogramowani","description":null,"archived":false,"fork":false,"pushed_at":"2025-04-22T10:19:55.000Z","size":572,"stargazers_count":10,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-22T11:28:48.503Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/przeprogramowani.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-03-28T06:32:13.000Z","updated_at":"2025-04-22T10:19:51.000Z","dependencies_parsed_at":"2024-06-17T10:47:21.836Z","dependency_job_id":"e723821a-4e4e-483a-bfae-9481756c910d","html_url":"https://github.com/przeprogramowani/gpt-debugger","commit_stats":null,"previous_names":["przeprogramowani/gpt-debugger"],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/przeprogramowani%2Fgpt-debugger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/przeprogramowani%2Fgpt-debugger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/przeprogramowani%2Fgpt-debugger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/przeprogramowani%2Fgpt-debugger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/przeprogramowani","download_url":"https://codeload.github.com/przeprogramowani/gpt-debugger/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252572296,"owners_count":21769993,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-03-30T23:27:00.146Z","updated_at":"2025-05-05T20:38:35.118Z","avatar_url":"https://github.com/przeprogramowani.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CI/CD Debugger\n\nDebug flaky CI/CD pipelines with models such as GPT-4 or Claude 3.\n\n## Inputs\n\nBy providing one of the inputs, the action will use the specified model to analyze the error log:\n\n- `OPENAI_API_KEY` - OpenAI API key. You can get it from [OpenAI Console](https://platform.openai.com/account/api-keys). When provided, the action will use GPT-4 Turbo model to analyze the error message.\n\n- `ANTHROPIC_API_KEY` - Anthropic API key. You can get it from [Anthropic console](https://console.anthropic.com/). When provided, the action will use Claude 3 model to analyze the error message.\n\n## How to\n\n1. Redirect error log of one of your failing steps to `gpt_error.log` file:\n2. Add new step to your workflow and mark it with either `always()` or `failure()` expression:\n\n```yaml\njobs:\n  tests:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Run e2e\n        id: e2e\n        run: npm run e2e 2\u003e gpt_error.log\n\n      - uses: przeprogramowani/gpt-debugger@main\n        if: ${{ failure() }}\n        with:\n          OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}\n```\n\n## Output\n\nExample output from the action:\n\n```txt\n🧑‍⚕️ Presenting GPT-4 issue analysis:\n\nThe error indicates that an \"e2e\" script is expected but not defined in the package.json file. To fix this issue, ensure you have an \"e2e\" script specified in your package.json file under the \"scripts\" section. If your intention was to run end-to-end tests, you might need something like:\n\n\"scripts\": {\n\"e2e\": \"your-e2e-test-command here\"\n}\n\nReplace \"your-e2e-test-command here\" with the actual command you use to run your end-to-end tests.\n\nRelevant file:\n- package.json\n```\n\n## Authors\n\n- [Przeprogramowani](https://przeprogramowani.pl)\n- [Opanuj Frontend](https://opanujfrontend.pl)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprzeprogramowani%2Fgpt-debugger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprzeprogramowani%2Fgpt-debugger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprzeprogramowani%2Fgpt-debugger/lists"}