mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-06-11 15:15:18 +02:00
update: git tool
This commit is contained in:
parent
20ce56ce10
commit
ad2530aff9
1 changed files with 4 additions and 0 deletions
|
|
@ -141,6 +141,8 @@ async def git_create_pull(
|
|||
Returns:
|
||||
PullRequest: The created pull request.
|
||||
"""
|
||||
from metagpt.utils.git_repository import GitRepository
|
||||
|
||||
return await GitRepository.create_pull(
|
||||
base=base,
|
||||
head=head,
|
||||
|
|
@ -187,4 +189,6 @@ async def git_create_issue(
|
|||
Returns:
|
||||
Issue: The created issue.
|
||||
"""
|
||||
from metagpt.utils.git_repository import GitRepository
|
||||
|
||||
return await GitRepository.create_issue(repo_name=repo_name, title=title, body=body, access_token=access_token)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue