fix: add into to not required

This commit is contained in:
Gabriel Almeida 2023-03-30 21:33:50 -03:00
commit a81cc1d81e
2 changed files with 3 additions and 1 deletions

View file

@ -286,6 +286,7 @@ def format_dict(d, name: Optional[str] = None):
"temperature",
"model_name",
"headers",
"max_value_length",
]
or "api_key" in key
)

View file

@ -63,7 +63,8 @@ export default function ParameterComponent({
type === "bool" ||
type === "float" ||
type === "code" ||
type === "file") ? (
type === "file" ||
type === "int") ? (
<></>
) : (
<Tooltip title={tooltipTitle + (required ? " (required)" : "")}>