Skip to content

Commit

Permalink
调整gpt3.5 max_token上限为4096 (#328)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhaijunxiao authored Jun 2, 2023
1 parent c74f546 commit fb2fef1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions web/src/views/chat/components/Session/SessionConfig.vue
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ const tokenUpperLimit = computed(() => {
return Math.floor(1024 * 8)
else if (modelRef.value.chatModel === 'gpt-4-32k')
return Math.floor(32 * 1024)
else if (modelRef.value.chatModel === 'gpt-3.5-turbo')
return Math.floor(4 * 1024)
else if (modelRef.value.chatModel === 'text-davinci-003')
return Math.floor(4 * 1024)
else if (modelRef.value.chatModel === 'claude-v1-100k')
Expand Down

0 comments on commit fb2fef1

Please sign in to comment.