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> |
||
|---|---|---|
| .. | ||
| azure-connect-form.tsx | ||
| bedrock-connect-form.tsx | ||
| connect-fields.tsx | ||
| connection-card.tsx | ||
| connection-settings-dialog.tsx | ||
| default-connect-form.tsx | ||
| model-provider-connections-panel.tsx | ||
| model-utils.ts | ||
| models-selection-panel.tsx | ||
| provider-connect-dialog.tsx | ||
| provider-metadata.tsx | ||
| vertex-connect-form.tsx | ||