fix: max param on newChatStore()
This commit is contained in:
@@ -297,7 +297,7 @@ export function App() {
|
|||||||
const sys = getDefaultParams("sys", "");
|
const sys = getDefaultParams("sys", "");
|
||||||
const mode = getDefaultParams("mode", "");
|
const mode = getDefaultParams("mode", "");
|
||||||
const model = getDefaultParams("model", "");
|
const model = getDefaultParams("model", "");
|
||||||
const max = getDefaultParams("max", chatStore.maxTokens || 2048);
|
const max = getDefaultParams("max", 0);
|
||||||
// only create new chatStore if the params in URL are NOT
|
// only create new chatStore if the params in URL are NOT
|
||||||
// equal to the current selected chatStore
|
// equal to the current selected chatStore
|
||||||
if (
|
if (
|
||||||
|
|||||||
Reference in New Issue
Block a user