Skip to content

Commit 4fefc56

Browse files
committed
make lint
1 parent 242efa1 commit 4fefc56

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

src/agents/model_settings.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from __future__ import annotations
22

3-
from dataclasses import dataclass, asdict
3+
from dataclasses import dataclass
44
from typing import Literal
55

66

@@ -31,7 +31,7 @@ class ModelSettings:
3131
"""The tool choice to use when calling the model."""
3232

3333
parallel_tool_calls: bool | None = None
34-
"""Whether to use parallel tool calls when calling the model.
34+
"""Whether to use parallel tool calls when calling the model.
3535
Defaults to False if not provided."""
3636

3737
truncation: Literal["auto", "disabled"] | None = None
@@ -41,7 +41,7 @@ class ModelSettings:
4141
"""The maximum number of output tokens to generate."""
4242

4343
store: bool | None = None
44-
"""Whether to store the generated model response for later retrieval.
44+
"""Whether to store the generated model response for later retrieval.
4545
Defaults to True if not provided."""
4646

4747
def resolve(self, override: ModelSettings | None) -> ModelSettings:

tests/test_agent_runner.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,14 @@
1414
InputGuardrail,
1515
InputGuardrailTripwireTriggered,
1616
ModelBehaviorError,
17+
ModelSettings,
1718
OutputGuardrail,
1819
OutputGuardrailTripwireTriggered,
20+
RunConfig,
1921
RunContextWrapper,
2022
Runner,
2123
UserError,
22-
handoff, ModelSettings, RunConfig,
24+
handoff,
2325
)
2426
from agents.agent import ToolsToFinalOutputResult
2527
from agents.tool import FunctionToolResult, function_tool

0 commit comments

Comments
 (0)