mirror of
https://github.com/microsoft/agent-framework.git
synced 2026-06-16 21:04:09 +08:00
* Python: Add coverage threshold gate for PR checks (#3392) - Add python-check-coverage.py script to enforce coverage threshold on specific modules - Modify python-test-coverage.yml to run coverage check after tests - Initial enforced module: agent_framework_azure_ai at 85% threshold - Other modules are reported for visibility but don't block merges * Fail if module not found * Force unit test job to run * Comment 1 * Fix coverage check to use full package paths for submodule support * Update report format
This commit is contained in:
committed by
GitHub
Unverified
parent
96f30bdf57
commit
0a0de4ac21
@@ -1245,7 +1245,7 @@ def test_magentic_agent_factory_with_standard_manager_options():
|
||||
custom_final_prompt = "Custom final: {task}"
|
||||
|
||||
# Create a custom task ledger
|
||||
from agent_framework._workflows._magentic import _MagenticTaskLedger
|
||||
from agent_framework._workflows._magentic import _MagenticTaskLedger # type: ignore
|
||||
|
||||
custom_task_ledger = _MagenticTaskLedger(
|
||||
facts=ChatMessage(role=Role.ASSISTANT, text="Custom facts"),
|
||||
|
||||
Reference in New Issue
Block a user