[PR #37] [MERGED] Add safety check for message list #105

Closed
opened 2026-02-27 01:56:14 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ErlichLiu/DeepClaude/pull/37
Author: @GowayLee
Created: 2/18/2025
Status: Merged
Merged: 2/20/2025
Merged by: @ErlichLiu

Base: mainHead: fix-message-range


📝 Commits (1)

  • 2b80ba0 fix: add more check for message list in deepclaude.py, avoid list index errors

📊 Changes

1 file changed (+16 additions, -7 deletions)

View changed files

📝 app/deepclaude/deepclaude.py (+16 -7)

📄 Description

Main Changes

Add safety check for message list in deepclaude.py avoid exceptions like list index out of range mentioned in #39.

Change Description

1. deepclaude.py

Add checks for message list and related exception raising logic before combining the last message.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ErlichLiu/DeepClaude/pull/37 **Author:** [@GowayLee](https://github.com/GowayLee) **Created:** 2/18/2025 **Status:** ✅ Merged **Merged:** 2/20/2025 **Merged by:** [@ErlichLiu](https://github.com/ErlichLiu) **Base:** `main` ← **Head:** `fix-message-range` --- ### 📝 Commits (1) - [`2b80ba0`](https://github.com/ErlichLiu/DeepClaude/commit/2b80ba0e52b60fe07010f8ddef1356a913b622cb) fix: add more check for message list in deepclaude.py, avoid list index errors ### 📊 Changes **1 file changed** (+16 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `app/deepclaude/deepclaude.py` (+16 -7) </details> ### 📄 Description ## Main Changes Add safety check for message list in `deepclaude.py` avoid exceptions like `list index out of range` mentioned in #39. ## Change Description ### 1. `deepclaude.py` Add checks for message list and related exception raising logic before combining the last message. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 01:56:14 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/DeepClaude#105
No description provided.