Commit graph

3341 commits

Author SHA1 Message Date
Anish Sarkar
8e8cf96faa feat(error-handling): implement LLM error adaptation and classification for chat streaming
- Introduced LLMErrorCategory and adapt_llm_exception to normalize LLM exceptions.
- Updated llm_retryable_message and llm_permanent_message to utilize the new adaptation logic.
- Enhanced classify_stream_exception to classify provider errors and return user-friendly messages.
- Added tests for error classification and adaptation to ensure robustness.
- Updated frontend error handling to display appropriate messages based on new classifications.
2026-06-12 05:03:14 +05:30
Anish Sarkar
72a7fe04b5 Merge remote-tracking branch 'upstream/dev' into feat/unified-model-connections 2026-06-12 03:20:46 +05:30
Rohan Verma
aee0c1a3ac
Merge pull request #1481 from AnishSarkar22/fix/chat-stream-flicker
fix(chat): stabilize active thread rendering and top-anchored scrolling
2026-06-11 14:47:15 -07:00
Anish Sarkar
908790e40f Merge remote-tracking branch 'upstream/dev' into feat/unified-model-connections 2026-06-12 03:15:28 +05:30
Anish Sarkar
e4803d4ed3 chore(dependencies): update @assistant-ui/react and @assistant-ui/react-markdown to latest versions, adjust peer dependencies, and modify chat viewport auto-scroll settings 2026-06-12 03:00:48 +05:30
CREDO23
41f4a58663 Merge remote-tracking branch 'upstream/dev' into improvement-podcast-graph
# Conflicts:
#	surfsense_backend/app/tasks/celery_tasks/podcast_tasks.py
2026-06-11 23:14:49 +02:00
Anish Sarkar
e7762cda97 feat(chat): enhance thread component with active thread handling and improve message loading logic 2026-06-12 02:42:16 +05:30
Anish Sarkar
610ff063d6 refactor(model-connections): update frontend for provider-based models 2026-06-12 02:17:51 +05:30
DESKTOP-RTLN3BA\$punk
c3695e7837 feat: update auto-reload settings and enhance payment session creation
- Added currency parameter to the Stripe checkout session for auto-reload setup.
- Integrated AutoReloadSettings component into the BuyMorePage for improved user experience.
- Removed deprecated AutoReloadSettings component from user settings directory.
- Updated import paths for AutoReloadSettings in purchases page to reflect new structure.
2026-06-11 13:29:40 -07:00
Anish Sarkar
3089dd4cb6 refactor(model-connections): simplify connection settings UI 2026-06-11 18:22:57 +05:30
Anish Sarkar
3f01642199 feat(model-connections): enhance model discovery with OpenAI and LiteLLM support 2026-06-11 17:29:55 +05:30
CREDO23
4dc06fa918 style(audio): breathing room between seek bar and time counters 2026-06-11 12:50:03 +02:00
CREDO23
741aa8d8f7 fix(podcasts): key transcript lines by stable turn position 2026-06-11 12:47:22 +02:00
CREDO23
aa7f14d94f feat(podcasts): add revert-regeneration and surface cancel on the live card 2026-06-11 12:31:42 +02:00
CREDO23
f0fc660d70 feat(podcasts): constrain monologue briefs to a single speaker 2026-06-11 11:56:57 +02:00
CREDO23
eb56acc407 refactor(podcasts): regenerate via brief gate, render brief inline in chat 2026-06-11 11:45:17 +02:00
CREDO23
11a6b178a0 refactor(podcasts): drop transcript gate, add regenerate-from-ready and voice previews 2026-06-11 10:42:13 +02:00
CREDO23
ccd8209d12 refactor(podcasts): drop chat podcast polling state 2026-06-11 10:04:51 +02:00
CREDO23
1f9fd61c9e refactor(podcasts): replace polling tool ui with lifecycle card 2026-06-11 10:04:51 +02:00
CREDO23
6f6c056404 feat(podcasts): add lifecycle tool ui with brief and transcript gates 2026-06-11 10:04:51 +02:00
CREDO23
a3d1fafb0b feat(podcasts): add zero-driven live podcast hook 2026-06-11 10:04:51 +02:00
CREDO23
64b36f2622 feat(podcasts): add frontend contracts and lifecycle api service 2026-06-11 10:04:51 +02:00
DESKTOP-RTLN3BA\$punk
65e511f77b feat: enhance credit management and user experience
- Updated database queries to check for column existence with schema context.
- Modified credit purchase quantity limits to allow up to 10,000 credits.
- Improved user interface for credit purchases, enabling custom amounts and clamping input values.
- Adjusted FAQ content to clarify credit purchasing process.
2026-06-10 22:52:27 -07:00
DESKTOP-RTLN3BA\$punk
a7407502d3 feat(refactor): refactor payment system to implement unified credit wallet.
- Updated environment variables and - configurations for credit purchases via Stripe, replacing legacy page pack system.
- Introduced auto-reload feature for credit top-ups and modified database models to track credit transactions.
- Updated notification system to handle insufficient credits and auto-reload failures.
- Adjusted API routes and schemas to reflect changes in credit management.
2026-06-10 16:49:03 -07:00
Anish Sarkar
e3e05882b6 fix(model-connections): enhance base URL handling for native providers and improve UI for endpoint overrides 2026-06-11 01:48:25 +05:30
Anish Sarkar
780e242132 feat(model-connections): implement manual model addition and enhance model discovery 2026-06-11 00:11:53 +05:30
CREDO23
e61308387c feat(podcasts): add zero schema and queries 2026-06-10 18:44:35 +02:00
Anish Sarkar
6c352021a0 chore(i18n): add model connection copy 2026-06-10 21:50:22 +05:30
Anish Sarkar
e462839929 refactor(chat): simplify model selector connection flow 2026-06-10 21:50:10 +05:30
Anish Sarkar
39cca36c31 feat(onboarding): include model connections in setup flow 2026-06-10 21:49:55 +05:30
Anish Sarkar
4bda0ffa96 feat(settings): add model connection management UI 2026-06-10 21:49:33 +05:30
Anish Sarkar
0674accc23 feat(web): add model connection client data layer 2026-06-10 21:49:21 +05:30
Anish Sarkar
32ab2b8713 feat(web): expose model policies in automations 2026-06-10 21:49:07 +05:30
DESKTOP-RTLN3BA\$punk
1f9dc28f07 chore(Dockerfile): add git dependency for fumadocs-mdx plugin during build 2026-06-09 23:54:37 -07:00
Rohan Verma
2624392c4a
Merge pull request #1473 from AnishSarkar22/fix/changelogs
feat: add all missing changelogs
2026-06-09 23:04:23 -07:00
DESKTOP-RTLN3BA\$punk
cb17f31dc1 feat(version)" bumped version to 0.0.27 2026-06-09 22:52:12 -07:00
Anish Sarkar
3f21d5fdd6 Merge remote-tracking branch 'upstream/dev' into fix/changelogs 2026-06-10 10:57:21 +05:30
DESKTOP-RTLN3BA\$punk
41ff57101c feat: made chat fast
- Introduced lazy knowledge base retrieval mode, allowing the main agent to fetch KB content on demand via the `search_knowledge_base` tool, improving performance by skipping expensive pre-injection processes.
- Added cross-thread caching capability, enabling reuse of compiled graphs across different user chats, reducing latency for returning users.
- Updated middleware to support new lazy loading and caching features, ensuring efficient resource utilization and improved response times.
- Enhanced logging for performance tracking during knowledge retrieval and agent interactions.
2026-06-09 04:45:17 -07:00
DESKTOP-RTLN3BA\$punk
ce952d2ad1 chore: linting 2026-06-09 00:42:26 -07:00
Anish Sarkar
32812b5f66 feat(ui): enhance chat example prompts and improve layout
- Added a new backend URL import to the route file for better configuration.
- Updated the Composer component to use a relative positioning class for improved layout.
- Refactored the ChatExamplePrompts component to enhance the display of active categories and prompts, including a close button for better user interaction.
2026-06-09 12:09:49 +05:30
Anish Sarkar
1c3f4cc6ac Merge remote-tracking branch 'upstream/dev' into fix/changelogs 2026-06-09 11:06:52 +05:30
Anish Sarkar
c9351c421e refactor(changelog): remove title and description fields from changelog entries and update schema 2026-06-09 10:13:27 +05:30
DESKTOP-RTLN3BA\$punk
41a93ca8fb refactor(env): streamline Redis configuration and remove deprecated variables
- Consolidated Redis configuration by introducing a single `REDIS_URL` variable for Celery broker, result backend, and app cache.
- Removed deprecated variables related to Firecrawl and Stripe token limits from `.env.example` files.
- Updated documentation to reflect changes in environment variable usage for improved clarity and maintainability.
2026-06-08 14:37:44 -07:00
Anish Sarkar
1c6227eef3 chore(changelog): update titles in changelog entries to remove version prefixes 2026-06-09 01:27:53 +05:30
DESKTOP-RTLN3BA\$punk
6d1d00ebbc Merge commit '61adc80615' into dev 2026-06-08 12:51:38 -07:00
Anish Sarkar
5738bf0707 feat(docs): enhance documentation & remove breadcrumbs 2026-06-09 00:11:59 +05:30
Anish Sarkar
901c72cdcc feat(onboarding): implement onboarding completion check utility
- Added a new utility function `isLlmOnboardingComplete` to determine if the onboarding process is complete based on the agent LLM ID and the presence of global configurations.
- Updated the onboarding logic in the `OnboardPage` and `DashboardClientLayout` components to utilize the new utility function for improved readability and maintainability.
2026-06-07 17:53:18 +05:30
Anish Sarkar
39bc903eab refactor(api): replace backend URL constant with dynamic function for improved flexibility
- Updated the backend URL initialization to use a function that retrieves the URL from environment variables, enhancing configurability for different environments.
2026-06-07 17:05:14 +05:30
Anish Sarkar
f5289b38b9 Merge remote-tracking branch 'upstream/dev' into feat/docker-optimization 2026-06-06 19:09:38 +05:30
Anish Sarkar
4e00f24a03 feat(docker): add ZERO_AUTO_RESET configuration for improved replication safety
- Introduced the ZERO_AUTO_RESET environment variable to enable automatic reset of the SQLite replica in case of replication halts.
- Updated Docker Compose files to include ZERO_AUTO_RESET in service configurations.
- Enhanced documentation to clarify the purpose and usage of the new variable.
2026-06-06 14:21:14 +05:30