Skip to content

Commit

Permalink
Add Bitbucket support for git_clone function
Browse files Browse the repository at this point in the history
  • Loading branch information
AI Developer committed Dec 30, 2023
1 parent ef0bf6d commit 97c7411
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions ai_developer/assistant.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,28 @@ def create_assistant():
},
},
{
{
"type": "function",
"function": {
"name": "git_clone",
"description": "Clones a repository from a given URL to a specified directory",
"parameters": {
"type": "object",
"properties": {
"repo_url": {
"type": "string",
"description": "The URL of the repository to clone",
},
"directory": {
"type": "string",
"description": "The local directory to clone the repository into"
}
},
"required": ["repo_url", "directory"]
}
}
}

"type": "function",
"function": {
"name": "save_content_to_file",
Expand Down

0 comments on commit 97c7411

Please sign in to comment.