21 lines
435 B
Go
21 lines
435 B
Go
package constants
|
|
|
|
type Caller string
|
|
|
|
const (
|
|
CallerZltx Caller = "zltx" // 直连天下
|
|
CallerHyt Caller = "hyt" // 货易通
|
|
|
|
// 角色, 系统角色,用户角色
|
|
RoleSystem Caller = "system" // 系统角色
|
|
RoleUser Caller = "user" // 用户角色
|
|
RoleAssistant Caller = "assistant" // 助手角色
|
|
|
|
// 分页默认条数
|
|
ChatHistoryLimit = 10
|
|
)
|
|
|
|
func (c Caller) String() string {
|
|
return string(c)
|
|
}
|