We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b7e809 commit 89486dcCopy full SHA for 89486dc
google/generativeai/types/generation_types.py
@@ -449,7 +449,7 @@ def text(self):
449
language = ""
450
else:
451
language = f" {language}"
452
- texts.extend([f"```{language}", part.executable_code.code.lstrip('\n'), "```"])
+ texts.extend([f"```{language}", part.executable_code.code.lstrip("\n"), "```"])
453
continue
454
if "code_execution_result" in part:
455
outcome_result = part.code_execution_result.outcome.name.lower().replace(
0 commit comments