mirror of
https://github.com/microsoft/agent-framework.git
synced 2026-06-16 21:04:09 +08:00
Python: Introducing UserInputRequest and Response types and HostedMcpTool (#405)
* initial work on User Approval (and hosted mcp to validate) * small update to the comments in the sample * enable local MCP tools in chatClient get methods * working streaming and improved setup * fix for pyright * updated create_approval -> create_response method * added tests * updated HostedMcpTool and addressed feedback * update type name * naming updates * small docstring update * mypy fix * fixes and updates * fixes for responses * fix int tests * removed broken tests * updated test running * removed specific content check on websearch * increased timeout * split slow foundry test * don't parallel run samples * add dist load to unit tests --------- Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
Unverified
parent
947f2bf642
commit
6aa746d891
@@ -48,7 +48,7 @@ jobs:
|
||||
run: |
|
||||
echo "PACKAGE_NAME=main" >> $GITHUB_ENV
|
||||
- name: Test with pytest - main
|
||||
run: uv run poe --directory ./packages/${{ env.PACKAGE_NAME }} test --junitxml=coverage.xml
|
||||
run: uv run poe --directory ./packages/${{ env.PACKAGE_NAME }} test -n logical --dist loadfile --dist worksteal --junitxml=coverage.xml
|
||||
working-directory: ./python
|
||||
- name: Move coverage file - main
|
||||
run: |
|
||||
@@ -70,7 +70,7 @@ jobs:
|
||||
run: |
|
||||
echo "PACKAGE_NAME=azure" >> $GITHUB_ENV
|
||||
- name: Test with pytest - azure
|
||||
run: uv run poe --directory ./packages/${{ env.PACKAGE_NAME }} test --junitxml=coverage.xml
|
||||
run: uv run poe --directory ./packages/${{ env.PACKAGE_NAME }} test -n logical --dist loadfile --dist worksteal --junitxml=coverage.xml
|
||||
working-directory: ./python
|
||||
- name: Move coverage file - azure
|
||||
run: |
|
||||
@@ -92,7 +92,7 @@ jobs:
|
||||
run: |
|
||||
echo "PACKAGE_NAME=foundry" >> $GITHUB_ENV
|
||||
- name: Test with pytest - foundry
|
||||
run: uv run poe --directory ./packages/${{ env.PACKAGE_NAME }} test --junitxml=coverage.xml
|
||||
run: uv run poe --directory ./packages/${{ env.PACKAGE_NAME }} test -n logical --dist loadfile --dist worksteal --junitxml=coverage.xml
|
||||
working-directory: ./python
|
||||
- name: Move coverage file - foundry
|
||||
run: |
|
||||
@@ -114,7 +114,7 @@ jobs:
|
||||
run: |
|
||||
echo "PACKAGE_NAME=workflow" >> $GITHUB_ENV
|
||||
- name: Test with pytest - workflow
|
||||
run: uv run poe --directory ./packages/${{ env.PACKAGE_NAME }} test --junitxml=coverage.xml
|
||||
run: uv run poe --directory ./packages/${{ env.PACKAGE_NAME }} test -n logical --dist loadfile --dist worksteal --junitxml=coverage.xml
|
||||
working-directory: ./python
|
||||
- name: Move coverage file - workflow
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user