mirror of
https://github.com/yangjian102621/geekai.git
synced 2025-11-14 21:23:44 +08:00
add Makefile, fixed websocket url for https
This commit is contained in:
22
config.sample.toml
Normal file
22
config.sample.toml
Normal file
@@ -0,0 +1,22 @@
|
||||
Listen = "0.0.0.0:5678"
|
||||
ProxyURL = "http://127.0.0.1:7890"
|
||||
EnableAuth = false
|
||||
Tokens = [""]
|
||||
|
||||
[Session]
|
||||
SecretKey = "azyehq3ivunjhbntz78isj00i4hz2mt9xtddysfucxakadq4qbfrt0b7q3lnvg80"
|
||||
Name = "CHAT_SESSION_ID"
|
||||
Path = "/"
|
||||
Domain = ""
|
||||
MaxAge = 86400
|
||||
Secure = true
|
||||
HttpOnly = false
|
||||
SameSite = 4
|
||||
|
||||
[Chat]
|
||||
ApiURL = "https://api.openai.com/v1/chat/completions"
|
||||
ApiKeys = ["xxx"]
|
||||
Model = "gpt-3.5-turbo"
|
||||
Temperature = 1.0
|
||||
MaxTokens = 1024
|
||||
EnableContext = true
|
||||
Reference in New Issue
Block a user