Commit graph

3315 commits

Author SHA1 Message Date
Anish Sarkar
93c0af475b Merge remote-tracking branch 'upstream/dev' into feat/document-test 2026-02-25 20:25:06 +05:30
Anish Sarkar
853750e6e9 chore: ran linting 2026-02-25 20:08:20 +05:30
Anish Sarkar
a7df26d451 refactor: remove redundant status assertion 2026-02-25 20:07:34 +05:30
Anish Sarkar
e1ac8bfc76 feat: Add testing environment variables to surfsense_backend/.env.example and update documentation 2026-02-25 19:52:25 +05:30
Anish Sarkar
c564e5f768 feat: Enhance test document purging by implementing direct database access 2026-02-25 19:51:29 +05:30
Anish Sarkar
c3273af20b feat: Add fixture to purge all test search space documents before a new session 2026-02-25 18:59:23 +05:30
Anish Sarkar
2fef971fa9 chore: Update pytest duration reporting in pyproject.toml and refine testing documentation 2026-02-25 18:36:55 +05:30
Anish Sarkar
f52090391a feat: Add testing documentation and update meta.json 2026-02-25 17:54:03 +05:30
Anish Sarkar
03d8788241 chore: Enhance pytest configuration and add custom markers in pyproject.toml 2026-02-25 17:51:33 +05:30
Anish Sarkar
d350f47ee7 chore: Update pytest configuration in pyproject.toml to enhance test output
- Added command-line options to pytest configuration for verbose output, short tracebacks, and duration reporting of the slowest tests.
2026-02-25 17:34:49 +05:30
Anish Sarkar
4ff712578d refactor: Enhance test utilities for document upload by integrating search space handling
- Updated test fixtures to include search space ID retrieval for improved document upload tests.
- Refactored authentication and document upload functions to accept search space ID as a parameter.
- Removed hardcoded search space ID references to streamline test configurations.
2026-02-25 17:29:09 +05:30
Anish Sarkar
41eb68663a feat: Add end-to-end tests for document upload pipeline and shared test utilities
- Introduced new test files for end-to-end testing of document uploads, including support for .txt, .md, and .pdf formats.
- Created shared fixtures and helper functions for authentication, document management, and cleanup.
- Added sample documents for testing purposes.
- Established a conftest.py file to provide reusable fixtures across test modules.
2026-02-25 16:39:45 +05:30
Anish Sarkar
b7447b26f9 Refactor dependency management in pyproject.toml and uv.lock to include testing libraries and update pytest configuration 2026-02-25 16:06:16 +05:30
Anish Sarkar
d576e93f2a Update dependencies in pyproject.toml and uv.lock for testing and package management 2026-02-25 15:36:29 +05:30
Rohan Verma
80be9f26c4
Merge pull request #835 from MODSetter/codesandbox_integration
feat: codesandbox(daytona) integration
2026-02-25 01:59:20 -08:00
DESKTOP-RTLN3BA\$punk
96595d3ff7 refactor: remove security notes from system prompt
- Eliminated the security notes section from the code execution system prompt to streamline the instructions and focus on user guidance.
2026-02-25 01:56:16 -08:00
DESKTOP-RTLN3BA\$punk
e574a7c38b feat: update .env.example for Daytona sandbox integration
- Removed Uvicorn server configuration options.
- Added new agent-specific configuration for Daytona sandbox, including API key and URL settings.
2026-02-25 01:54:24 -08:00
DESKTOP-RTLN3BA\$punk
d198c8b89d chore; linting 2026-02-25 01:50:28 -08:00
DESKTOP-RTLN3BA\$punk
70686a1eb2 feat: enhance code execution system prompt
- Added detailed instructions for prioritizing code execution over text responses in specific scenarios, such as data visualization and file generation.
- Included examples to illustrate correct and incorrect approaches to handling user requests involving code execution.
- Emphasized the importance of printing file paths for user downloads and clarified the handling of sandbox-generated files.
2026-02-25 01:48:54 -08:00
DESKTOP-RTLN3BA\$punk
d570cae3c6 feat: added file handling for daytona sandboxes
- Added _TimeoutAwareSandbox class to handle per-command timeouts in DaytonaSandbox.
- Updated _find_or_create function to manage sandbox states and restart stopped/archived sandboxes.
- Enhanced get_or_create_sandbox to return the new sandbox class.
- Introduced file download functionality in the frontend, allowing users to download generated files from the sandbox.
- Updated system prompt to include guidelines for sharing generated files.
2026-02-25 01:36:30 -08:00
DESKTOP-RTLN3BA\$punk
a6563f396a chore: moved to daytona due to lack of windows support in microsandbox 2026-02-25 00:38:27 -08:00
DESKTOP-RTLN3BA\$punk
421bb29466 chore: update microsandbox command to bind to all interfaces and add compatibility shims for missing types 2026-02-24 23:53:03 -08:00
DESKTOP-RTLN3BA\$punk
8095cec37e refactor: enable microsandbox service in docker-compose with updated installation commands and healthcheck 2026-02-24 23:26:31 -08:00
DESKTOP-RTLN3BA\$punk
2869d3a9c8 Merge commit 'd0ee8b12b6' into codesandbox_integration 2026-02-24 16:38:09 -08:00
DESKTOP-RTLN3BA\$punk
c007f0e056 feat: unut codesandbox integration 2026-02-24 16:36:11 -08:00
Rohan Verma
d0ee8b12b6
Merge pull request #834 from CREDO23/google-drive-hitl
[Feature] Add human in the loop for google drive sensitive actions (create:docs,sheets & delete)
2026-02-24 16:34:25 -08:00
CREDO23
a57fc1e578 fix warning card to surface success message alongside kb deletion failure 2026-02-24 13:51:03 +02:00
CREDO23
2b3c5e377f fix create file card showing stale args after approval 2026-02-24 13:50:12 +02:00
CREDO23
30ab464ba7 fix reauth error handling and stale log messages 2026-02-24 13:33:47 +02:00
CREDO23
45b784cda6 update ui text for delete google drive file 2026-02-24 13:20:25 +02:00
CREDO23
e89b68520a rename trash_google_drive_file to delete_google_drive_file 2026-02-24 13:18:39 +02:00
CREDO23
6265e9a437 add delete_from_kb support to trash google drive file tool 2026-02-24 13:01:55 +02:00
CREDO23
465233d4c6 instruct llm not to retry on insufficient_permissions 2026-02-24 12:45:25 +02:00
CREDO23
24aa7c51a4 use return_url to redirect back after google drive reauth 2026-02-24 12:38:52 +02:00
Rohan Verma
47e6a7f29e
Merge pull request #831 from AnishSarkar22/fix/ui
feat: multiple UI enhancements
2026-02-24 00:32:11 -08:00
CREDO23
afbf448f88 pass thread_id in reauth request from trash-file card 2026-02-23 22:08:35 +02:00
CREDO23
b7e0209453 pass thread_id in reauth request from create-file card 2026-02-23 22:08:07 +02:00
CREDO23
257fa8c9b3 pass thread_id through reauth state to restore chat after oauth 2026-02-23 22:06:21 +02:00
CREDO23
5036809ee3 misc updates 2026-02-23 21:56:19 +02:00
CREDO23
5acddb89fb add insufficient_permissions card with reauth button to google drive tool UIs 2026-02-23 21:54:41 +02:00
CREDO23
7b7c7bff86 add google drive reauth endpoint and update callback 2026-02-23 21:50:50 +02:00
DESKTOP-RTLN3BA\$punk
ebb715d581 Merge commit '14ab1e4eb0' into dev 2026-02-23 10:21:31 -08:00
Rohan Verma
2692ed7918
Merge pull request #832 from elammertsma/dev
refactor: changed hero to a carousel
2026-02-23 10:10:40 -08:00
Eric Lammertsma
74609e0529 refactor: enhance hero section text and improve z-index management in UI components 2026-02-23 10:18:21 -05:00
CREDO23
521e72e5a4 catch 403 and return insufficient_permissions in google drive tools 2026-02-23 16:51:08 +02:00
CREDO23
04daf0de71 upgrade google drive oauth scope to drive 2026-02-23 16:24:59 +02:00
Eric Lammertsma
837fa0627f refactor: improved hero-carousel visuals, performance and descriptions 2026-02-23 09:17:33 -05:00
CREDO23
33bcf19b62 stream full output for google drive HITL tools 2026-02-23 16:13:18 +02:00
CREDO23
a541deeda8 add google drive tools to TOOLS_WITH_UI set 2026-02-23 15:55:30 +02:00
Eric Lammertsma
e917ff1056 refactor: changed hero to a carousel 2026-02-22 23:38:19 -05:00