Package com.axelor.ai.provider.sync
Class HttpModelListFetcher
java.lang.Object
com.axelor.ai.provider.sync.HttpModelListFetcher
- All Implemented Interfaces:
ModelListFetcher
The real HTTP seam.
Deliberately does not reuse HttpToolExecutor's URI validation: that blocks
localhost to guard LLM-driven calls to arbitrary URLs, whereas this is an admin syncing against
an endpoint they configured — and Ollama lives on http://localhost:11434.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
HttpModelListFetcher
public HttpModelListFetcher()
-
-
Method Details
-
get
Description copied from interface:ModelListFetcherGETsurland returns the body.- Specified by:
getin interfaceModelListFetcher
-