-
Notifications
You must be signed in to change notification settings - Fork 3
Feat/smolagent support #9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
Jwaminju
wants to merge
30
commits into
Hugging-Face-KREW:main
Choose a base branch
from
Jwaminju:feat/smolagent-support
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
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
* initial commit * Upload project files * Update requirements.txt * Update README.md * Upload project files * Upload project files * Update app.py * Update app.py * Update app.py * Update app.py * Update agent/handler.py * Update app.py * Update app.py * Update app.py * Update app.py * Merge HF Space history * Update gitattributes * Add Makefile * Delete .gitattributes --------- Co-authored-by: Harheem Kim <[email protected]>
* Add github action for deployment to space * Update README.md
Replace local pr_success.log writes with remote appends to pr_success.log on the log_event branch, enabling logging when running on Hugging Face Spaces.
Switch logging to JSON Lines (one result per line) with no header for easy parsing and reliability on Spaces.
Deduplicate logging and ensure every workflow run appends a JSON line to pr_success.log on the log_event branch.
append_to_log_file now resolves owner/repo/branch/path from environment (LOG_REPO or LOG_REPO_OWNER/LOG_REPO_NAME, LOG_BRANCH, LOG_FILE_PATH). Updated call site to pass only JSONL entry. Removed header handling to keep pure JSONL.
Introduce logging_github_client using LOG_GITHUB_TOKEN (fallback to GITHUB_TOKEN) to isolate permissions between user PR actions and log repository writes.
Decouple logging from GitHubPRAgent. Introduce logger/github_logger.py for appending JSONL logs to a dedicated repo/branch/file via env config. Wire workflow to use the new logger.
Simplify config by using only LOG_REPO in 'owner/repo' form. Update GitHubLogger to enforce this.
- Add HF Space and logging secrets to example.env - Improve UX message when existing translation is detected - Remove leftover comments/duplicate imports; ensure pr_success.log is pure JSONL (remove header)
…sages - Refactor GitHubPRAgent to accept repository parameters in constructor - Fix PR creation to target correct repository based on selected project - Update TocTreeHandler to support project-specific toctree files - Improve error messages with specific project mismatch detection - Pass project parameter from handler to ensure proper repository targeting 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
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.