Skip to content

Commit 40019a9

Browse files
committed
format
Change-Id: I51110cf338bd61d8cf40b3e73ece12b34c951d0c
1 parent 3186084 commit 40019a9

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

google/generativeai/responder.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,4 +92,3 @@ def _rename_schema_fields(schema: dict[str, Any]):
9292
schema["properties"] = {k: _rename_schema_fields(v) for k, v in properties.items()}
9393

9494
return schema
95-

google/generativeai/types/content_types.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -484,6 +484,7 @@ def strip_titles(schema):
484484
if items is not None:
485485
strip_titles(items)
486486

487+
487488
def strip_additional_properties(schema):
488489
schema.pop("additionalProperties", None)
489490

@@ -496,6 +497,7 @@ def strip_additional_properties(schema):
496497
if items is not None:
497498
strip_additional_properties(items)
498499

500+
499501
def add_object_type(schema):
500502
properties = schema.get("properties", None)
501503
if properties is not None:

0 commit comments

Comments
 (0)