feat: add claude backend, refactor summary utilities, improve batch worker pattern, add pymupdf4llm
This commit is contained in:
@@ -29,8 +29,10 @@ class Settings(BaseSettings):
|
||||
HTTP_USER_AGENT: str = "hf-daily-papers-local/0.1"
|
||||
|
||||
# AI 总结
|
||||
SUMMARY_BACKEND: str = "pi" # "pi" | "claude"
|
||||
PI_BIN: str = ""
|
||||
SUMMARY_SKILL: str = "daily-paper-summary"
|
||||
CLAUDE_BIN: str = "claude"
|
||||
SUMMARY_CONCURRENCY: int = 3
|
||||
SUMMARY_TIMEOUT_SECONDS: int = 1200
|
||||
SUMMARY_MAX_RETRIES: int = 2
|
||||
|
||||
Reference in New Issue
Block a user