LLM Troubleshooting
Debugging HTTP Calls
Overview
Instructor PHP provides a way to debug HTTP calls made to LLM APIs via Debug::enable()
method.
Debug::enable()
works globally, it turns on dumping all HTTP requests and responses to the console.
NOTE: Currently
Debug::enable()
is only supported by Guzzle HTTP client.