Skip to content

Commit

Permalink
docs(raw_request_prod.md): add seeing raw request / response for prox…
Browse files Browse the repository at this point in the history
…y on docs
  • Loading branch information
krrishdholakia committed Jun 12, 2024
1 parent 2e0dae6 commit fb96f07
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/my-website/docs/observability/raw_request_response.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import Image from '@theme/IdealImage';

See the raw request/response sent by LiteLLM in your logging provider (OTEL/Langfuse/etc.).

**on SDK**
```python
# pip install langfuse
import litellm
Expand Down Expand Up @@ -33,6 +34,13 @@ response = litellm.completion(
)
```

**on Proxy**

```yaml
litellm_settings:
log_raw_request_response: True
```
**Expected Log**
<Image img={require('../../img/raw_request_log.png')}/>

0 comments on commit fb96f07

Please sign in to comment.