Add "code" field to GoogleGenerativeAIComponent
This commit is contained in:
parent
e212d83f6a
commit
0442c7d42a
1 changed files with 3 additions and 0 deletions
|
|
@ -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(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue