ajust time span

This commit is contained in:
2026-08-18 21:16:43 +08:00
parent 1fb3146590
commit 7556fd0a7e
4 changed files with 19 additions and 2 deletions

View File

@@ -24,6 +24,7 @@ class Settings:
moss_model: str
moss_timeout_seconds: float
moss_max_new_tokens: int
moss_end_padding_ms: int
pass_score: float
@classmethod
@@ -51,6 +52,7 @@ class Settings:
),
moss_timeout_seconds=float(os.getenv("MOSS_TIMEOUT_SECONDS", "1800")),
moss_max_new_tokens=int(os.getenv("MOSS_MAX_NEW_TOKENS", "65536")),
moss_end_padding_ms=int(os.getenv("MOSS_END_PADDING_MS", "300")),
pass_score=float(os.getenv("ASSESSMENT_PASS_SCORE", "70")),
)