Sycophant.Auth.Azure (sycophant v0.4.2)

Copy Markdown

Authentication strategy for Azure AI Foundry.

Uses Bearer token authentication with an api-version query parameter. Supports both Azure AI Foundry format (.services.ai.azure.com) and traditional Azure OpenAI format (.openai.azure.com).

Summary

Functions

Returns true if the given base URL uses the Azure AI Foundry format.

Functions

uses_foundry_format?(base_url)

@spec uses_foundry_format?(term()) :: boolean()

Returns true if the given base URL uses the Azure AI Foundry format.

Foundry endpoints use the .services.ai.azure.com domain, while traditional Azure OpenAI endpoints use .openai.azure.com.