Skip to content

fix(github-agent): initialize scopes to avoid NameError when X-OAuth-…#133

Open
SunkariManwithaGopal wants to merge 2 commits into
fetchai:mainfrom
SunkariManwithaGopal:fix/github-scopes-default
Open

fix(github-agent): initialize scopes to avoid NameError when X-OAuth-…#133
SunkariManwithaGopal wants to merge 2 commits into
fetchai:mainfrom
SunkariManwithaGopal:fix/github-scopes-default

Conversation

@SunkariManwithaGopal

@SunkariManwithaGopal SunkariManwithaGopal commented May 25, 2026

Copy link
Copy Markdown

…Scopes header missing

Summary

Closes #134

Type of Change

  • New agent example
  • Bug fix
  • Documentation update
  • Refactor / cleanup
  • Other

Checklist

  • I have starred this repository.
  • New community agents are under contributors/<agent-name>/ (not repo root).
  • I ran ruff check ..
  • I ran ruff format ..
  • I added/updated README.md for changed example(s).
  • I added .env.example if environment variables are required.
  • I added demo image/GIF (if applicable).
  • I added agent profile link (if applicable).
  • I updated contributors/CHANGELOG.md for community agent changes, or root CHANGELOG.md for other non-doc changes.
  • I added my agent to the Community Contributors table in root README.md (if new agent).
  • I verified paths/commands used in docs.
  • I understand this PR requires maintainer review before merge (review-required CI).

Related Issue

Link issue number(s), if any:

Notes for Reviewers

Anything reviewers should focus on.

@gautammanak1

Copy link
Copy Markdown
Collaborator

Thanks for the contribution 🚀

The CI for this PR is currently failing. Please fix the following so we can move forward:

  • changelog-check — add an entry to contributors/CHANGELOG.md (community agents) or root CHANGELOG.md
  • format — run ruff format . and commit the result
  • lint — run ruff check . --fix and resolve remaining warnings
  • typecheck — fix the reported type errors
  • stargazer-gate — please ⭐ star this repository (the gate passes once you've starred)

Once the checks are green it'll be ready for maintainer review. Let me know if you need any help! 🙌

@github-actions github-actions Bot added bug Something isn't working gssoc26 GirlScript Summer of Code 2026 contribution level2 GSSoC level 2 - intermediate (medium points) labels Jun 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working gssoc26 GirlScript Summer of Code 2026 contribution level2 GSSoC level 2 - intermediate (medium points)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: Uncaught NameError crash when X-OAuth-Scopes header is missing during GitHub token validation

2 participants