Skip to content

Commit 2098b22

Browse files
authored
FROM bug/536-error-search-threads-files TO development (#537)
* Init * Pretty sure this is fix
1 parent d01482f commit 2098b22

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

Changelog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
88
## v0.0.2
99

1010
### Fixed
11+
- bug/536-error-search-threads-files (2025-12-01)
1112
- bug/518-on-new-token-is-broken (2025-11-29)
1213
- bug/516-fix-google-stop-reason-stream (2025-11-21)
1314
- bug/505-claude-stream-response (2025-11-19)

backend/src/repos/thread_repo.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ async def search(
4949
return [
5050
ThreadSnapshot(
5151
id=thread.key,
52-
messages=thread.value["messages"],
53-
files=thread.value["files"],
52+
messages=thread.value.get("messages", []),
53+
files=thread.value.get("files", []),
5454
score=thread.score,
5555
updated_at=thread.updated_at
5656
).model_dump(exclude_none=True) for thread in queried_threads

0 commit comments

Comments
 (0)