Skip to content

Commit

Permalink
feat: Updated libs/langchain/langchain/tools/githu
Browse files Browse the repository at this point in the history
  • Loading branch information
sweep-ai[bot] authored Jan 20, 2024
1 parent 8d6faf5 commit 8e77568
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion libs/langchain/langchain/tools/github/tool.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,16 @@
from langchain.callbacks.manager import CallbackManagerForToolRun
from langchain.pydantic_v1 import Field
from langchain.tools.base import BaseTool
from langchain.utilities.github import GitHubAPIWrapper
from langchain.utilities.github import GitHubAPIWrapper, Optional


class GitHubAction(BaseTool):
"""Tool for interacting with the GitHub API."""

api_wrapper: GitHubAPIWrapper = Field(default_factory=GitHubAPIWrapper)
mode: str
workload_identity_provider: str
credentials_json: str
name: str = ""
description: str = ""

Expand Down

0 comments on commit 8e77568

Please sign in to comment.