[PR #997] [CLOSED] Fix GitHub plugin error for invalid API key and SummaryInvocation (#949) #ieeesoc #1667

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

📋 Pull Request Information

Original PR: https://github.com/langgenius/dify-official-plugins/pull/997
Author: @Satyamgupta2365
Created: 5/28/2025
Status: Closed

Base: mainHead: main


📝 Commits (5)

📊 Changes

4 files changed (+390 additions, -193 deletions)

View changed files

📝 tools/email/main.py (+139 -1)
tools/email/manifest.yaml (+0 -34)
📝 tools/email/tools/send_mail.py (+203 -158)
📝 tools/github/main.py (+48 -0)

📄 Description

Fixes issue #949: "GitHub API Key and Api Version is invalid. 'SummaryInvocation' object is not callable".

  • Updated tools/github/main.py to remove incorrect SummaryInvocation usage and improve API key validation.
  • Added error handling for HTTP errors (e.g., 401/403).
  • Updated tools/github/plugin.json to version 0.0.6.
  • Enhanced README.md with setup and troubleshooting for the GitHub plugin.
  • Tested with a fine-grained personal access token and API version 2022-11-28.

🔄 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/997 **Author:** [@Satyamgupta2365](https://github.com/Satyamgupta2365) **Created:** 5/28/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (5) - [`9a53680`](https://github.com/langgenius/dify-official-plugins/commit/9a536803c039c8098c0827973dced25d35e0a9d0) main.py - [`51227cd`](https://github.com/langgenius/dify-official-plugins/commit/51227cdb2d5680ff99c0127fca87dbee9d8f6ccb) send_mail.py - [`11e3e83`](https://github.com/langgenius/dify-official-plugins/commit/11e3e83c01daaba6584e365166a5b3ddc7ed90e4) manifest.yaml - [`1697db2`](https://github.com/langgenius/dify-official-plugins/commit/1697db2eecc290c106d2d2cf892d4fb576e63cdd) main.py - [`a8f6d80`](https://github.com/langgenius/dify-official-plugins/commit/a8f6d80b0050cd6825f01590db5e1f773b3b2d1b) Delete tools/email/manifest.yaml ### 📊 Changes **4 files changed** (+390 additions, -193 deletions) <details> <summary>View changed files</summary> 📝 `tools/email/main.py` (+139 -1) ➖ `tools/email/manifest.yaml` (+0 -34) 📝 `tools/email/tools/send_mail.py` (+203 -158) 📝 `tools/github/main.py` (+48 -0) </details> ### 📄 Description Fixes issue #949: "GitHub API Key and Api Version is invalid. 'SummaryInvocation' object is not callable". - Updated `tools/github/main.py` to remove incorrect `SummaryInvocation` usage and improve API key validation. - Added error handling for HTTP errors (e.g., 401/403). - Updated `tools/github/plugin.json` to version 0.0.6. - Enhanced `README.md` with setup and troubleshooting for the GitHub plugin. - Tested with a fine-grained personal access token and API version 2022-11-28. --- <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:23:38 -05:00
yindo closed this issue 2026-02-16 10:23:38 -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#1667