fix: add into to not required
This commit is contained in:
parent
c9200c94e3
commit
a81cc1d81e
2 changed files with 3 additions and 1 deletions
|
|
@ -286,6 +286,7 @@ def format_dict(d, name: Optional[str] = None):
|
|||
"temperature",
|
||||
"model_name",
|
||||
"headers",
|
||||
"max_value_length",
|
||||
]
|
||||
or "api_key" in key
|
||||
)
|
||||
|
|
|
|||
|
|
@ -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)" : "")}>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue