Skip to content

Commit

Permalink
fix: failure in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lukealvoeiro committed Sep 3, 2024
1 parent e55f495 commit dc4e28d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/goose/cli/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@ def toolkit() -> None:
def list_toolkits() -> None:
print("[green]Available toolkits:[/green]")
for toolkit_name, toolkit in load_plugins("goose.toolkit").items():
print(f" - [bold]{toolkit_name}[/bold]: {toolkit.__doc__.split('\n')[0]}")
first_line_of_doc = toolkit.__doc__.split("\n")[0]
print(f" - [bold]{toolkit_name}[/bold]: {first_line_of_doc}")


@session.command(name="start")
Expand Down

0 comments on commit dc4e28d

Please sign in to comment.