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",
|
"temperature",
|
||||||
"model_name",
|
"model_name",
|
||||||
"headers",
|
"headers",
|
||||||
|
"max_value_length",
|
||||||
]
|
]
|
||||||
or "api_key" in key
|
or "api_key" in key
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -63,7 +63,8 @@ export default function ParameterComponent({
|
||||||
type === "bool" ||
|
type === "bool" ||
|
||||||
type === "float" ||
|
type === "float" ||
|
||||||
type === "code" ||
|
type === "code" ||
|
||||||
type === "file") ? (
|
type === "file" ||
|
||||||
|
type === "int") ? (
|
||||||
<></>
|
<></>
|
||||||
) : (
|
) : (
|
||||||
<Tooltip title={tooltipTitle + (required ? " (required)" : "")}>
|
<Tooltip title={tooltipTitle + (required ? " (required)" : "")}>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue