IMPORTANT: Ensure you are using Ollama v0.1.29 or above (earlier models may hang with Mistral-based models)
-
Install AutoGen (preferably in a virtual environment / dev container)
-
Ollama pull <model name>your models, suggest tryingDolphinCoder(e.g.Ollama pull dolphincoder) -
Run LiteLLM using the ollama_chat notation:
litellm --model ollama_chat/dolphincoder --port 8801 --debug -
Open,
function_calling_test.py, changenetwork_addressvariable and comment/uncomment underllm_configaccordingly -
Run it!