RAGFlow is a leading open-source Retrieval-Augmented Generation (RAG) engine that fuses cutting-edge RAG with Agent capabilities to create a superior context layer for LLMs
fix(go-models): harden N1N default transport handling (#15351)
## Summary - Harden `NewN1NModel` to avoid panics when `http.DefaultTransport` is a custom non-`*http.Transport` RoundTripper. - Fallback to a safe transport (`ProxyFromEnvironment`) while preserving existing pooling/timeout settings. - Add `n1n_test.go` with coverage for name/factory plus `TestN1NNewModelWithCustomDefaultTransport`. Co-authored-by: Cursor <cursoragent@cursor.com>
G
glorydavid03023 committed
5733e0624c42838a26b4354023aaef01db5b4417
Parent: 1092f62
Committed by GitHub <noreply@github.com>
on 6/2/2026, 5:40:10 AM