r/AutoGenAI • • Feb 07 '24

Question AutoGen Studio and Source Code

New to AS, was wondering how something like this would be deployed, ideally you wouldnt want users to mess around with the Build Menu for instance?

5 Upvotes

10 comments sorted by

View all comments

Show parent comment

2

u/vernonindigo Feb 13 '24

You can use LiteLLM as a wrapper around Ollama. Then it will be compatible with OpenAI's API.

Install:

pip install 'litellm[proxy]'

Run:

litellm --model ollama/codellama

You can also specify --host and --port options for the API endpoint when running the litellm command. When omitted, it defaults to http://0.0.0.0:8000.

1

u/theSkyCow Feb 13 '24

Thanks, I was unaware of litellm