goose icon indicating copy to clipboard operation
goose copied to clipboard

`--quiet` doesn't suppress non-responce output

Open veged opened this issue 1 month ago • 1 comments

Describe the bug

There is also some info about recipe params:

% goose run --recipe page-slug.goose.yaml --params path="root/page/subpage" --params title="My Super Title" --quiet
Loading recipe: Page Slug Generator
Parameters used to load this recipe:
   path: root/page/subpage
   title: My Super Title

my-super-title
% goose run --recipe page-slug.goose.yaml --params path="root/page/subpage" --params title="My Super Title" --quiet | pbcopy 
Loading recipe: Practicum Page Slug Generator
Parameters used to load this recipe:

% pbpaste
   title: My Super Title
   path: root/page/subpage
my-super-title

To Reproduce Steps to reproduce the behavior:

  1. Write any recipe with params
  2. Run it with --quiet
  3. See some non-responce output about params

Expected behavior Only last line in output

Please provide following information:

  • OS & Arch: macOS, M3
  • Interface: CLI
  • Version: 1.12.1
  • Extensions enabled: no
  • Provider & Model: any

veged avatar Nov 01 '25 22:11 veged

I agree this should respect the --quiet, but meanwhile, I think we have two things that could help. we have the final output for recipes that reports the results of a recipe as the last line as a jsonl. and also I think these things are all send to stderr, so if you just want to capture the results, that is a way to do it.

does that work?

DOsinga avatar Nov 03 '25 18:11 DOsinga

Here's a quick fix: https://github.com/block/goose/pull/5743

But +1 on the structured output workaround. I did something like this for one of my recipes with a single output.

https://github.com/block/goose-discord/blob/main/recipes/goose_help_mcp.yaml#L42 and then extracted that key.

Structured output is very useful in general vs just relying on the last llm message.

katzdave avatar Nov 14 '25 18:11 katzdave