Skip to content

Commit 9ccdcb5

Browse files
committed
include file
1 parent 6c43218 commit 9ccdcb5

File tree

5 files changed

+27
-17
lines changed

5 files changed

+27
-17
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
manager: nitinme
3+
author: aahill
4+
ms.author: aahi
5+
ms.service: azure-ai-agent-service
6+
ms.topic: include
7+
ms.date: 07/23/2025
8+
---
9+
10+
> [!IMPORTANT]
11+
> Starting in May 2025, the Azure AI Agent Service uses an endpoint for [Foundry projects](../../what-is-azure-ai-foundry.md#project-types) instead of the connection string that were used for hub-based projects before this time. Connection strings are no longer supported in current versions of the SDKs and REST API. We recommend creating a new foundry project.
12+
>
13+
> If you want to continue using your hub-based project and connection string, you will need to use one of the previous versions of the SDK:
14+
> * C#: `1.0.0-beta.2` or earlier
15+
> * Python: `1.0.0b10` or earlier

articles/ai-foundry/agents/includes/endpoint-string-portal.md

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,4 @@ ms.date: 12/11/2024
99

1010
You can find your endpoint in the **overview** for your project in the [Azure AI Foundry portal](https://ai.azure.com/?cid=learnDocs), under **Libraries** > **Azure AI Foundry**.
1111

12-
> [!IMPORTANT]
13-
> Starting in May 2025, the Azure AI Agent Service uses an endpoint for [Foundry projects](../../what-is-azure-ai-foundry.md#project-types) instead of the connection string that were used for hub-based projects before this time. Connection strings are no longer supported in current versions of the SDKs and REST API. We recommend creating a new foundry project.
14-
>
15-
> If you want to continue using your hub-based project and connection string, you will need to use one of the previous versions of the SDK:
16-
> * C#: `1.0.0-beta.2` or earlier
17-
> * Python: `1.0.0b10` or earlier
18-
1912
:::image type="content" source="../media/quickstart/portal-endpoint-string.png" alt-text="A screenshot showing the endpoint in the Azure AI Foundry portal." lightbox="../media/quickstart/portal-endpoint-string.png":::

articles/ai-foundry/agents/includes/quickstart-csharp.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,10 @@ Use the following code to create and run an agent. To run this code, you will ne
4848

4949
[!INCLUDE [endpoint-string-portal](endpoint-string-portal.md)]
5050

51-
For example, your endpoint may look something like:
52-
53-
`https://myresource.services.ai.azure.com/api/projects/myproject`
54-
5551
Set this endpoint in an environment variable variable named `ProjectEndpoint`.
5652

53+
[!INCLUDE [endpoint-string-portal](connection-string-deprecation.md.md)]
54+
5755
[!INCLUDE [model-name-portal](model-name-portal.md)]
5856

5957
Save the name of your model deployment name as an environment variable named `ModelDeploymentName`.

articles/ai-foundry/agents/includes/quickstart-python.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,13 @@ Use the following code to create and run an agent. To run this code, you will ne
4545

4646
[!INCLUDE [endpoint-string-portal](endpoint-string-portal.md)]
4747

48-
For example, your endpoint may look something like:
48+
Set this endpoint as an environment variable named `PROJECT_ENDPOINT`.
4949

50-
`https://myresource.services.ai.azure.com/api/projects/myproject`
50+
[!INCLUDE [endpoint-string-portal](connection-string-deprecation.md.md)]
5151

52-
Set this endpoint as an environment variable named `PROJECT_ENDPOINT`.
52+
[!INCLUDE [model-name-portal](model-name-portal.md)]
53+
54+
Save the name of your model deployment name as an environment variable named `MODEL_DEPLOYMENT_NAME`.
5355

5456
```python
5557
import os

articles/ai-foundry/agents/includes/quickstart-typescript.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,13 @@ Use the following code to create and run an agent which uploads [a CSV file](htt
5858

5959
[!INCLUDE [endpoint-string-portal](endpoint-string-portal.md)]
6060

61-
For example, your endpoint looks something like:
61+
Set this endpoint as an environment variable named `PROJECT_ENDPOINT` in a `.env` file.
6262

63-
`https://myresource.services.ai.azure.com/api/projects/myproject`
63+
[!INCLUDE [endpoint-string-portal](connection-string-deprecation.md.md)]
6464

65-
Set this endpoint as an environment variable named `PROJECT_ENDPOINT` in a `.env` file.
65+
[!INCLUDE [model-name-portal](model-name-portal.md)]
66+
67+
Save the name of your model deployment name as an environment variable named `MODEL_DEPLOYMENT_NAME`.
6668

6769
> [!IMPORTANT]
6870
> * This quickstart code uses environment variables for sensitive configuration. Never commit your `.env` file to version control by making sure `.env` is listed in your `.gitignore` file.

0 commit comments

Comments
 (0)