21eefd982432414e506860573dd5e41790cd1d89
- IssueTools.get_issue now returns IssueModel instead of JSON string - PRTools.get_pull_request now returns PullRequestModel instead of JSON string - PRTools.create_pull_request now returns PullRequestModel instead of JSON string - PRTools.update_pull_request now returns PullRequestModel instead of JSON string - All methods have proper return type hints and raise exceptions on error - Updated tests to verify model objects are returned directly - Marked issue 5.4 as resolved in bad_code.md
Agent Instructions
- Prefer using
dataclasseswhen using data structures or similar objects to represent complex data. - Follow all instructions provided in the system prompt.
- Keep responses concise and direct.
- Minimize output tokens.
- Use the
Tasktool for complex multi-step tasks. - Verify solutions with tests if possible.
- Run lint and typecheck commands if provided.
- Do not commit changes unless explicitly asked.
- Use GitHub-flavored markdown for formatting.
- Answer concisely with fewer than 4 lines of text.
- ALWAYS use
uvto run python commands. Do not usepython3directly. - Always commit and push changes at the end of a task.
- NEVER push to the master or main branch.
Running the Agent
# Activate the virtual environment
uv sync
# Run the agent
uv run src/main.py
Resolved Issues
- #2: Test issue for agent - Resolved by agent.
Languages
Python
100%