mirror of
https://github.com/yangjian102621/geekai.git
synced 2025-11-12 12:13:46 +08:00
refactor: V3 版本重构已基本完成
This commit is contained in:
35
api/go/config.sample.toml
Normal file
35
api/go/config.sample.toml
Normal file
@@ -0,0 +1,35 @@
|
||||
Title = "Chat-Plus AI 助手"
|
||||
ConsoleTitle = "Chat-Plus 控制台"
|
||||
Listen = "0.0.0.0:5678"
|
||||
ProxyURL = ["YOUR_PROXY_URL"]
|
||||
AccessKey = "YOUR_ACCESS_KEY"
|
||||
|
||||
[Session]
|
||||
SecretKey = "azyehq3ivunjhbntz78isj00i4hz2mt9xtddysfucxakadq4qbfrt0b7q3lnvg80"
|
||||
Name = "CHAT_SESSION_ID"
|
||||
Path = "/"
|
||||
Domain = ""
|
||||
MaxAge = 86400
|
||||
Secure = false
|
||||
HttpOnly = false
|
||||
SameSite = 2
|
||||
|
||||
[ImgURL]
|
||||
WechatCard = "https://img.r9it.com/chatgpt/WX20230505-162403.png"
|
||||
WechatGroup = " https://img.r9it.com/chatgpt/WX20230505-162538.png"
|
||||
|
||||
[Manager]
|
||||
Username = "admin"
|
||||
Password = "admin123"
|
||||
|
||||
[Chat]
|
||||
ApiURL = "https://api.openai.com/v1/chat/completions"
|
||||
Model = "gpt-3.5-turbo"
|
||||
Temperature = 1.0
|
||||
MaxTokens = 1024
|
||||
EnableContext = true
|
||||
ChatContextExpireTime = 3600
|
||||
|
||||
[[Chat.ApiKeys]]
|
||||
Value = "YOUR_OPENAI_API_KEY"
|
||||
LastUsed = 0
|
||||
Reference in New Issue
Block a user