Skip to content

Commit c322174

Browse files
committed
fix: remove redundant bool cast
1 parent 20d9a66 commit c322174

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/f5_ai_gateway_sdk/result.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ def validate_allowed(self, processor_name: str, annotate: bool, modify: bool):
8181
self.modified_prompt = None
8282
self.modified_response = None
8383

84-
if bool(self.tags) and not annotate:
84+
if self.tags and not annotate:
8585
logging.warning(
8686
"%s tried to annotate request with tags when parameters.annotate was set to false, tags will be dropped",
8787
processor_name,

0 commit comments

Comments
 (0)