We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 360ae6f commit 98983beCopy full SHA for 98983be
interpreter/terminal_interface/contributing_conversations.py
@@ -139,7 +139,8 @@ def is_conversation_path(path: str):
139
140
history_path = interpreter.conversation_history_path
141
all_conversations: List[List] = []
142
- for mpath in os.listdir(history_path):
+ conversation_files = os.listdir(history_path) if os.path.exists(history_path) else []
143
+ for mpath in conversation_files:
144
if not is_conversation_path(mpath):
145
continue
146
full_path = os.path.join(history_path, mpath)
0 commit comments