Skip to content

Commit 19afd6f

Browse files
committed
lint-error-fix
1 parent 173cfa8 commit 19afd6f

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

src/agents/extensions/handoff_prompt.py

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,8 @@
1515
def prompt_with_handoff_instructions(prompt: str) -> str:
1616
"""
1717
Add recommended instructions to the prompt for agents that use handoffs.
18-
19-
Args:
20-
prompt: A string containing the prompt to which handoff instructions will be added
21-
22-
Returns:
23-
A string with the recommended handoff instructions prepended to the provided prompt
24-
25-
Raises:
26-
TypeError: If the prompt is not a string
2718
"""
2819
if not isinstance(prompt, str):
2920
raise TypeError(f"prompt must be a string, got {type(prompt).__name__}")
30-
21+
3122
return f"{RECOMMENDED_PROMPT_PREFIX}\n\n{prompt}"

0 commit comments

Comments
 (0)