Skip to content

Commit dc7c1c0

Browse files
authored
Python: Updated Copilot Studio README (#13432)
### Motivation and Context <!-- Thank you for your contribution to the semantic-kernel repo! Please help reviewers and future users, providing the following information: 1. Why is this change required? 2. What problem does it solve? 3. What scenario does it contribute to? 4. If it fixes an open issue, please link to the issue here. --> Renamed dependency from Copilot Studio README. ### Contribution Checklist <!-- Before submitting this PR, please make sure: --> - [x] The code builds clean without any errors or warnings - [x] The PR follows the [SK Contribution Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md) and the [pre-submission formatting script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts) raises no violations - [x] All unit tests pass, and I have added new tests where possible - [x] I didn't break anyone 😄
1 parent 4e0ccb9 commit dc7c1c0

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

python/samples/getting_started_with_agents/copilot_studio/README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Semantic Kernel - CopilotStudioAgent Quickstart
22

3-
This README provides an overview on how to use the [CopilotStudioAgent](../../../semantic_kernel/agents/copilot_studio/copilot_studio_agent.py) within Semantic Kernel.
3+
This README provides an overview on how to use the [CopilotStudioAgent](../../../semantic_kernel/agents/copilot_studio/copilot_studio_agent.py) within Semantic Kernel.
44
This agent allows you to interact with Microsoft Copilot Studio agents through programmatic APIs.
55

66
> ℹ️ **Note:** Knowledge sources must be configured **within** Microsoft Copilot Studio first. Streaming responses are **not currently supported**.
@@ -13,18 +13,18 @@ This agent allows you to interact with Microsoft Copilot Studio agents through p
1313
2. Install Semantic Kernel with Copilot Studio dependencies:
1414
```bash
1515
pip install semantic-kernel
16-
pip install microsoft-agents-core microsoft-agents-copilotstudio-client
16+
pip install microsoft-agents-hosting-core microsoft-agents-copilotstudio-client
1717
```
1818
3. An agent created in **Microsoft Copilot Studio**
19-
4. Ability to create an application identity in Azure for a **Public Client/Native App Registration**,
19+
4. Ability to create an application identity in Azure for a **Public Client/Native App Registration**,
2020
or access to an existing app registration with the `CopilotStudio.Copilots.Invoke` API permission assigned.
2121

2222
## Create a Copilot Agent in Copilot Studio
2323

2424
1. Go to [Microsoft Copilot Studio](https://copilotstudio.microsoft.com).
2525
2. Create a new **Agent**.
2626
3. Publish your newly created Agent.
27-
4. In Copilot Studio, navigate to:
27+
4. In Copilot Studio, navigate to:
2828
`Settings``Advanced``Metadata`
2929

3030
Save the following values:
@@ -43,7 +43,7 @@ You will create a **Native Client Application Identity** (no client secret requi
4343
4. Fill out:
4444
- **Name**: Any name you like
4545
- **Supported account types**: `Accounts in this organization directory only`
46-
- **Redirect URI**:
46+
- **Redirect URI**:
4747
- Platform: `Public client/native (mobile & desktop)`
4848
- URI: `http://localhost`
4949
5. Click **Register**
@@ -86,7 +86,7 @@ COPILOT_STUDIO_AGENT_AUTH_MODE=interactive
8686

8787
## Create an Application Registration in Entra ID – Service Principal Login
8888

89-
> **Warning**: Service Principal login is **not yet supported** in the current version of the `CopilotStudioClient`.
89+
> **Warning**: Service Principal login is **not yet supported** in the current version of the `CopilotStudioClient`.
9090

9191
## Creating a `CopilotStudioAgent` Client
9292

@@ -116,4 +116,4 @@ agent = CopilotStudioAgent(
116116
name="<name>",
117117
instructions="<instructions>",
118118
)
119-
```
119+
```

python/tests/unit/connectors/ai/mistral_ai/services/test_mistralai_chat_completion.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -534,7 +534,7 @@ async def test_mistral_ai_chat_completion_get_streaming_chat_message_contents_fa
534534
assert "service failed to complete the prompt" in str(exc.value)
535535

536536

537-
async def test_mistral_ai_chat_completion_update_settings_from_function_call_configuration_mistral():
537+
def test_mistral_ai_chat_completion_update_settings_from_function_call_configuration_mistral():
538538
"""Test update_settings_from_function_call_configuration_mistral sets tools etc."""
539539

540540
chat_completion = MistralAIChatCompletion(
@@ -568,7 +568,7 @@ async def test_mistral_ai_chat_completion_update_settings_from_function_call_con
568568
assert settings.tools[0]["function"]["name"] == "mod.my_func"
569569

570570

571-
async def test_mistral_ai_chat_completion_reset_function_choice_settings():
571+
def test_mistral_ai_chat_completion_reset_function_choice_settings():
572572
"""Test that _reset_function_choice_settings resets specific attributes."""
573573
chat_completion = MistralAIChatCompletion(
574574
ai_model_id="test-model",
@@ -581,7 +581,7 @@ async def test_mistral_ai_chat_completion_reset_function_choice_settings():
581581
assert settings.tools is None
582582

583583

584-
async def test_mistral_ai_chat_completion_service_url():
584+
def test_mistral_ai_chat_completion_service_url():
585585
"""Test that service_url attempts to use _endpoint from the async_client."""
586586
async_mock_client = MagicMock(spec=Mistral)
587587
async_mock_client._endpoint = "mistral"

0 commit comments

Comments
 (0)