feat: add GitHub access token support and fix file content fetching logic

This commit is contained in:
Alex
2025-10-07 14:44:37 +01:00
parent da6317a242
commit 2db33b2d82
3 changed files with 139 additions and 35 deletions

View File

@@ -51,6 +51,9 @@ class Settings(BaseSettings):
"http://127.0.0.1:7091/api/connectors/callback" ##add redirect url as it is to your provider's console(gcp)
)
# GitHub source
GITHUB_ACCESS_TOKEN: Optional[str] = None # PAT token with read repo access
# LLM Cache
CACHE_REDIS_URL: str = "redis://localhost:6379/2"