chore: lint fix

This commit is contained in:
Richard Tang
2026-03-03 20:39:04 -08:00
parent 09e5a4dcc0
commit 3f86bd4009
11 changed files with 168 additions and 124 deletions
@@ -8,7 +8,7 @@ from framework.graph.executor import ExecutionResult
from framework.graph.checkpoint_config import CheckpointConfig
from framework.llm import LiteLLMProvider
from framework.runner.tool_registry import ToolRegistry
from framework.runtime.agent_runtime import AgentRuntime, create_agent_runtime
from framework.runtime.agent_runtime import create_agent_runtime
from framework.runtime.execution_stream import EntryPointSpec
from .config import default_config, metadata
@@ -251,9 +251,7 @@ class EmailReplyAgent:
errors.append(f"Terminal node '{t}' not found")
for ep_id, nid in self.entry_points.items():
if nid not in node_ids:
errors.append(
f"Entry point '{ep_id}' references unknown node '{nid}'"
)
errors.append(f"Entry point '{ep_id}' references unknown node '{nid}'")
return {"valid": len(errors) == 0, "errors": errors, "warnings": warnings}
@@ -36,7 +36,9 @@ default_config = RuntimeConfig()
class AgentMetadata:
name: str = "Email Reply Agent"
version: str = "1.0.0"
description: str = "Filter unreplied emails, confirm recipients, send personalized replies."
description: str = (
"Filter unreplied emails, confirm recipients, send personalized replies."
)
intro_message: str = "Tell me which emails you want to reply to (e.g., 'emails from @company.com in the last week')."
@@ -1,7 +1,5 @@
"""Structural tests for Email Reply Agent."""
import pytest
class TestAgentStructure:
"""Test agent graph structure."""