mirror of
https://github.com/langgenius/dify-official-plugins.git
synced 2026-07-22 01:55:27 -04:00
[PR #520] [MERGED] feat: add GitHub repository README tool for github plugin #1418
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/langgenius/dify-official-plugins/pull/520
Author: @itning
Created: 3/20/2025
Status: ✅ Merged
Merged: 3/20/2025
Merged by: @crazywoola
Base:
main← Head:main📝 Commits (3)
345a634feat: add GitHub repository README tool and update dependencies502329dMerge remote-tracking branch 'origin/main'363ea69refactor: rename GithubRepositoriesTool to GithubRepositoryReadmeTool for clarity📊 Changes
5 files changed (+143 additions, -2 deletions)
View changed files
📝
tools/github/manifest.yaml(+1 -1)📝
tools/github/provider/github.yaml(+1 -0)📝
tools/github/requirements.txt(+1 -1)➕
tools/github/tools/github_repository_readme.py(+70 -0)➕
tools/github/tools/github_repository_readme.yaml(+70 -0)📄 Description
New feature: Retrieve the content of a README file from a GitHub repository.
github api: https://docs.github.com/en/rest/repos/contents?apiVersion=2022-11-28#get-a-repository-readme
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.