tmc / langchaingo

LangChain for Go, the easiest way to write LLM-based programs in Go
https://tmc.github.io/langchaingo/
MIT License
3.75k stars 521 forks source link

httputil: debug transport layer #845

Closed AugustDev closed 2 weeks ago

AugustDev commented 1 month ago

Debug transport layer

Inspired by httputil example. I find it very useful to be able to see transport layer body logs. It will continue being useful until we have good observability.

Request = blue Response = green

image

PR Checklist

tmc commented 2 weeks ago

Would be nice to (optionally?) include this in a/the example.