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

[Programming question]: download file #15

Closed
haesleinhuepf opened this issue Oct 16, 2024 · 3 comments · Fixed by #17 · May be fixed by #16
Closed

[Programming question]: download file #15

haesleinhuepf opened this issue Oct 16, 2024 · 3 comments · Fixed by #17 · May be fixed by #16
Assignees

Comments

@haesleinhuepf
Copy link
Owner

Please download https://github.com/haesleinhuepf/git-bob/blob/main/playground/long_file.java and put it here in this repository.

git-bob solve

@haesleinhuepf
Copy link
Owner Author

Ok this was the wrong url. Let's try again with: https://raw.githubusercontent.com/haesleinhuepf/git-bob/refs/heads/main/playground/long_file.java

git-bob solve

Copy link
Contributor

This message was generated by git-bob (version: 0.9.0, model: gpt-4o-2024-08-06, log), an experimental AI-based assistant. It can make mistakes and has limitations. Check its messages carefully.

Error creating pull-request: 422 {"message": "Validation Failed", "errors": [{"resource": "PullRequest", "code": "custom", "message": "No commits between main and git-bob-mod-iHULrNzAZX"}], "documentation_url": "https://docs.github.com/rest/pulls/pulls#create-a-pull-request", "status": "422"}

During solving this task, the following errors occurred:

  • Error during {'action': 'download', 'source_url': 'https://raw.githubusercontent.com/haesleinhuepf/git-bob/refs/heads/main/playground/long_file.java', 'target_filename': 'long_file.java'}: Can only download from GitHub URLs.
        Traceback (most recent call last):
        File "/home/runner/work/git-bob-playground/git-bob-playground/git-bob/src/git_bob/_ai_github_utilities.py", line 480, in solve_github_issue
          download_to_repository(repository, branch_name, source_url, target_filename)
        File "/home/runner/work/git-bob-playground/git-bob-playground/git-bob/src/git_bob/_github_utilities.py", line 814, in download_to_repository
          raise Exception("Can only download from GitHub URLs.")
      Exception: Can only download from GitHub URLs.
      

@haesleinhuepf
Copy link
Owner Author

git-bob implement this again

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment