mirror of
https://github.com/Significant-Gravitas/AutoGPT.git
synced 2026-04-30 03:00:41 -04:00
fix(backend): format service.py and test files
This commit is contained in:
1
.claude/worktrees/pr-12725-fixes
Submodule
1
.claude/worktrees/pr-12725-fixes
Submodule
Submodule .claude/worktrees/pr-12725-fixes added at 5f92082f9c
@@ -30,6 +30,7 @@ class _SystemPromptPreset(TypedDict):
|
||||
append: str
|
||||
exclude_dynamic_sections: bool
|
||||
|
||||
|
||||
if TYPE_CHECKING:
|
||||
from backend.copilot.permissions import CopilotPermissions
|
||||
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user