[PR #526] [CLOSED] fix: improve error handling in GithubRepositoryReadmeTool #1422

Closed
opened 2026-02-16 10:22:54 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langgenius/dify-official-plugins/pull/526
Author: @itning
Created: 3/20/2025
Status: Closed

Base: mainHead: main


📝 Commits (6)

  • 345a634 feat: add GitHub repository README tool and update dependencies
  • 502329d Merge remote-tracking branch 'origin/main'
  • 363ea69 refactor: rename GithubRepositoriesTool to GithubRepositoryReadmeTool for clarity
  • a544d8b Merge branch 'langgenius:main' into main
  • 26c14ff fix: improve error handling in GithubRepositoryReadmeTool
  • ba2ef73 chore: bump version to 0.0.4 in manifest.yaml

📊 Changes

2 files changed (+11 additions, -16 deletions)

View changed files

📝 tools/github/manifest.yaml (+1 -1)
📝 tools/github/tools/github_repository_readme.py (+10 -15)

📄 Description

Why modify the error handling logic of this tool?

When retrying on failure is enabled, the retry will not be executed because the system does not capture the error.

image

image

After modification, retry is allowed.

image


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/langgenius/dify-official-plugins/pull/526 **Author:** [@itning](https://github.com/itning) **Created:** 3/20/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (6) - [`345a634`](https://github.com/langgenius/dify-official-plugins/commit/345a6345cf444d6570f881e950ec1f07ea32a584) feat: add GitHub repository README tool and update dependencies - [`502329d`](https://github.com/langgenius/dify-official-plugins/commit/502329ddd5ca528c76b8cadc9684f4dd40fd0cf7) Merge remote-tracking branch 'origin/main' - [`363ea69`](https://github.com/langgenius/dify-official-plugins/commit/363ea69afa3b41b9fe85eccbbe6707bc46bb9d67) refactor: rename GithubRepositoriesTool to GithubRepositoryReadmeTool for clarity - [`a544d8b`](https://github.com/langgenius/dify-official-plugins/commit/a544d8b8826c89189e87535f4d17dda7cf0aeafc) Merge branch 'langgenius:main' into main - [`26c14ff`](https://github.com/langgenius/dify-official-plugins/commit/26c14ff8c8a5ec9c5ecd58c15657aa9fba9a6bb9) fix: improve error handling in GithubRepositoryReadmeTool - [`ba2ef73`](https://github.com/langgenius/dify-official-plugins/commit/ba2ef7304189a6ff5dd7bc56156a2d89f8d3ca27) chore: bump version to 0.0.4 in manifest.yaml ### 📊 Changes **2 files changed** (+11 additions, -16 deletions) <details> <summary>View changed files</summary> 📝 `tools/github/manifest.yaml` (+1 -1) 📝 `tools/github/tools/github_repository_readme.py` (+10 -15) </details> ### 📄 Description Why modify the error handling logic of this tool? When retrying on failure is enabled, the retry will not be executed because the system does not capture the error. ![image](https://github.com/user-attachments/assets/6240ca52-39cd-4aa6-b0cc-f725946916d9) ![image](https://github.com/user-attachments/assets/ccdce029-f089-4b28-8609-d6a4e4048c43) After modification, retry is allowed. ![image](https://github.com/user-attachments/assets/df7c465f-a7b4-43b7-a8a4-061c84376459) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-16 10:22:54 -05:00
yindo closed this issue 2026-02-16 10:22:54 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-official-plugins#1422