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

[Bug]: comment on issue syntax error when resolution fails #7089

Open
1 task done
the-veloper opened this issue Mar 4, 2025 · 1 comment
Open
1 task done

[Bug]: comment on issue syntax error when resolution fails #7089

the-veloper opened this issue Mar 4, 2025 · 1 comment
Labels
bug Something isn't working resolver Related to OpenHands Resolver

Comments

@the-veloper
Copy link

the-veloper commented Mar 4, 2025

Is there an existing issue for the same bug?

  • I have checked the existing issues.

Describe the bug and reproduction steps

Looks like using the default github action fails to leave a comment on a PR triggered by "(at)openhands-agent " comment

OpenHands Installation

GitHub resolver

OpenHands Version

main

Operating System

Linux

Logs, Errors, Screenshots, and Additional Context

context: i opened an issue, triggered a fix with the fix-me label, the PR wasn't open and i opened it manually from the pushed branch. then i noticed that it was using an incorrect requirement in the changes, so i triggered it to refactor it using the existing requirements with a comment. the issue/comment resolution failed with AntropicError (too complex whatever) but i expect a comment saying that it failed to complete?

Image

SyntaxError: Unexpected token ';'
    at new AsyncFunction (<anonymous>)
    at callAsyncFunction (/home/runner/work/_actions/actions/github-script/v7/dist/index.js:35424:16)
    at main (/home/runner/work/_actions/actions/github-script/v7/dist/index.js:35522:26)
    at /home/runner/work/_actions/actions/github-script/v7/dist/index.js:35497:1
    at /home/runner/work/_actions/actions/github-script/v7/dist/index.js:35553:3
    at Object.<anonymous> (/home/runner/work/_actions/actions/github-script/v7/dist/index.js:35556:12)
    at Module._compile (node:internal/modules/cjs/loader:1469:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1548:10)
    at Module.load (node:internal/modules/cjs/loader:1288:32)
    at Module._load (node:internal/modules/cjs/loader:1104:12)
@the-veloper the-veloper added the bug Something isn't working label Mar 4, 2025
@the-veloper the-veloper changed the title [Bug]: comment on issue syntax error [Bug]: comment on issue syntax error when resolution fails Mar 4, 2025
@enyst enyst added the resolver Related to OpenHands Resolver label Mar 4, 2025
@Yuuki-nugi
Copy link

I am facing exactly the same error.
In the Actions where the same error occurs, the "Attempt to resolve issue" also results in an error, as shown in the attached image.
It was working at the beginning of February, and I don't recall changing the LLM_API_TOKEN.
Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working resolver Related to OpenHands Resolver
Projects
None yet
Development

No branches or pull requests

3 participants