Skip to content

Commit 6041ebe

Browse files
committed
review
1 parent 3d8268f commit 6041ebe

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

nemoguardrails/actions/v2_x/generation.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -457,9 +457,7 @@ async def passthrough_llm_action(
457457

458458
generation_options: GenerationOptions = generation_options_var.get()
459459

460-
generation_llm_params = (
461-
generation_options and generation_options.llm_params
462-
) or {}
460+
generation_llm_params = generation_options and generation_options.llm_params
463461
text = await llm_call(
464462
llm,
465463
user_message,

0 commit comments

Comments
 (0)