import GitHubToolkitfrom langchain.llms import OpenAIfrom langchain.utilities.github import GitHubAPIWrapper# Set your environment variables using os.environos.environ["GITHUB_APP_ID"] = "123456"os.environ["GITHUB_APP_PRIVATE_KEY"] = "path/to/your/private-key.pem"os.environ["GITHUB_REPOSITORY"] = "username/repo-name"os.environ["GITHUB_BRANCH"] = "bot-branch-name"os.environ["GITHUB_BASE_BRANCH"] = "main"# This example also requires an OpenAI API keyos.environ["OPENAI_API_KEY"] = ""llm = OpenAI(temperature=0)github = GitHubAPIWrapper()toolkit = GitHubToolkit.from_github_api_wrapper(github)agent = initialize_agent(    toolkit.get_tools(), llm, agent=AgentType.ZERO_SHOT_REACT_DESCRIPTION, verbose=True)agent.run(    "You have the software engineering capabilities of a Google Principle engineer. You are tasked with completing issues on a github repository. Please look at the existing issues and complete them.")            > Entering new AgentExecutor chain...     I need to figure out what issues need to be completed.    Action: Get Issues    Action Input: N/A    Observation: Found 1 issues:    [{'title': 'Update README file', 'number': 9}]    Thought: I need to get more information about this issue.    Action: Get Issue    Action Input: 9    Observation: {"title": "Update README file", "body": "Find what the most popular frontend framework is right now and add a short blurb to the readme.md file about how this website will take advantage of it.", "comments": "[]"}    Thought: I need to update the README file.    Action: Create File    Action Input: README.md    Observation: File already exists at README.md. Use update_file instead    Thought: I need to update the existing README file.    Action: Update File    Action Input: README.md    OLD <<<<    This is a sample website    >>>> OLD    NEW <<<<    This is a sample website that uses the most popular frontend framework.    >>>> NEW    Observation: File content was not updated because old content was not found.It may be
The Github toolkit contains tools that enable an LLM agent to interact with a github repository.
The Github toolkit contains tools that enable an LLM agent to interact with a github repository. ->: import GitHubToolkitfrom langchain.llms import OpenAIfrom langchain.utilities.github import GitHubAPIWrapper# Set your environment variables using os.environos.environ["GITHUB_APP_ID"] = "123456"os.environ["GITHUB_APP_PRIVATE_KEY"] = "path/to/your/private-key.pem"os.environ["GITHUB_REPOSITORY"] = "username/repo-name"os.environ["GITHUB_BRANCH"] = "bot-branch-name"os.environ["GITHUB_BASE_BRANCH"] = "main"# This example also requires an OpenAI API keyos.environ["OPENAI_API_KEY"] = ""llm = OpenAI(temperature=0)github = GitHubAPIWrapper()toolkit = GitHubToolkit.from_github_api_wrapper(github)agent = initialize_agent(    toolkit.get_tools(), llm, agent=AgentType.ZERO_SHOT_REACT_DESCRIPTION, verbose=True)agent.run(    "You have the software engineering capabilities of a Google Principle engineer. You are tasked with completing issues on a github repository. Please look at the existing issues and complete them.")            > Entering new AgentExecutor chain...     I need to figure out what issues need to be completed.    Action: Get Issues    Action Input: N/A    Observation: Found 1 issues:    [{'title': 'Update README file', 'number': 9}]    Thought: I need to get more information about this issue.    Action: Get Issue    Action Input: 9    Observation: {"title": "Update README file", "body": "Find what the most popular frontend framework is right now and add a short blurb to the readme.md file about how this website will take advantage of it.", "comments": "[]"}    Thought: I need to update the README file.    Action: Create File    Action Input: README.md    Observation: File already exists at README.md. Use update_file instead    Thought: I need to update the existing README file.    Action: Update File    Action Input: README.md    OLD <<<<    This is a sample website    >>>> OLD    NEW <<<<    This is a sample website that uses the most popular frontend framework.    >>>> NEW    Observation: File content was not updated because old content was not found.It may be