Add "code" field to GoogleGenerativeAIComponent

This commit is contained in:
Gabriel Luiz Freitas Almeida 2023-12-13 21:15:22 -03:00
commit 0442c7d42a

View file

@ -46,6 +46,9 @@ class GoogleGenerativeAIComponent(CustomComponent):
info="The name of the model to use. Supported examples: gemini-pro", info="The name of the model to use. Supported examples: gemini-pro",
options=["gemini-pro", "gemini-pro-vision"], options=["gemini-pro", "gemini-pro-vision"],
), ),
"code": TemplateField(
advanced=True,
),
} }
def build( def build(