bohesocool commited on
Commit
7fe13ba
·
unverified ·
1 Parent(s): ac90e83

修改检测用户消息长度

Browse files
Files changed (1) hide show
  1. api/main.go +1 -1
api/main.go CHANGED
@@ -24,7 +24,7 @@ type TokenCount struct {
24
  }
25
 
26
  const (
27
- MaxContextTokens = 2500 // 最大上下文 token 数
28
  )
29
 
30
  // YouChatResponse 定义了从 You.com API 接收的单个 token 的结构。
 
24
  }
25
 
26
  const (
27
+ MaxContextTokens = 1800 // 最大上下文 token 数
28
  )
29
 
30
  // YouChatResponse 定义了从 You.com API 接收的单个 token 的结构。