fix: update user prompt formatting and correct 90-day cutoff logic

- Changed user prompt formatting to use full text instead of truncated version.
- Updated date filtering logic to use milliseconds instead of seconds for 90-day cutoff.
- Renamed doc_type values in ChromaSync to ensure consistency and prevent deduplication issues.
- Improved documentation for concept tags in input schema.
This commit is contained in:
Alex Newman
2025-11-03 19:05:12 -05:00
parent 263a8d4c18
commit 03ba89b703
5 changed files with 381 additions and 70 deletions
+2 -2
View File
@@ -523,9 +523,9 @@ export class ChromaSync {
if (meta.sqlite_id) {
if (meta.doc_type === 'observation') {
observationIds.add(meta.sqlite_id);
} else if (meta.doc_type === 'summary') {
} else if (meta.doc_type === 'session_summary') {
summaryIds.add(meta.sqlite_id);
} else if (meta.doc_type === 'prompt') {
} else if (meta.doc_type === 'user_prompt') {
promptIds.add(meta.sqlite_id);
}
}