Skip to content

Commit 318e092

Browse files
Python: Add missing fields to AzureAIAgentSettings (#12211)
### Motivation and Context Some fields were missing from `AzureAIAgentSettings`, which caused errors during placeholder replacement in the declarative agent. https://github.com/microsoft/semantic-kernel/blob/6efcc847c56d742a12dec871bd715319a599533c/python/semantic_kernel/agents/azure_ai/azure_ai_agent.py#L568-L575 ### Description - Add the missing fields to `AzureAIAgentSettings`. ### 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 6efcc84 commit 318e092

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

python/semantic_kernel/agents/azure_ai/azure_ai_agent_settings.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,8 @@ class AzureAIAgentSettings(KernelBaseSettings):
2020

2121
model_deployment_name: str
2222
endpoint: str | None = None
23+
agent_id: str | None = None
24+
bing_connection_id: str | None = None
25+
azure_ai_search_connection_id: str | None = None
26+
azure_ai_search_index_name: str | None = None
2327
api_version: str | None = None

0 commit comments

Comments
 (0)