| 限定符和类型 | 常量字段 | 值 |
|---|---|---|
public static final String |
KIMI_BASE_URL |
"https://api.moonshot.cn/v1" |
| 限定符和类型 | 常量字段 | 值 |
|---|---|---|
public static final String |
ERROR |
"error" |
public static final String |
INACTIVE |
"inactive" |
public static final String |
PENDING |
"pending" |
public static final String |
READY |
"ready" |
| 限定符和类型 | 常量字段 | 值 |
|---|---|---|
public static final String |
Msh_Context_Cache_Id |
"Msh-Context-Cache-Id" |
public static final String |
Msh_Context_Cache_Token_Exp |
"Msh-Context-Cache-Token-Exp" |
public static final String |
Msh_Context_Cache_Token_Saved |
"Msh-Context-Cache-Token-Saved" |
| 限定符和类型 | 常量字段 | 值 |
|---|---|---|
public static final String |
LENGTH |
"length" |
public static final String |
STOP |
"stop" |
public static final String |
TOOL_CALLS |
"tool_calls" |
| 限定符和类型 | 常量字段 | 值 |
|---|---|---|
public static final String |
MOONSHOT_V1_128K |
"moonshot-v1-128k" |
public static final String |
MOONSHOT_V1_32K |
"moonshot-v1-32k" |
public static final String |
MOONSHOT_V1_8K |
"moonshot-v1-8k" |
| 限定符和类型 | 常量字段 | 值 |
|---|---|---|
public static final String |
FUNCTION |
"function" |
public static final String |
OBJECT |
"object" |
public static final String |
STRING |
"string" |
| 限定符和类型 | 常量字段 | 值 |
|---|---|---|
private static final String |
BASE64_PATTERN |
"^([A-Za-z0-9+/]{4})*([A-Za-z0-9+/]{4}|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{2}==)$" |
| 限定符和类型 | 常量字段 | 值 |
|---|---|---|
public static final String |
VERIFY_CODES |
"23456789ABCDEFGHJKLMNPQRSTUVWXYZ" |
Copyright © 2024. All rights reserved.