Skip to content

Commit dc24f46

Browse files
committed
fix: lint
1 parent 402d7fe commit dc24f46

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

examples/01_basic_agent.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,17 @@
99
"""
1010

1111
import asyncio
12-
from typing import TypeVar
12+
from typing import Any
1313

1414
from pydantic import BaseModel, Field
1515

1616
import workflowai
1717
from workflowai import Model, Run
1818

19-
# Type variable for the output model, constrained to BaseModel
20-
T = TypeVar("T", bound=BaseModel)
21-
2219

2320
class CityInput(BaseModel):
2421
"""Input model for the city-to-capital agent."""
22+
2523
city: str = Field(
2624
description="The name of the city for which to find the country's capital",
2725
examples=["Paris", "New York", "Tokyo"],
@@ -30,6 +28,7 @@ class CityInput(BaseModel):
3028

3129
class CapitalOutput(BaseModel):
3230
"""Output model containing information about the capital city."""
31+
3332
country: str = Field(
3433
description="The country where the input city is located",
3534
examples=["France", "United States", "Japan"],

0 commit comments

Comments
 (0)