Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/google/adk/cli/cli_tools_click.py
Original file line number Diff line number Diff line change
Expand Up @@ -701,6 +701,7 @@ def cli_eval(
separated list of eval names and then add that as a suffix to the eval set
file name, demarcated by a `:`.

\b
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

While adding \b on its own line works to prevent re-wrapping, it will also introduce an extra newline in the help output before "For example...". This is because after stripping \b, the paragraph starts with a newline character (\n).

To fix the wrapping without adding an extra blank line, you should remove this line and instead place \b at the beginning of the following line, like this:

  \bFor example, we have `sample_eval_set_file.json` file that has following the

For example, we have `sample_eval_set_file.json` file that has following the
eval cases:
sample_eval_set_file.json:
Expand All @@ -721,6 +722,7 @@ def cli_eval(
separated list of eval names and then add that as a suffix to the eval set
file name, demarcated by a `:`.

\b
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

Similar to my previous comment, adding \b on its own line here will introduce an extra newline in the help output.

To avoid this, please remove this line and add \b to the beginning of the next line:

  \bFor example, we have `sample_eval_set_id` that has following the eval cases:

For example, we have `sample_eval_set_id` that has following the eval cases:
sample_eval_set_id:
|....... eval_1
Expand All @@ -729,6 +731,7 @@ def cli_eval(
|....... eval_4
|....... eval_5

\b
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

Similar to my other comments, adding \b on its own line here will introduce an extra newline in the help output.

To avoid this, please remove this line and add \b to the beginning of the next line:

  \bIf we did:

If we did:
sample_eval_set_id:eval_1,eval_2,eval_3

Expand Down