Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/pyob/core_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ class CoreUtilsMixin:
target_dir: str
memory_path: str
key_cooldowns: dict[str, float]
_workspace_cache: dict[str, tuple[float, str]]

def generate_pr_summary(self, rel_path: str, diff_text: str) -> dict:
"""Analyzes a git diff and returns a professional title and body for the PR."""
Expand Down
2 changes: 1 addition & 1 deletion src/pyob/dashboard_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ def api_history_data():
return jsonify({"success": False, "message": "History data not available"}), 404


def read_file(filename):
def read_file(filename: str) -> str:
with open(filename, "r", encoding="utf-8") as f:
return f.read()

Expand Down
Loading