Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getting the error for main.py file not found when running the action cirolini/genai-code-review@v2 #47

Open
Asthethi opened this issue May 27, 2024 · 7 comments

Comments

@Asthethi
Copy link

Run cirolini/genai-code-review@v2
with:
openai_api_key: ***
github_token: ***
github_pr_id: 2
openai_model: gpt-3.5-turbo
mode: files
language: java
openai_temperature: 0.5
openai_max_tokens: 2048
env:
JAVA_HOME: /opt/hostedtoolcache/Java_Adopt_jdk/11.0.23-9/x64
/usr/bin/docker run --name bd3e97b8141ed9284bb43c4748769_1c749f --label 066803 --workdir /github/workspace --rm -e "JAVA_HOME" -e "INPUT_OPENAI_API_KEY" -e "INPUT_GITHUB_TOKEN" -e "INPUT_GITHUB_PR_ID" -e "INPUT_OPENAI_MODEL" -e "INPUT_MODE" -e "INPUT_LANGUAGE" -e "INPUT_OPENAI_TEMPERATURE" -e "INPUT_OPENAI_MAX_TOKENS" -e "INPUT_CUSTOM_PROMPT" -e "OPENAI_API_KEY" -e "GITHUB_TOKEN" -e "GITHUB_PR_ID" -e "OPENAI_MODEL" -e "OPENAI_TEMPERATURE" -e "OPENAI_MAX_TOKENS" -e "MODE" -e "LANGUAGE" -e "CUSTOM_PROMPT" -e "HOME" -e "GITHUB_JOB" -e "GITHUB_REF" -e "GITHUB_SHA" -e "GITHUB_REPOSITORY" -e "GITHUB_REPOSITORY_OWNER" -e "GITHUB_REPOSITORY_OWNER_ID" -e "GITHUB_RUN_ID" -e "GITHUB_RUN_NUMBER" -e "GITHUB_RETENTION_DAYS" -e "GITHUB_RUN_ATTEMPT" -e "GITHUB_REPOSITORY_ID" -e "GITHUB_ACTOR_ID" -e "GITHUB_ACTOR" -e "GITHUB_TRIGGERING_ACTOR" -e "GITHUB_WORKFLOW" -e "GITHUB_HEAD_REF" -e "GITHUB_BASE_REF" -e "GITHUB_EVENT_NAME" -e "GITHUB_SERVER_URL" -e "GITHUB_API_URL" -e "GITHUB_GRAPHQL_URL" -e "GITHUB_REF_NAME" -
python: can't open file '/github/workspace/src/main.py': [Errno 2] No such file or directory

@dokimiki
Copy link

I have the same issue. Is there any solution to this problem?

@leandromsft
Copy link

I have the same issue, any recommendation?

@dlidstrom
Copy link

Fixed and improved Readme: https://github.com/dlidstrom/genai-code-review

@Spxc
Copy link

Spxc commented Dec 2, 2024

It's throwing a not found on @3 when trying to checkout, so not sure the docs are kosher? @dlidstrom
Should be @V3 / @v3.0.2

@dlidstrom
Copy link

Right, might need an update. Thanks

@tapegram
Copy link

@dlidstrom using the 3.0.2 (and 3.0.0) version I'm getting the error mentioned here: https://community.openai.com/t/error-with-openai-1-56-0-client-init-got-an-unexpected-keyword-argument-proxies/1040332

@dlidstrom
Copy link

@tapegram I haven’t seen this issue (yet). Would you be able to submit a PR to fix it? I will publish an updated version for everyone’s benefit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants