mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-07-16 23:01:06 +02:00
Add Requesty (https://requesty.ai), an OpenAI-compatible LLM router, as a model provider by mirroring the existing OpenRouter integration. Backend: - app/services/requesty_model_normalizer.py: normalizes Requesty's /v1/models catalogue, mapping its flat capability booleans (supports_tool_calling/ supports_vision/supports_image_generation) and context_window field onto the shared normalized shape (Requesty differs from OpenRouter's architecture + supported_parameters + context_length layout) - provider_registry.py: Requesty ProviderSpec (OpenAI-compatible, base URL https://router.requesty.ai/v1, REQUESTY_API_KEY bearer auth) - model_connection_service.py: key verification + live model discovery - quality_score.py: Requesty score entry - unit tests mirroring the OpenRouter normalizer coverage Frontend: - Requesty provider icon + registration, metadata entry, and base-url hint Signed-off-by: Thibault Jaigu <thibault.jaigu@gmail.com> |
||
|---|---|---|
| .. | ||
| streaming | ||
| __init__.py | ||
| test_agent_billing_resolver.py | ||
| test_auto_model_pin_service.py | ||
| test_auto_pin_image_aware.py | ||
| test_billable_call.py | ||
| test_docling_image_support.py | ||
| test_folder_hierarchy.py | ||
| test_image_gen_api_base_defense.py | ||
| test_llm_router_pool_filter.py | ||
| test_memory_service.py | ||
| test_model_connections.py | ||
| test_openrouter_integration_service.py | ||
| test_openrouter_legacy_config.py | ||
| test_or_health_enrichment.py | ||
| test_pricing_registration.py | ||
| test_provider_capabilities.py | ||
| test_quality_score.py | ||
| test_quota_checked_vision_llm.py | ||
| test_requesty_model_normalizer.py | ||
| test_revert_filesystem_tools.py | ||
| test_revert_service.py | ||
| test_supports_image_input.py | ||
| test_token_quota_service_cost.py | ||
| test_web_crawl_credit_service.py | ||