aiq.tool.github_tools.create_github_commit#
Classes#
Tool that commits and pushes modified code to a remote GitHub repository asynchronously. |
Functions#
|
Commits and pushes modified code to a remote GitHub repository asynchronously. |
Module Contents#
- class GithubCommitCodeModel(/, **data: Any)#
Bases:
pydantic.BaseModel
- class GithubCommitCodeModelList(/, **data: Any)#
Bases:
pydantic.BaseModel
- updated_files: list[GithubCommitCodeModel] = None#
- class GithubCommitCodeConfig(/, **data: Any)#
Bases:
aiq.data_models.function.FunctionBaseConfig
Tool that commits and pushes modified code to a remote GitHub repository asynchronously.
Create a new model by parsing and validating input data from keyword arguments.
Raises [
ValidationError
][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.self
is explicitly positional-only to allowself
as a field name.
- async commit_code_async(
- config: GithubCommitCodeConfig,
- builder: aiq.builder.builder.Builder,
Commits and pushes modified code to a remote GitHub repository asynchronously.