fix: Increase the Max Tokens limit
This commit is contained in:
@@ -178,7 +178,7 @@ function ApiFields({ apiSlug, isUserApi, deleteApi }) {
|
|||||||
reqHook = "",
|
reqHook = "",
|
||||||
resHook = "",
|
resHook = "",
|
||||||
temperature = 0,
|
temperature = 0,
|
||||||
maxTokens = 256,
|
maxTokens = 20480,
|
||||||
apiName = "",
|
apiName = "",
|
||||||
isDisabled = false,
|
isDisabled = false,
|
||||||
useBatchFetch = false,
|
useBatchFetch = false,
|
||||||
@@ -292,13 +292,13 @@ function ApiFields({ apiSlug, isUserApi, deleteApi }) {
|
|||||||
<ValidationInput
|
<ValidationInput
|
||||||
size="small"
|
size="small"
|
||||||
fullWidth
|
fullWidth
|
||||||
label={"Max Tokens"}
|
label={"Max Tokens (0-1000000)"}
|
||||||
type="number"
|
type="number"
|
||||||
name="maxTokens"
|
name="maxTokens"
|
||||||
value={maxTokens}
|
value={maxTokens}
|
||||||
onChange={handleChange}
|
onChange={handleChange}
|
||||||
min={0}
|
min={0}
|
||||||
max={2 ** 15}
|
max={1000000}
|
||||||
/>
|
/>
|
||||||
</Grid>
|
</Grid>
|
||||||
<Grid item xs={12} sm={12} md={6} lg={3}></Grid>
|
<Grid item xs={12} sm={12} md={6} lg={3}></Grid>
|
||||||
|
|||||||
Reference in New Issue
Block a user