Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/groundlight/internalapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ def call_api(self, *args, **kwargs):
# Note we don't look for header_param in kwargs here, because this method is only called in one place
# in the generated code, so we can afford to make this brittle.
header_param = args[4] # that's the number in the list
if not header_param:
if header_param is None:
# This will never happen in normal usage.
logger.warning("Can't set request-id because headers not set")
elif not header_param.get(self.REQUEST_ID_HEADER, None):
Expand Down
Loading