Significant-Gravitas / AutoGPT-Code-Ability

🖥️ AutoGPT's Coding Ability - empowering everyone to build software using AI
MIT License
117 stars 35 forks source link

[AGPT-709] Give Codex a Chat Interface #256

Closed Swiftyos closed 5 months ago

linear[bot] commented 5 months ago

AGPT-709

codiumai-pr-agent-pro[bot] commented 5 months ago

CI Failure Feedback

(Checks updated until commit https://github.com/Significant-Gravitas/codex/commit/677fd00957b0582e39c2e6ef7997aa881d44e343)

**Action:** code-quality
**Failed stage:** [Run ruff formatter](https://github.com/Significant-Gravitas/codex/actions/runs/8877274283/job/24370515416) [❌]
**Failure summary:** The action failed due to code formatting issues. Specifically, the file codex/__main__.py would be
reformatted, indicating it does not meet the project's code style guidelines. The process exited
with code 1, typically used to indicate failure in such formatting checks.
Relevant error logs: ```yaml 1: ##[group]Operating System 2: Ubuntu ... 479: PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.11.9/x64/lib/pkgconfig 480: Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.11.9/x64 481: Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.11.9/x64 482: Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.11.9/x64 483: LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.11.9/x64/lib 484: ##[endgroup] 485: Would reformat: codex/__main__.py 486: 1 file would be reformatted, 79 files already formatted 487: ##[error]Process completed with exit code 1. ```

✨ CI feedback usage guide:
The CI feedback tool (`/checks)` automatically triggers when a PR has a failed check. The tool analyzes the failed checks and provides several feedbacks: - Failed stage - Failed test name - Failure summary - Relevant error logs In addition to being automatically triggered, the tool can also be invoked manually by commenting on a PR: ``` /checks "https://github.com/{repo_name}/actions/runs/{run_number}/job/{job_number}" ``` where `{repo_name}` is the name of the repository, `{run_number}` is the run number of the failed check, and `{job_number}` is the job number of the failed check. #### Configuration options - `enable_auto_checks_feedback` - if set to true, the tool will automatically provide feedback when a check is failed. Default is true. - `excluded_checks_list` - a list of checks to exclude from the feedback, for example: ["check1", "check2"]. Default is an empty list. - `enable_help_text` - if set to true, the tool will provide a help message with the feedback. Default is true. - `persistent_comment` - if set to true, the tool will overwrite a previous checks comment with the new feedback. Default is true. - `final_update_message` - if `persistent_comment` is true and updating a previous checks message, the tool will also create a new message: "Persistent checks updated to latest commit". Default is true. See more information about the `checks` tool in the [docs](https://pr-agent-docs.codium.ai/tools/ci_feedback/).