max_token save 10000

This commit is contained in:
2026-07-24 12:06:13 +08:00
parent a445198ecb
commit e55077a833
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -307,7 +307,7 @@ class Settings(BaseSettings):
SHOT_ANALYSIS_ACTIVE_REDIS_ZSET_KEY: str = "vg:celery:shot_analysis:active_index"
SHOT_ANALYSIS_LOCK_KEY_PREFIX: str = "vg:lock:shot_analysis"
SHOT_ANALYSIS_TEMPERATURE: float = 0.1
SHOT_ANALYSIS_MAX_TOKENS: int = 5000
SHOT_ANALYSIS_MAX_TOKENS: int = 10000
SHOT_ANALYSIS_VIDEO_FPS: float = 1.0
SHOT_ANALYSIS_MAX_LOCAL_VIDEO_MB: int = 45
@@ -1628,7 +1628,7 @@ async def optimize_hot_opening_video_prompt(
request_data = {
"model": config.model_name,
"messages": [{"role": "system", "content": build_system_prompt()}, user_message],
"max_tokens": 6000,
"max_tokens": 10000,
"temperature": 0.15,
"response_format": {"type": "json_object"},
}