Spaces:
Configuration error
Configuration error
bohesocool
commited on
Update main.go
Browse files- api/main.go +1 -1
api/main.go
CHANGED
|
@@ -24,7 +24,7 @@ type TokenCount struct {
|
|
| 24 |
}
|
| 25 |
|
| 26 |
const (
|
| 27 |
-
MaxContextTokens =
|
| 28 |
)
|
| 29 |
|
| 30 |
// YouChatResponse 定义了从 You.com API 接收的单个 token 的结构。
|
|
|
|
| 24 |
}
|
| 25 |
|
| 26 |
const (
|
| 27 |
+
MaxContextTokens = 2500 // 最大上下文 token 数
|
| 28 |
)
|
| 29 |
|
| 30 |
// YouChatResponse 定义了从 You.com API 接收的单个 token 的结构。
|