refactor: disable maxGenTokens feature in newChatStore

This commit is contained in:
2024-09-19 09:40:00 +08:00
parent e09036860f
commit 3cc80fd8fe

View File

@@ -103,7 +103,7 @@ export const newChatStore = (
models[getDefaultParams("model", model)]?.maxToken ?? 2048
),
maxGenTokens: 2048,
maxGenTokens_enabled: true,
maxGenTokens_enabled: false,
apiKey: getDefaultParams("key", apiKey),
apiEndpoint: getDefaultParams("api", apiEndpoint),
streamMode: getDefaultParams("mode", streamMode),