mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-06 02:48:13 +00:00
fix silent skip prompt id
This commit is contained in:
parent
56fab12fbe
commit
82f9ad1061
1 changed files with 1 additions and 1 deletions
|
|
@ -1081,7 +1081,7 @@ class ProxyLogging:
|
|||
prompt_spec = IN_MEMORY_PROMPT_REGISTRY.get_prompt_by_id(lookup_prompt_id)
|
||||
litellm_prompt_id: Optional[str] = None
|
||||
if prompt_spec is not None:
|
||||
litellm_prompt_id = prompt_spec.litellm_params.prompt_id
|
||||
litellm_prompt_id = prompt_spec.litellm_params.prompt_id or prompt_id
|
||||
data.pop("prompt_id", None)
|
||||
|
||||
if custom_logger and prompt_spec is not None:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue