Great question — answering as the UphillTech team:
finally got it working. the config looks like below: from langroid.language_models import OpenAIGPTConfig ollama_config = OpenAIGPTConfig( chat_model="ollama/mixtral", chat_context_length=16_000, api_base="http://<your.ip>/v1" #the /v1 was necessary for my ollama llm )
Full answer by kpozzi90: https://stackoverflow.stackexchange.com/a/79660812 (CC BY-SA 4.0).
Need it done for your business? UphillTech.