CREDO23
1791241c0c
perf(indexers): offload sync embed_text to thread across background workers
...
Connector kb_sync_services (gmail, onedrive, google_calendar, jira),
streaming indexers (discord, luma, teams) and the file-processor save
path all called embed_text inside async coroutines, blocking the
background worker's event loop for the duration of the embed. Wrap each
call site in asyncio.to_thread so concurrent indexing tasks stop
serialising on the embed.
2026-05-20 10:09:38 +02:00
CREDO23
a8de98895a
perf(revert-service): offload sync embed_texts to thread
...
_restore_in_place_document and _reinsert_document_from_revision are
async helpers invoked by the synchronous-feeling POST /api/threads/.../revert
route; both ran embed_texts inline, blocking the event loop while the
HTTP client waited.
2026-05-20 10:04:26 +02:00
CREDO23
a3d6fa6196
perf(document-converters): offload sync embed_text/embed_texts to thread
...
generate_document_summary and create_document_chunks are async helpers
called from the chat path and from many connector indexers. Both wrapped
embed_text/embed_texts directly inside the coroutine, blocking the event
loop for the full duration of the embedding call.
2026-05-20 10:03:42 +02:00
CREDO23
52d425f170
perf(kb-persistence): offload sync embed_texts to thread
...
_create_document and _update_document run on the chat critical path
when the filesystem subagent writes via the user's chat turn. Both
called embed_texts synchronously inside an async coroutine, blocking
the event loop for the duration of the embed.
2026-05-20 10:03:14 +02:00
CREDO23
4fa85a9a94
perf(kb-search): offload sync embed_texts to thread
...
embed_texts holds a threading.Lock and runs a sync embedding call inside
search_knowledge_base, an async coroutine on the KB priority middleware
critical path. Blocking the event loop here stalls every other coroutine
on the worker (SSE keepalives, concurrent chat requests, background
tasks). Wrap in asyncio.to_thread so the embed runs on the default
executor pool while the loop keeps serving.
2026-05-20 10:02:38 +02:00
CREDO23
32f6766cb6
fix(tokens): use canonical prompt_tokens_details path for cache fields
...
LiteLLM normalizes every provider's cache fields onto
usage.prompt_tokens_details (cached_tokens + cache_creation_tokens).
The earlier fallback to usage.cache_read_input_tokens /
usage.cache_creation_input_tokens was wrong: Anthropic-shaped fields
only live there via a trailing setattr loop, and the canonical field
name on the wrapper is cache_creation_tokens (not _input_tokens).
2026-05-20 09:55:39 +02:00
CREDO23
6090980c5e
obs(tokens): log prompt-cache read/write counts and hit ratio per LLM call
2026-05-20 09:51:44 +02:00
Anish Sarkar
a0ff86e0e8
feat: add memory document model and parsing functionality for markdown handling
2026-05-20 13:20:05 +05:30
CREDO23
0cdda14922
perf(kb subagent, desktop): cap evidence.content_excerpt to 500 chars
2026-05-20 09:43:36 +02:00
CREDO23
5edf0520c4
perf(kb subagent, cloud): cap evidence.content_excerpt to 500 chars
2026-05-20 09:43:32 +02:00
CREDO23
b554c600bb
perf(research subagent): cap evidence.findings and evidence.sources to bound output
2026-05-20 09:42:57 +02:00
CREDO23
6c173dc2a7
perf(teams subagent): stop echoing raw teams/channels/messages payload into evidence.items
2026-05-20 09:42:03 +02:00
CREDO23
20f7896a99
perf(luma subagent): stop echoing raw events list into evidence.items
2026-05-20 09:41:47 +02:00
CREDO23
f4e66718be
perf(discord subagent): stop echoing raw channels/messages payload into evidence.items
2026-05-20 09:41:36 +02:00
CREDO23
56d8ff89e2
perf(airtable subagent): stop echoing raw records list into evidence.items
2026-05-20 09:41:18 +02:00
CREDO23
1b2f13e25c
perf(clickup subagent): stop echoing raw tasks list into evidence.items
2026-05-20 09:41:04 +02:00
CREDO23
6be1b22ef6
perf(jira subagent): stop echoing raw issues list into evidence.items
2026-05-20 09:40:48 +02:00
CREDO23
6e5dd54bbf
perf(slack subagent): stop echoing raw messages list into evidence.items
2026-05-20 09:40:33 +02:00
CREDO23
d3d396a473
perf(linear subagent): stop echoing raw issues list into evidence.items
2026-05-20 09:40:18 +02:00
CREDO23
553becea28
perf(gmail subagent): stop echoing raw emails array into evidence.items
2026-05-20 09:40:00 +02:00
Anish Sarkar
fe07de3f9c
chore: ran linting
2026-05-20 12:55:10 +05:30
Anish Sarkar
78a3c71bb5
feat: implement memory document fetching and saving functionality in the editor panel, and remove deprecated memory hook
2026-05-20 12:50:15 +05:30
Anish Sarkar
61234e125f
refactor: remove team memory components and related settings from user and search space settings
2026-05-20 12:01:26 +05:30
Anish Sarkar
659007bc4d
feat: enhance document export functionality for memory documents and update UI components
2026-05-20 11:57:31 +05:30
Anish Sarkar
43c8aaeaa7
feat: improve editor panel markdown handling and update fixed toolbar positioning
2026-05-20 11:52:41 +05:30
Varun Shukla
f2d2ac3f4a
refactor(env): replace inline process.env reads with BACKEND_URL in tool-ui generators
2026-05-20 03:38:32 +05:30
Varun Shukla
fead3a64f4
refactor(env): replace inline process.env reads with BACKEND_URL in editor, chat, dashboard and settings
2026-05-20 03:34:22 +05:30
Varun Shukla
81ce9e4071
Merge branch 'dev' into fix/env-config-connector-forms
2026-05-20 03:26:12 +05:30
Anish Sarkar
73043a0756
feat: enhance memory API responses with limits and update UI components for memory limit handling
2026-05-20 03:17:05 +05:30
Varun Shukla
1fbb8fb58d
refactor(env): replace inline process.env reads with BACKEND_URL in lib/
2026-05-20 03:12:02 +05:30
Anish Sarkar
fa6d7c60bf
Merge remote-tracking branch 'upstream/dev' into feature/memory-support-document-panel
2026-05-20 02:40:35 +05:30
Rohan Verma
8174949b38
Merge pull request #1403 from AnishSarkar22/feat/ui-revamp
...
feat: UI revamp
2026-05-19 14:06:16 -07:00
Anish Sarkar
cb1cf26ef3
feat: improve document editor panel behavior
2026-05-20 02:02:59 +05:30
Anish Sarkar
89a8438864
feat: wire memory settings to memory API
2026-05-20 02:02:42 +05:30
Anish Sarkar
3178309e1a
feat: add team memory routes
2026-05-20 02:02:27 +05:30
Anish Sarkar
5247dc7097
feat: refine private and team memory protocols
2026-05-20 02:02:10 +05:30
Anish Sarkar
ceedd02353
refactor: extract shared memory service
2026-05-20 02:01:36 +05:30
CREDO23
1481394017
chore(scripts): add MCP session lifetime probe
2026-05-19 21:30:34 +02:00
CREDO23
3a5e16e868
perf(calendar): stop echoing raw events into evidence.items
2026-05-19 21:30:28 +02:00
CREDO23
581bbfb5c1
perf(tokens): add per-call latency to capture log
2026-05-19 21:30:25 +02:00
CREDO23
b3b66e4c48
perf(new-chat): add memory_injection middleware timing log
2026-05-19 21:30:19 +02:00
CREDO23
1df40fbe31
perf(new-chat): add knowledge_tree middleware timing log
2026-05-19 21:30:14 +02:00
CREDO23
bd153d3cdb
perf(multi-agent): add kb_context_projection timing log
2026-05-19 21:30:09 +02:00
CREDO23
33bfce4406
perf(subagent): add atask EXIT breakdown timing log
2026-05-19 21:30:05 +02:00
CREDO23
9e81f2a35b
perf(subagent): add subagent compile timing log
2026-05-19 21:30:01 +02:00
CREDO23
9bfba34e8e
perf(mcp): add per-call, discovery, and oauth-refresh timing logs
2026-05-19 21:29:56 +02:00
Anish Sarkar
d66295aedd
chore: ran linting
2026-05-19 21:02:07 +05:30
Anish Sarkar
f1b3c88354
feat: add collapsed header content support in LayoutShell and Sidebar components
2026-05-19 20:58:19 +05:30
Anish Sarkar
07688263d8
feat: add new icon assets for macOS and update tray icon handling
2026-05-19 20:04:37 +05:30
Anish Sarkar
cd4e5ae7f2
feat: implement macOS-specific title bar adjustments and enhance RightPanel with toggle functionality
2026-05-19 18:57:06 +05:30