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
2 changes: 1 addition & 1 deletion aider/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from packaging import version

__version__ = "0.88.7.dev"
__version__ = "0.88.8.dev"
safe_version = __version__

try:
Expand Down
2 changes: 2 additions & 0 deletions aider/coders/base_coder.py
Original file line number Diff line number Diff line change
Expand Up @@ -2068,6 +2068,8 @@ async def send_message(self, inp):
if tool_call_dict.get("id") in tool_id_set:
continue

tool_id_set.add(tool_call_dict.get("id"))

tool_calls.append(
ChatCompletionMessageToolCall(
id=tool_call_dict.get("id"),
Expand Down
4 changes: 3 additions & 1 deletion aider/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -2042,7 +2042,9 @@ def _get_session_file_path(self, session_name):
session_dir = self._get_session_directory()
# Sanitize the session name to be filesystem-safe
safe_name = re.sub(r"[^a-zA-Z0-9_.-]", "_", session_name)
return session_dir / f"{safe_name}.json"
ext = "" if safe_name[-5:] == ".json" else ".json"

return session_dir / f"{safe_name}{ext}"

def _find_session_file(self, session_name):
"""Find a session file by name, checking both name-based and full path"""
Expand Down
4 changes: 2 additions & 2 deletions aider/io.py
Original file line number Diff line number Diff line change
Expand Up @@ -945,7 +945,7 @@ async def cancel_input_task(self):
try:
input_task.cancel()
await input_task
except (asyncio.CancelledError, IndexError):
except (asyncio.CancelledError, EOFError, IndexError):
pass

async def cancel_processing_task(self):
Expand All @@ -955,7 +955,7 @@ async def cancel_processing_task(self):
try:
processing_task.cancel()
await processing_task
except (asyncio.CancelledError, IndexError):
except (asyncio.CancelledError, EOFError, IndexError):
pass

def add_to_input_history(self, inp):
Expand Down