diff --git a/app/store/config.ts b/app/store/config.ts index fb895691c5c..c77edc667c5 100644 --- a/app/store/config.ts +++ b/app/store/config.ts @@ -132,7 +132,7 @@ export const ModalConfigValidator = { return limitNumber(x, -2, 2, 0); }, temperature(x: number) { - return limitNumber(x, 0, 1, 1); + return limitNumber(x, 0, 2, 1); }, top_p(x: number) { return limitNumber(x, 0, 1, 1); diff --git a/next.config.mjs b/next.config.mjs index cd468f55001..67d4869a59a 100644 --- a/next.config.mjs +++ b/next.config.mjs @@ -64,7 +64,7 @@ if (mode !== "export") { nextConfig.rewrites = async () => { const ret = [ - // adjust for previous verison directly using "/api/proxy/" as proxy base route + // adjust for previous version directly using "/api/proxy/" as proxy base route { source: "/api/proxy/v1/:path*", destination: "https://api.openai.com/v1/:path*",