feat(migrations): Harden task audit tracking and optimize article templates
- 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.
This commit is contained in:
@@ -25,6 +25,9 @@ llm:
|
||||
timeout: 2m
|
||||
max_output_tokens: 4000
|
||||
temperature: 0.7
|
||||
reasoning_effort: minimal
|
||||
web_search_limit: 3
|
||||
# top_p: 0.95
|
||||
# Prefer environment override for secrets:
|
||||
# export LLM_API_KEY=your-api-key
|
||||
|
||||
@@ -32,3 +35,4 @@ generation:
|
||||
queue_size: 128
|
||||
worker_concurrency: 1
|
||||
stream_enabled: false
|
||||
article_timeout: 8m
|
||||
|
||||
@@ -16,13 +16,16 @@ 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
|
||||
level: debug,info,warn,error
|
||||
format: json
|
||||
|
||||
llm:
|
||||
@@ -31,11 +34,14 @@ llm:
|
||||
api_key: "7fb6c66b-129c-4935-9617-709236c4205a"
|
||||
model: doubao-seed-2-0-lite-260215
|
||||
timeout: 2m
|
||||
max_output_tokens: 4000
|
||||
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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user