首次提交:初始化项目代码
This commit is contained in:
@@ -0,0 +1,60 @@
|
||||
server:
|
||||
host: "0.0.0.0"
|
||||
port: 8090
|
||||
mode: "release"
|
||||
debug: true
|
||||
|
||||
database:
|
||||
type: "sqlite"
|
||||
path: "./data/resume.db"
|
||||
password: "resume@2024"
|
||||
|
||||
auth:
|
||||
enabled: true
|
||||
username: "admin"
|
||||
password: "admin123456"
|
||||
admin_path: "/my-secret-admin-123"
|
||||
max_login_attempts: 5
|
||||
lockout_duration: 15
|
||||
|
||||
template:
|
||||
default: "modern"
|
||||
|
||||
log:
|
||||
level: "info"
|
||||
output: "./logs/app.log"
|
||||
|
||||
ai:
|
||||
provider: "spark"
|
||||
enabled: true
|
||||
spark:
|
||||
app_id: "a146c363"
|
||||
api_key: "1ba519d8cfb20f2732424f2a5ea8e630"
|
||||
api_secret: "OTAwZGI3YjFjZjM2NmZmMzE0YjQxZWM2"
|
||||
api_password: "OjAdJyOqCVmVYUFyaQJq:GQZNWpiVJTytmiSWuaTq"
|
||||
base_url: "wss://spark-api.xf-yun.com/v1.1/chat"
|
||||
model: "lite"
|
||||
max_tokens: 10000
|
||||
timeout: 30
|
||||
web_search: false
|
||||
show_ref_label: false
|
||||
|
||||
|
||||
tongyi:
|
||||
api_key: ""
|
||||
base_url: "https://dashscope.aliyuncs.com/api/v1"
|
||||
model: "qwen-turbo"
|
||||
max_tokens: 10000
|
||||
timeout: 30
|
||||
doubao:
|
||||
api_key: ""
|
||||
base_url: "https://api.doubao.com/v1"
|
||||
model: "Doubao"
|
||||
max_tokens: 10000
|
||||
timeout: 30
|
||||
deepseek:
|
||||
api_key: ""
|
||||
base_url: "https://api.deepseek.com/v1"
|
||||
model: "deepseek-chat"
|
||||
max_tokens: 10000
|
||||
timeout: 30
|
||||
Reference in New Issue
Block a user