You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: restore BRAINTRUST_ENABLE_TRACE_CONSOLE_LOG support lost in v0.1 migration (#67)
The v0.1 API migration (59f102a) deleted the old env.go which read this
env var, but the new config/config.go never re-added it. The trace layer
still had the implementation but client.go hardcoded it to false.
- Add EnableTraceConsoleLog field to config.Config
- Read BRAINTRUST_ENABLE_TRACE_CONSOLE_LOG env var in FromEnv()
- Add WithEnableTraceConsoleLog option
- Wire config value through client.go instead of hardcoding false
- Rename trace.Config.EnableConsoleLog to EnableTraceConsoleLog for consistency
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-authored-by: Abhijeet Prasad <abhijeet@braintrustdata.com>
0 commit comments