Skip to content

canary: --input flag silently ignored in create_canary #515

@noahgift

Description

@noahgift

Bug

create_canary() at line 195 of canary.rs accepts _input_path: &Path (underscore prefix = unused). The --input flag is documented and accepted by the CLI but the reference input is never used.

Affected Code

  • Line 195: fn create_canary(model_path: &Path, _input_path: &Path, output_path: &Path)
  • Line 103: create_canary(&file, &input, &output) passes input from CLI
  • Lines 198-201: Only model_path and output_path are used/displayed

Expected

Either use the input file for canary reference data, or reject the flag with an error if not implemented.

Actual

apr canary create model.gguf --input ref.wav --output canary.json silently ignores ref.wav.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions