Skip to content

Commit

Permalink
Merge pull request #5 from jknbis/main
Browse files Browse the repository at this point in the history
clean
  • Loading branch information
JacobTheJacobs authored May 30, 2024
2 parents 608f338 + 65b3f07 commit 5a1567f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

# 🚀 Pull-n-llama 🦙

The sketchy, long-lost and slightly embarrassing cousin of gitHub copilot workspace 🐑
Expand Down
12 changes: 12 additions & 0 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

handler = GitHandler("https://github.com/X/Y/pull/Z", "branch_name", "path\\to\\repo\\download\\folder")


handler.clone_or_pull_repo()
handler.fetch_pr()
diffs, file_names = handler.get_diff()
Expand All @@ -28,6 +29,16 @@ async def send_diffs():

asyncio.run(send_diffs())

for i in response:
print("----------------------------------------------------------------------------------------------------------------------------------------")
print(i)
print("----------------------------------------------------------------------------------------------------------------------------------------")
print("----------------------------------------------------------------------------------------------------------------------------------------")
print("----------------------------------------------------------------------------------------------------------------------------------------")
print("----------------------------------------------------------------------------------------------------------------------------------------")
print("----------------------------------------------------------------------------------------------------------------------------------------")


with open('ollama_results.txt', 'w') as file:
for i in response:
#
Expand All @@ -38,3 +49,4 @@ async def send_diffs():
file.write("----------------------------------------------------------------------------------------------------------------------------------------\n")
file.write("----------------------------------------------------------------------------------------------------------------------------------------\n")
file.write("----------------------------------------------------------------------------------------------------------------------------------------\n")

0 comments on commit 5a1567f

Please sign in to comment.