Add warnings for deprecated azure oai config changes (#4317)

* Add warnings for deprecated azure oai config changes

* Update docs and usages, simplify capabilities
This commit is contained in:
Jack Gerrits
2024-11-25 12:34:52 -05:00
committed by GitHub
parent 341417e636
commit b2ae4d1203
7 changed files with 37 additions and 44 deletions

View File

@@ -141,6 +141,7 @@ async def test_openai_chat_completion_client() -> None:
@pytest.mark.asyncio
async def test_azure_openai_chat_completion_client() -> None:
client = AzureOpenAIChatCompletionClient(
azure_deployment="gpt-4o-1",
model="gpt-4o",
api_key="api_key",
api_version="2020-08-04",