Skip to content

Azure Models Support #72

Answered by saqadri
rwang1987 asked this question in Q&A
Discussion options

You must be logged in to vote

@rwang1987 responded in #73, but also writing here for others' benefit!

It's very similar to the Ollama example:

https://github.com/lastmile-ai/mcp-agent/blob/main/examples/mcp_basic_ollama_agent/mcp_agent.config.yaml#L24-L25

Simply specify the base_url to be your Azure model deployment URL. Should be something like https://${azure_resource}.openai.azure.com/openai/deployments/{model_name},
and specify api_key to be the corresponding API key.

Everything else stays exactly the same.

Please let me know if you run into any issues! Also, if you get it working, please contribute an example to the repo for others to benefit!

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by saqadri
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants