Open abhishekkumar-27 opened 3 months ago
i used to have the same error. in my docker-compose file:
in llm.py file: elif "ollama" in model: env_value = os.getenv("LLM_MODEL_CONFIG_ollama") if env_value is None: raise ValueError("Environment variable LLM_MODEL_CONFIG_ollama is not set.") model_name, base_url = env_value.split(",") llm = ChatOllama(base_url=base_url, model=model_name)
i able to use ollama so far
'NoneType' object has no attribute 'split'