Hi there,
currently I use smolagents with AzureOpenAIServerModel() and an API key. Now I have to switch to Active Directory authentication with DefaultAzureCredential or ManagedIdentityCredential, but with smolagent’s AzureOpenAIServerModel or OpenAIServerModel it is not working. Any idea on that? I would like to keep smolagents as framework for my agents.
model = AzureOpenAIServerModel(
model_id = AZURE_OPENAI_MODEL,
azure_endpoint = AZURE_OPENAI_ENDPOINT,
api_key = AZURE_OPENAI_API_KEY,
api_version = OPENAI_API_VERSION
)
Thanks and BR,
Ingo