Simon Willison’s Weblog

Subscribe

26th January 2024

TIL Logging OpenAI API requests and responses using HTTPX — My [LLM](https://llm.datasette.io/) tool has a feature where you can set a `LLM_OPENAI_SHOW_RESPONSES` environment variable to see full debug level details of any HTTP requests it makes to the OpenAI APIs.

Recent articles

This is a beat by Simon Willison, posted on 26th January 2024.

Monthly briefing

Sponsor me for $10/month and get a curated email digest of the month's most important LLM developments.

Pay me to send you less!

Sponsor & subscribe