Skip to content

Commit 583d001

Browse files
committed
fix linting
1 parent 2d7f2a1 commit 583d001

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/agents/tool.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -180,8 +180,8 @@ class FunctionTool:
180180
based on your context/state."""
181181

182182
func: ToolFunction[...] | None = None
183-
"""The function that implements the tool. Ensures that a reference to the original function exists
184-
when @function_tool is used."""
183+
"""The function that implements the tool. Ensures that a reference to the
184+
original function exists when @function_tool is used."""
185185

186186
# Tool-specific guardrails
187187
tool_input_guardrails: list[ToolInputGuardrail[Any]] | None = None
@@ -665,7 +665,7 @@ async def _on_invoke_tool(ctx: ToolContext[Any], input: str) -> Any:
665665
on_invoke_tool=_on_invoke_tool,
666666
strict_json_schema=strict_mode,
667667
is_enabled=is_enabled,
668-
func=func
668+
func=func,
669669
)
670670

671671
# If func is actually a callable, we were used as @function_tool with no parentheses

0 commit comments

Comments
 (0)