SummaryWhen running evaluations via remote evals, traces may appear minimal compared to CLI evals, and prompts may not be visible in the experiment. This occurs because remote evals run on your infrastructure without Braintrust’s instrumented runner. You can detect execution context using environment variables and hooks.tags to conditionally adjust tracing, logging, or other behavior between CLI and remote eval runs.
This approach requires manually prepending the environment variable to every CLI command. There is no built-in SDK support for execution context detection currently available.
Was this page helpful?
⌘I
Assistant
Responses are generated using AI and may contain mistakes.