Commit graph

2835 commits

Author SHA1 Message Date
Anish Sarkar
bea26a897c fix(documents): include metadata in creation events 2026-08-05 01:42:40 +05:30
Anish Sarkar
0c79e2f8de docs(model-connection-service): add docstring to clarify LM Studio context length handling 2026-08-04 11:26:54 +05:30
Anish Sarkar
c07c273118 refactor(env-variables): rename GEN_AI_MODEL_FALLBACK_MAX_TOKENS to SURFSENSE_UNKNOWN_MODEL_MAX_INPUT_TOKENS for clarity and consistency 2026-08-04 03:39:28 +05:30
Anish Sarkar
96a8b9bec2 fix(chat-retries): skip terminal provider errors 2026-08-04 03:25:42 +05:30
Anish Sarkar
4cae7b2e97 fix(chat-runtime): preserve automatic ollama context sizing 2026-08-04 03:25:37 +05:30
Anish Sarkar
9c44785d4f fix(model-connections): cap discovered ollama input budgets 2026-08-04 03:25:33 +05:30
Anish Sarkar
af3897b6ec feat(llm): introduce handling for insufficient memory errors and enhance context limit management 2026-08-03 21:51:57 +05:30
Anish Sarkar
3bc12862b0 feat(model-connections): enhance error handling for provider responses and improve model discovery validation 2026-08-03 18:24:39 +05:30
Anish Sarkar
c07075a375 refactor(chat-errors): centralize error copy and separate diagnostics 2026-08-03 15:04:28 +05:30
Anish Sarkar
b926daa182 feat(error_classifier): tailor the context-limit message for lm studio rejections 2026-08-03 14:42:40 +05:30
Anish Sarkar
a5208ada0d fix(llm_error_adapter): classify by provider error semantics before http status 2026-08-03 14:42:37 +05:30
Anish Sarkar
b063230958 fix(model_connection_service): snapshot the lm studio native metadata payload 2026-08-03 14:42:25 +05:30
Anish Sarkar
b0ff176ff5 fix(model_connections): reject non-positive max_input_tokens on model update 2026-08-03 14:42:21 +05:30
Anish Sarkar
d9eb93deab fix(model_connections_routes): keep a stored context limit across rediscovery 2026-08-03 14:42:17 +05:30
Anish Sarkar
d2ef8513a6 feat(llm_bundle): attach the resolved context profile and pass num_ctx for ollama 2026-08-03 14:41:54 +05:30
Anish Sarkar
f48b615f39 feat(llm_config): resolve and enforce the model context budget on every generation path 2026-08-03 14:41:45 +05:30
Anish Sarkar
d8b309b41a refactor(llm_router_service): delegate trimming and message conversion to context_admission 2026-08-03 14:41:42 +05:30
Anish Sarkar
8f9bde215e feat(context_admission): add shared message conversion and context trimming 2026-08-03 14:41:25 +05:30
Anish Sarkar
6def349137 fix(model_connections_routes): improve error message for model discovery failure by simplifying detail output 2026-07-31 21:45:16 +05:30
Anish Sarkar
0e6f3264cb fix(model_connection_service): enhance error handling for LM Studio model discovery by raising ModelDiscoveryError with specific upgrade instructions 2026-07-31 21:39:58 +05:30
Anish Sarkar
0c06679c17 fix(model_connection_service): update LM Studio native v1 model response handling to check for 'models' key in payload 2026-07-31 15:37:30 +05:30
Anish Sarkar
2216be5e22 feat(provider_registry): add 'lm_studio_models' to DiscoveryKind and update registry entry for LM Studio 2026-07-30 23:30:58 +05:30
Anish Sarkar
b66e90ffb1 feat(model_connection): implement LM Studio model discovery and enhance error handling for connection verification 2026-07-30 23:30:47 +05:30
Rohan Verma
21b0ecba64
Merge pull request #1643 from AnishSarkar22/feat/searxng-fallback
Some checks failed
Build and Push Docker Images / compute_version (push) Has been cancelled
Build and Push Docker Images / build (./surfsense_backend, cpu, ./surfsense_backend/Dockerfile, backend, surfsense-backend, ubuntu-24.04-arm, linux/arm64, arm64, , production, false, cpu) (push) Has been cancelled
Build and Push Docker Images / build (./surfsense_backend, cpu, ./surfsense_backend/Dockerfile, backend, surfsense-backend, ubuntu-latest, linux/amd64, amd64, , production, false, cpu) (push) Has been cancelled
Build and Push Docker Images / build (./surfsense_backend, cu126, ./surfsense_backend/Dockerfile, backend, surfsense-backend, ubuntu-24.04-arm, linux/arm64, arm64, -cuda126, production, true, cuda126) (push) Has been cancelled
Build and Push Docker Images / build (./surfsense_backend, cu126, ./surfsense_backend/Dockerfile, backend, surfsense-backend, ubuntu-latest, linux/amd64, amd64, -cuda126, production, true, cuda126) (push) Has been cancelled
Build and Push Docker Images / build (./surfsense_backend, cu128, ./surfsense_backend/Dockerfile, backend, surfsense-backend, ubuntu-24.04-arm, linux/arm64, arm64, -cuda, production, true, cuda) (push) Has been cancelled
Build and Push Docker Images / build (./surfsense_backend, cu128, ./surfsense_backend/Dockerfile, backend, surfsense-backend, ubuntu-latest, linux/amd64, amd64, -cuda, production, true, cuda) (push) Has been cancelled
Build and Push Docker Images / build (./surfsense_web, cpu, ./surfsense_web/Dockerfile, web, surfsense-web, ubuntu-24.04-arm, linux/arm64, arm64, , runner, false, cpu) (push) Has been cancelled
Build and Push Docker Images / build (./surfsense_web, cpu, ./surfsense_web/Dockerfile, web, surfsense-web, ubuntu-latest, linux/amd64, amd64, , runner, false, cpu) (push) Has been cancelled
Build and Push Docker Images / verify_digests (push) Has been cancelled
Build and Push Docker Images / create_manifest (backend, surfsense-backend, , cpu) (push) Has been cancelled
Build and Push Docker Images / create_manifest (backend, surfsense-backend, -cuda, cuda) (push) Has been cancelled
Build and Push Docker Images / create_manifest (backend, surfsense-backend, -cuda126, cuda126) (push) Has been cancelled
Build and Push Docker Images / create_manifest (web, surfsense-web, , cpu) (push) Has been cancelled
Build and Push Docker Images / finalize_release (push) Has been cancelled
feat(google_search): fall back to SearXNG when Google walls every IP
2026-07-29 15:31:41 -07:00
Anish Sarkar
bde2b827f2 refactor(searxng): rename SEARXNG_FALLBACK_URL to SEARXNG_URL 2026-07-27 19:58:40 +05:30
Anish Sarkar
a7a21fe240 fix(google_search): log when the unproxied render gives up 2026-07-27 19:50:23 +05:30
Anish Sarkar
888b65ede9 docs(google_search): note the bundled searxng default in the module docstring 2026-07-27 19:50:18 +05:30
Anish Sarkar
e8d4ac7fde fix(google_search): name the json api setting when searxng returns 403 2026-07-27 19:50:14 +05:30
Anish Sarkar
d784f825e9 refactor(google_search): report the searxng provider label, not the instance host 2026-07-27 19:50:07 +05:30
Anish Sarkar
17ef99c5f9 feat(agents): surface fallback provenance in google_search replies 2026-07-27 16:14:13 +05:30
Anish Sarkar
d39dac9016 fix(billing): exclude fallback results from Google SERP page charges 2026-07-27 16:14:03 +05:30
Anish Sarkar
9f1795da57 feat(google_search): fall back to SearXNG when Google walls every IP 2026-07-27 16:13:58 +05:30
Anish Sarkar
6837f9fd36 feat(google_search): add SearXNG last-resort search provider 2026-07-27 16:13:52 +05:30
Rohan Verma
a327ae88d2
Merge pull request #1641 from AnishSarkar22/fix/openai-compatible-models
Some checks failed
Build and Push Docker Images / compute_version (push) Has been cancelled
Build and Push Docker Images / build (./surfsense_backend, cpu, ./surfsense_backend/Dockerfile, backend, surfsense-backend, ubuntu-24.04-arm, linux/arm64, arm64, , production, false, cpu) (push) Has been cancelled
Build and Push Docker Images / build (./surfsense_backend, cpu, ./surfsense_backend/Dockerfile, backend, surfsense-backend, ubuntu-latest, linux/amd64, amd64, , production, false, cpu) (push) Has been cancelled
Build and Push Docker Images / build (./surfsense_backend, cu126, ./surfsense_backend/Dockerfile, backend, surfsense-backend, ubuntu-24.04-arm, linux/arm64, arm64, -cuda126, production, true, cuda126) (push) Has been cancelled
Build and Push Docker Images / build (./surfsense_backend, cu126, ./surfsense_backend/Dockerfile, backend, surfsense-backend, ubuntu-latest, linux/amd64, amd64, -cuda126, production, true, cuda126) (push) Has been cancelled
Build and Push Docker Images / build (./surfsense_backend, cu128, ./surfsense_backend/Dockerfile, backend, surfsense-backend, ubuntu-24.04-arm, linux/arm64, arm64, -cuda, production, true, cuda) (push) Has been cancelled
Build and Push Docker Images / build (./surfsense_backend, cu128, ./surfsense_backend/Dockerfile, backend, surfsense-backend, ubuntu-latest, linux/amd64, amd64, -cuda, production, true, cuda) (push) Has been cancelled
Build and Push Docker Images / build (./surfsense_web, cpu, ./surfsense_web/Dockerfile, web, surfsense-web, ubuntu-24.04-arm, linux/arm64, arm64, , runner, false, cpu) (push) Has been cancelled
Build and Push Docker Images / build (./surfsense_web, cpu, ./surfsense_web/Dockerfile, web, surfsense-web, ubuntu-latest, linux/amd64, amd64, , runner, false, cpu) (push) Has been cancelled
Build and Push Docker Images / verify_digests (push) Has been cancelled
Build and Push Docker Images / create_manifest (backend, surfsense-backend, , cpu) (push) Has been cancelled
Build and Push Docker Images / create_manifest (backend, surfsense-backend, -cuda, cuda) (push) Has been cancelled
Build and Push Docker Images / create_manifest (backend, surfsense-backend, -cuda126, cuda126) (push) Has been cancelled
Build and Push Docker Images / create_manifest (web, surfsense-web, , cpu) (push) Has been cancelled
Build and Push Docker Images / finalize_release (push) Has been cancelled
fix(model-connections): use OpenAI-compatible base URL verbatim and deprecate raw provider
2026-07-26 15:30:18 -07:00
Rohan Verma
eaa7ea9806
Merge pull request #1632 from Benebo7/fix/error-treatment-model-setup
Fix: error treatment model setup
2026-07-26 15:30:01 -07:00
Anish Sarkar
f39f7847f4 refactor(workspaces-routes): update dependency for workspace limits endpoint to require session context 2026-07-26 22:49:04 +05:30
Anish Sarkar
a4147e2047 fix(automation-service): correct variable reference for automation_id in status change notifications 2026-07-26 22:43:07 +05:30
Anish Sarkar
1b02c42a55 feat(model-connection-service): enhance 404 error messages with API Base URL hints 2026-07-26 20:55:11 +05:30
Anish Sarkar
d197ae4658 refactor(model-resolver): remove ensure_v1 function to streamline base URL processing 2026-07-26 20:40:45 +05:30
Anish Sarkar
3d634620ad refactor(model-connection-service): simplify base URL handling for OpenAI-compatible models 2026-07-26 20:40:33 +05:30
Anish Sarkar
1fe387895b refactor(model-providers): hide openai_compatible_raw from catalog 2026-07-26 20:33:51 +05:30
Anish Sarkar
7b642ac18b chore(provider-registry): deprecate openai_compatible_raw 2026-07-26 20:33:47 +05:30
Anish Sarkar
106e6f2e11 fix(model-connections): query {base_url}/models verbatim for discovery and verify 2026-07-26 20:33:42 +05:30
Anish Sarkar
f2d8e27a75 refactor(model-resolver): use OpenAI-compatible base URL verbatim 2026-07-26 20:33:37 +05:30
Benebo7
8eb8d0148c fix: clear message when not found models for provider 2026-07-24 20:21:52 -03:00
Benebo7
4628375f8a fix: better error treatment on model setup for invalid api key and rate limit 2026-07-24 20:21:27 -03:00
DESKTOP-RTLN3BA\$punk
ab05d74071 refactor(quality-score): update provider prestige logic and adjust top-K size for improved candidate selection 2026-07-24 16:16:12 -07:00
DESKTOP-RTLN3BA\$punk
1c8a15dfab refactor: consolidate browser loop management across Google Search, Indeed Jobs, and Reddit platforms 2026-07-24 15:01:01 -07:00
DESKTOP-RTLN3BA\$punk
4a727a2c57 chore: linting 2026-07-24 14:30:46 -07:00
Anish Sarkar
8d1e2a5134 feat(reddit-scraper): add support for community-only subreddit scraping without search queries 2026-07-25 02:55:27 +05:30