Skip to content

Commit

Permalink
fix mypy issue
Browse files Browse the repository at this point in the history
  • Loading branch information
bugsz committed Dec 7, 2024
1 parent fd1e984 commit 6155292
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions examples/use_custom_dimensions.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,11 +159,13 @@ def run_simple_sample_with_custom_samples(
)

all_agents: list[AgentProfile] = cast(
list[AgentProfile], AgentProfile.find().page(0, 2)
) # type: ignore
list[AgentProfile],
AgentProfile.find().page(0, 2), # type: ignore
)
all_envs: list[EnvironmentProfile] = cast(
list[EnvironmentProfile], EnvironmentProfile.find().page(0, 1)
) # type: ignore
list[EnvironmentProfile],
EnvironmentProfile.find().page(0, 1), # type: ignore
)
environment: ParallelSotopiaEnv = ParallelSotopiaEnv(
env_profile=all_envs[0],
model_name="gpt-4o-mini",
Expand Down

0 comments on commit 6155292

Please sign in to comment.