ui logs - view messages / responses

This commit is contained in:
Ishaan Jaff
2025-01-17 20:20:43 -08:00
parent 80f7af510b
commit bc311b7a47
2 changed files with 47 additions and 0 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 266 KiB

@@ -0,0 +1,47 @@
---
title: v1.59.0
slug: v1.59.0
date: 2025-01-17T10:00:00
authors:
- name: Krrish Dholakia
title: CEO, LiteLLM
url: https://www.linkedin.com/in/krish-d/
image_url: https://media.licdn.com/dms/image/v2/C5103AQHYMXJfHTf4Ng/profile-displayphoto-shrink_800_800/profile-displayphoto-shrink_800_800/0/1517455593871?e=1741824000&v=beta&t=udmat6jS-s3EQZp1DTykf7NZmf-3sefD_I9B1aMjE5Y
- name: Ishaan Jaffer
title: CTO, LiteLLM
url: https://www.linkedin.com/in/reffajnaahsi/
image_url: https://media.licdn.com/dms/image/v2/D4D03AQGiM7ZrUwqu_Q/profile-displayphoto-shrink_800_800/profile-displayphoto-shrink_800_800/0/1675971026692?e=1741824000&v=beta&t=eQnRdXPJo4eiINWTZARoYTfqh064pgZ-E21pQTSy8jc
tags: [admin ui, logging, db schema]
hide_table_of_contents: false
---
import Image from '@theme/IdealImage';
# v1.59.0
:::info
Get a 7 day free trial for LiteLLM Enterprise [here](https://litellm.ai/#trial).
**no call needed**
:::
## UI Improvements
### [Opt In] Admin UI - view messages / responses
You can now view messages and response logs on Admin UI.
<Image img={require('../../img/release_notes/ui_logs.png')} />
How to enable it - add `store_prompts_in_spend_logs: true` to your `proxy_config.yaml`
Once this flag is enabled, your `messages` and `responses` will be stored in the `LiteLLM_Spend_Logs` table.
```yaml
general_settings:
store_prompts_in_spend_logs: true
```