feat: add GitHub access token support and fix file content fetching logic (#2032)

This commit is contained in:
Alex
2025-10-07 14:53:14 +01:00
committed by ManishMadan2882
parent 80d8363541
commit d9bc248522

View File

@@ -75,6 +75,9 @@ class Settings(BaseSettings):
MICROSOFT_REDIRECT_URI: Optional[str] = "http://localhost:7091/api/connectors/callback" # Your project's redirect URI that you registered in Azure Portal.
MICROSOFT_AUTHORITY: Optional[str] = None # e.g., "https://login.microsoftonline.com/{tenant_id}"
# GitHub source
GITHUB_ACCESS_TOKEN: Optional[str] = None # PAT token with read repo access
# LLM Cache
CACHE_REDIS_URL: str = "redis://localhost:6379/2"