fabro/lib/foundation/fabro-model/Cargo.toml
Bryan Helmkamp 32d6be7ea5
refactor(model): simplify model test plumbing
Review cleanups for the tools/reasoning-effort model test change:

- Extract a shared parse_query_enum helper in the models handler in
  place of two copy-pasted parse-or-400 match blocks.
- Collapse the duplicated basic-probe pipeline in fabro-llm behind a
  single basic_probe core; name the shared EXPANDED_MAX_TOKENS budget.
- Pass &ModelTestArgs to test_models_via_server instead of threading
  five of its fields positionally.
- Dedupe the two forwarding CLI integration tests behind a helper.
- Derive clap::ValueEnum for ReasoningEffort behind a feature-gated
  clap dep (same pattern as MergeStrategy in fabro-types) so --help,
  cli.mdx, and error output list effort values from the enum instead
  of a hand-written list that drifts.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TDdjG18d2AHh7mFWXFkBLn
2026-08-25 14:49:34 -04:00

31 lines
609 B
TOML

[package]
name = "fabro-model"
edition.workspace = true
version.workspace = true
publish = false
license.workspace = true
description = "LLM model catalog: provider identity, model metadata, and resolution"
[lib]
doctest = false
[lints]
workspace = true
[features]
clap = ["dep:clap"]
[dependencies]
clap = { workspace = true, optional = true }
fabro-static.workspace = true
http = "1"
rust-embed.workspace = true
serde.workspace = true
serde_json.workspace = true
strum.workspace = true
thiserror.workspace = true
toml.workspace = true
tracing.workspace = true
[dev-dependencies]
insta.workspace = true