Skip to content

Commit d6acf24

Browse files
committed
nit
1 parent 91dc416 commit d6acf24

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

eval_protocol/proxy/proxy_core/litellm.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,10 @@ async def handle_chat_completion(
9191
# Check if streaming is requested
9292
is_streaming = data.get("stream", False)
9393

94-
# Pop timeout to avoid duplicate kwarg - use client's if provided, else config default
94+
# Pop fields that we pass explicitly to avoid duplicate kwarg errors
9595
request_timeout = data.pop("timeout", None) or config.request_timeout
96+
data.pop("langfuse_public_key", None)
97+
data.pop("langfuse_secret_key", None)
9698

9799
try:
98100
# Make the completion call - pass all params through

0 commit comments

Comments
 (0)