# How to run Ollama deepseek-coder:6.7b-instruct-q4\_K\_M in Docker for CrewAI Agents?

**URL:** <https://forum.devtalk.com/t/how-to-run-ollama-deepseek-coder-6-7b-instruct-q4-k-m-in-docker-for-crewai-agents/190843>\
**Category:** Backend Questions/Help\
**Tags:** ollama, docker, deepseek\
**Created:** [12 March 2025 08:29 UTC](https://forum.devtalk.com/t/how-to-run-ollama-deepseek-coder-6-7b-instruct-q4-k-m-in-docker-for-crewai-agents/190843 "2025-03-12T08:29:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![yamuna](https://forum.devtalk.com/letter_avatar_proxy/v4/letter/y/d2c977/32.png) [@yamuna](https://forum.devtalk.com/u/yamuna)\
**Post date:** [12 March 2025 08:29 UTC](https://forum.devtalk.com/t/how-to-run-ollama-deepseek-coder-6-7b-instruct-q4-k-m-in-docker-for-crewai-agents/190843/1 "2025-03-12T08:29:11Z")

</div>

Hi everyone,

I’m trying to run `deepseek-coder:6.7b-instruct-q4_K_M` in Docker using Ollama to create an LLM that will be used by CrewAI agents. However, I’m encountering errors while initializing the SQL Query Generator Agent.

Here’s the error log:

2025-03-12 06:17:59,984 - INFO - Creating SQL Query Generator Agent  
2025-03-12 06:17:59,991 - ERROR - Failed to get supported params: argument of type ‘NoneType’ is not iterable  
ERROR - LiteLLM call failed: litellm.BadRequestError: LLM Provider NOT provided.  
Pass in the LLM provider you are trying to call. You passed model=base\_url=‘[http://ollama:11434](http://ollama:11434)’ model=‘deepseek-coder:6.7b-instruct-q4\_K\_M’ temperature=0.0

- How should I properly specify the model provider?
- Is there any special configuration required to make CrewAI recognize this model?
- Has anyone successfully run this model in Docker with CrewAI?
