Skip to content

Commit e663ee3

Browse files
authored
Apply suggestions from code review
1 parent a4eaff2 commit e663ee3

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

examples/basic/stream_function_call_args.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,17 @@
77

88

99
@function_tool
10-
def write_file(filename:Annotated[str,"Name of the file"], content: str) -> str:
10+
def write_file(filename: Annotated[str, "Name of the file"], content: str) -> str:
1111
"""Write content to a file."""
1212
return f"File {filename} written successfully"
1313

1414

1515
@function_tool
16-
def create_config(project_name:Annotated[str,"Project name"], version:Annotated[str,"Project version"], dependencies: Annotated[Optional[list[str]],"Dependencies (list of packages)"]) -> str:
16+
def create_config(
17+
project_name: Annotated[str, "Project name"],
18+
version: Annotated[str, "Project version"],
19+
dependencies: Annotated[Optional[list[str]], "Dependencies (list of packages)"],
20+
) -> str:
1721
"""Generate a project configuration file."""
1822
return f"Config for {project_name} v{version} created"
1923

0 commit comments

Comments
 (0)