GitLabToolkit#
- class langchain_community.agent_toolkits.gitlab.toolkit.GitLabToolkit[source]#
Bases:
BaseToolkit
GitLab Toolkit.
- Security Note: This toolkit contains tools that can read and modify
the state of a service; e.g., by creating, deleting, or updating, reading underlying data.
For example, this toolkit can be used to create issues, pull requests, and comments on GitLab.
See https://python.langchain.com/docs/security for more information.
- Parameters:
tools – List[BaseTool]. The tools in the toolkit. Default is an empty list.
Create a new model by parsing and validating input data from keyword arguments.
Raises ValidationError if the input data cannot be parsed to form a valid model.
- classmethod from_gitlab_api_wrapper(gitlab_api_wrapper: GitLabAPIWrapper) GitLabToolkit [source]#
Create a GitLabToolkit from a GitLabAPIWrapper.
- Parameters:
gitlab_api_wrapper (GitLabAPIWrapper) – GitLabAPIWrapper. The GitLab API wrapper.
- Returns:
GitLabToolkit. The GitLab toolkit.
- Return type:
Examples using GitLabToolkit