- To view request and response details, enable prompt storage in your LiteLLM configuration by adding the
- following to your proxy_config.yaml file, or
- toggle the setting in Admin Settings → Logging Settings.
-
- {`general_settings:
+ {promptStorageEnabled ? (
+
+ Prompt storage is enabled, but no request or response payload was recorded for this request. This usually
+ means the payload was never captured rather than that storage is misconfigured, for example when a request
+ failed before the payload was stored (such as a streaming request whose upstream call errored), or when the
+ payload was written through a different logging integration. Check the request status and any error details
+ above to see what happened.
+
+ ) : (
+ <>
+
+ To view request and response details, enable prompt storage in your LiteLLM configuration by adding the
+ following to your proxy_config.yaml file, or
+ toggle the setting in Admin Settings → Logging Settings.
+
+
+ {`general_settings:
store_model_in_db: true
store_prompts_in_spend_logs: true`}
-
-
- Note: This will only affect new requests after the configuration change.
-
+
+ + Note: This will only affect new requests after the configuration change. +
+ > + )}