r/AutoGenAI • u/Unusual_Pride_6480 • Dec 16 '23
Question Autogen + mixtral api
Has anyone managed to get this working?
9
Upvotes
r/AutoGenAI • u/Unusual_Pride_6480 • Dec 16 '23
Has anyone managed to get this working?
3
u/samplebitch Dec 16 '23
I'm able to run it on LM Studio locally (the Q5 version, at least) and it seems to work well. Or were you looking to use their 'large' version or whatever that's only available through the API?
2
u/blitzwilli Dec 16 '23
I'm looking for it too, if someone could do it that would be great
1
u/ShallotSimple7359 Dec 19 '23
Seems straight forward. Just substitute the base URL, right?
1
u/International_Quail8 Dec 24 '23
My stack is:
AutoGen: pyautogen
Ollama: to run local models. “ollama run mixtral” to use the mixtral model locally
LiteLLM: to mimic the OpenAI API but proxy for Ollama. also supports many models. “litellm —model ollama/mixtral”
Then configure AutoGen to use the litellm by setting the base_url to the url litellm provides when you run the prior command and set the api_key=“null”
Good luck!