- Replaced the default DialContext with SSRFSafeDialContext in the raw HTTP client to improve security against DNS rebinding attacks. - Added SSRF validation for BaseURL and endpoint in NewRemoteAPIChat and chat methods, ensuring safer URL handling. - Updated security utility functions to provide consistent SSRF checks across the application. |
||
|---|---|---|
| .. | ||
| chat | ||
| embedding | ||
| provider | ||
| rerank | ||
| utils | ||
| vlm | ||