Disable Logfire scrubbing in evaluations

This commit is contained in:
Yiorgis Gozadinos 2026-06-08 11:42:16 +03:00
parent e9bd56467c
commit 295570797c
No known key found for this signature in database
2 changed files with 6 additions and 1 deletions

View file

@ -4,6 +4,7 @@
### Changed
- Bump `haiku.skills>=0.17.2`: skill runs use a retry budget of 3 for tool calls and output validation (was 1).
- Evaluations disable Logfire scrubbing (`scrubbing=False`) so financial answers containing words like "authorized" aren't redacted from logged outputs.
### Added

View file

@ -40,7 +40,11 @@ load_dotenv(find_dotenv(usecwd=True))
HF_REPO_ID = "ggozad/haiku-rag-eval-dbs"
logfire.configure(send_to_logfire="if-token-present", service_name="evals")
# Scrubbing off: eval outputs are financial answers with words like "authorized"
# that trip Logfire's secret scrubber and redact the model's answer text.
logfire.configure(
send_to_logfire="if-token-present", service_name="evals", scrubbing=False
)
logfire.instrument_pydantic_ai()
configure_cli_logging()
console = Console()