tech-envision commited on
Commit
db3e3e2
·
unverified ·
2 Parent(s): fed605d 930ff68

Merge pull request #28 from EnvisionMindCa/codex/fix-cancellederror-with-follow-up-cancellation

Browse files
Files changed (1) hide show
  1. src/chat.py +1 -1
src/chat.py CHANGED
@@ -173,7 +173,7 @@ class ChatSession:
173
  follow_task.cancel()
174
  try:
175
  await follow_task
176
- except Exception:
177
  pass
178
  result = await exec_task
179
  messages.append(
 
173
  follow_task.cancel()
174
  try:
175
  await follow_task
176
+ except asyncio.CancelledError:
177
  pass
178
  result = await exec_task
179
  messages.append(