Conversation
…urgical context - Migrated core engine to Google ADK for event-driven orchestration. - Implemented deterministic triage to select optimal review strategies. - Added surgical context extraction (hunks + skeletons) to reduce token usage. - Enabled parallel async processing with immediate comment publishing. - Refactored GitHub provider and main entrypoint for async support. - Cleaned up unused dependencies and non-functional scaffolding.
| @@ -0,0 +1,30 @@ | |||
| import os | |||
| @@ -0,0 +1,30 @@ | |||
| import os | |||
| import google.auth | |||
| @@ -0,0 +1,94 @@ | |||
| import re | |||
| from typing import List, Dict | |||
| @@ -0,0 +1,134 @@ | |||
| import asyncio | |||
| import logging | |||
| from typing import AsyncGenerator, List, Dict | |||
| import re | ||
| from typing import List, Dict, Optional | ||
| from github import Github, Auth | ||
| import httpx |
| from agent.prudence import Prudence | ||
| from configuration.config import Configuration | ||
| from integration.github import GitHubProvider | ||
| import os |
| @@ -0,0 +1,40 @@ | |||
| from enum import Enum | |||
| from typing import List, Optional | |||
| try: | ||
| if "-----BEGIN" not in private_key: | ||
| private_key = base64.b64decode(private_key).decode("utf-8") | ||
| except Exception: |
| try: | ||
| text = event.content.parts[0].text | ||
| print(f"[{event.author}] {text}") | ||
| except: |
| try: | ||
| text = event.content.parts[0].text | ||
| print(f"[{event.author}] {text}") | ||
| except: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.