b31d8d0096
- Added migration to harden task audit tracking by modifying audit_logs and related tables. - Introduced operator_id to several tables for better tracking of actions. - Updated article_templates with new prompt templates for various article types, enhancing content generation. - Created prompt_rules and schedule_tasks tables to manage content generation rules and scheduling. - Added foreign key constraints to articles for better data integrity.
48 lines
762 B
YAML
48 lines
762 B
YAML
server:
|
|
port: 8080
|
|
mode: debug
|
|
|
|
database:
|
|
host: localhost
|
|
port: 5432
|
|
user: geo
|
|
password: geo_dev
|
|
dbname: geo
|
|
sslmode: disable
|
|
max_open_conns: 25
|
|
max_idle_conns: 5
|
|
|
|
redis:
|
|
addr: localhost:6379
|
|
db: 0
|
|
|
|
cache:
|
|
driver: redis
|
|
|
|
jwt:
|
|
secret: "dev-secret-change-in-production"
|
|
access_ttl: 15m
|
|
refresh_ttl: 168h
|
|
|
|
log:
|
|
level: debug,info,warn,error
|
|
format: json
|
|
|
|
llm:
|
|
provider: ark
|
|
base_url: https://ark.cn-beijing.volces.com/api/v3
|
|
api_key: "7fb6c66b-129c-4935-9617-709236c4205a"
|
|
model: doubao-seed-2-0-lite-260215
|
|
timeout: 2m
|
|
max_output_tokens: 16000
|
|
temperature: 0.7
|
|
reasoning_effort: minimal
|
|
web_search_limit: 3
|
|
|
|
generation:
|
|
queue_size: 128
|
|
worker_concurrency: 1
|
|
stream_enabled: false
|
|
article_timeout: 8m
|
|
|