Skip to content

Commit

Permalink
refactor: disable maxGenTokens feature in newChatStore
Browse files Browse the repository at this point in the history
  • Loading branch information
heimoshuiyu committed Sep 19, 2024
1 parent e090368 commit 3cc80fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit 3cc80fd

Please sign in to comment.