Skip to content

~95% on SimpleQA (e.g. Qwen3.6-27B on a 3090). Supports all local and cloud LLMs (llama.cpp, Ollama, Google, ...). 10+ search engines - arXiv, PubMed, your private documents. Everything Local & Encrypted.

1.3 KB
Raw Blame

Custom OpenAI-compatible and Ollama embedding endpoints now reject metadata-service SSRF targets and refuse HTTP redirects; for OpenAI-compatible embedding calls this holds with or without a proxy (the OPENAI_PROXY environment variable, or an openai_proxy argument, which is now honoured too). The Ollama chat client refuses redirects too. Upgrade note: the SSRF check resolves the endpoint hostname with the local resolver, so a custom embeddings URL whose host only a proxy can resolve is now refused, with a "could not resolve host" error that is distinct from the blocked-host error (also for LLM provider URLs); under a proxy the check is advisory, because the proxy does its own DNS resolution. An endpoint that redirects (for example an http-to-https reverse proxy) now fails instead of being followed. The HTTP clients LDR builds for these endpoints, and embedding resources, are closed on normal and failure paths.

A failed attempt to close an embedding HTTP client now leaves cleanup retryable, including synchronous and asynchronous close paths.

OpenAI embedding endpoint validation and redirect refusal also cover SDK environment fallbacks: OPENAI_API_BASE then OPENAI_BASE_URL for embedding calls, and OPENAI_BASE_URL for model discovery. Explicit embedding URL configuration keeps precedence.