diff --git a/.claude/worktrees/pr-12725-fixes b/.claude/worktrees/pr-12725-fixes new file mode 160000 index 0000000000..5f92082f9c --- /dev/null +++ b/.claude/worktrees/pr-12725-fixes @@ -0,0 +1 @@ +Subproject commit 5f92082f9cbe68ec82b9d87a9df0177d1a088141 diff --git a/autogpt_platform/backend/backend/copilot/sdk/service.py b/autogpt_platform/backend/backend/copilot/sdk/service.py index 0af308be93..e2e2bd0a33 100644 --- a/autogpt_platform/backend/backend/copilot/sdk/service.py +++ b/autogpt_platform/backend/backend/copilot/sdk/service.py @@ -30,6 +30,7 @@ class _SystemPromptPreset(TypedDict): append: str exclude_dynamic_sections: bool + if TYPE_CHECKING: from backend.copilot.permissions import CopilotPermissions diff --git a/autogpt_platform/backend/backend/copilot/sdk/service_test.py b/autogpt_platform/backend/backend/copilot/sdk/service_test.py index b196b132f1..8c5be805ec 100644 --- a/autogpt_platform/backend/backend/copilot/sdk/service_test.py +++ b/autogpt_platform/backend/backend/copilot/sdk/service_test.py @@ -235,9 +235,9 @@ class TestPromptSupplement: for tool_name, tool in TOOL_REGISTRY.items(): if not tool.is_available: continue - assert f"`{tool_name}`" in docs, ( - f"Tool '{tool_name}' missing from baseline supplement" - ) + assert ( + f"`{tool_name}`" in docs + ), f"Tool '{tool_name}' missing from baseline supplement" def test_pause_task_scheduled_before_transcript_upload(self): """Pause is scheduled as a background task before transcript upload begins. diff --git a/autogpt_platform/backend/backend/data/platform_cost_test.py b/autogpt_platform/backend/backend/data/platform_cost_test.py index dacd2c42ea..4a2372628b 100644 --- a/autogpt_platform/backend/backend/data/platform_cost_test.py +++ b/autogpt_platform/backend/backend/data/platform_cost_test.py @@ -35,7 +35,6 @@ class TestUsdToMicrodollars: assert usd_to_microdollars(1.0) == 1_000_000 - class TestMaskEmail: def test_typical_email(self): assert _mask_email("user@example.com") == "us***@example.com"