Skip to content

Commit ffae819

Browse files
authored
Merge pull request #105 from dwash96/v0.88.8
V0.88.8
2 parents 0f188e5 + 4407258 commit ffae819

4 files changed

Lines changed: 8 additions & 4 deletions

File tree

aider/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from packaging import version
22

3-
__version__ = "0.88.7.dev"
3+
__version__ = "0.88.8.dev"
44
safe_version = __version__
55

66
try:

aider/coders/base_coder.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2068,6 +2068,8 @@ async def send_message(self, inp):
20682068
if tool_call_dict.get("id") in tool_id_set:
20692069
continue
20702070

2071+
tool_id_set.add(tool_call_dict.get("id"))
2072+
20712073
tool_calls.append(
20722074
ChatCompletionMessageToolCall(
20732075
id=tool_call_dict.get("id"),

aider/commands.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2042,7 +2042,9 @@ def _get_session_file_path(self, session_name):
20422042
session_dir = self._get_session_directory()
20432043
# Sanitize the session name to be filesystem-safe
20442044
safe_name = re.sub(r"[^a-zA-Z0-9_.-]", "_", session_name)
2045-
return session_dir / f"{safe_name}.json"
2045+
ext = "" if safe_name[-5:] == ".json" else ".json"
2046+
2047+
return session_dir / f"{safe_name}{ext}"
20462048

20472049
def _find_session_file(self, session_name):
20482050
"""Find a session file by name, checking both name-based and full path"""

aider/io.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -945,7 +945,7 @@ async def cancel_input_task(self):
945945
try:
946946
input_task.cancel()
947947
await input_task
948-
except (asyncio.CancelledError, IndexError):
948+
except (asyncio.CancelledError, EOFError, IndexError):
949949
pass
950950

951951
async def cancel_processing_task(self):
@@ -955,7 +955,7 @@ async def cancel_processing_task(self):
955955
try:
956956
processing_task.cancel()
957957
await processing_task
958-
except (asyncio.CancelledError, IndexError):
958+
except (asyncio.CancelledError, EOFError, IndexError):
959959
pass
960960

961961
def add_to_input_history(self, inp):

0 commit comments

Comments
 (0)