mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-07-22 23:31:12 +02:00
feat(filesystem): enhance local file handling in editor and IPC integration
This commit is contained in:
parent
4899588cd7
commit
864f6f798a
12 changed files with 350 additions and 47 deletions
|
|
@ -239,6 +239,9 @@ LLAMA_CLOUD_API_KEY=llx-nnn
|
|||
# DAYTONA_TARGET=us
|
||||
# DAYTONA_SNAPSHOT_ID=
|
||||
|
||||
# Desktop local filesystem mode (chat file tools run against a local folder root)
|
||||
# ENABLE_DESKTOP_LOCAL_FILESYSTEM=FALSE
|
||||
|
||||
# OPTIONAL: Add these for LangSmith Observability
|
||||
LANGSMITH_TRACING=true
|
||||
LANGSMITH_ENDPOINT=https://api.smith.langchain.com
|
||||
|
|
|
|||
|
|
@ -525,11 +525,6 @@ async def get_thread_messages(
|
|||
|
||||
# Check thread-level access based on visibility
|
||||
await check_thread_access(session, thread, user)
|
||||
filesystem_selection = _resolve_filesystem_selection(
|
||||
mode=request.filesystem_mode,
|
||||
client_platform=request.client_platform,
|
||||
local_root=request.local_filesystem_root,
|
||||
)
|
||||
|
||||
# Get messages with their authors and token usage loaded
|
||||
messages_result = await session.execute(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue