bilisum 1.20.1-alpha.2 → 1.21.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/runtime/VERSION +1 -1
- package/runtime/apps/service/pyproject.toml +1 -1
- package/runtime/apps/service/src/video_sum_service/integrations.py +15 -2
- package/runtime/apps/service/src/video_sum_service/repository.py +440 -46
- package/runtime/apps/service/src/video_sum_service/routers/videos.py +214 -9
- package/runtime/apps/service/src/video_sum_service/runtime_startup.py +13 -1
- package/runtime/apps/service/src/video_sum_service/runtime_support.py +8 -1
- package/runtime/apps/service/src/video_sum_service/schemas.py +53 -1
- package/runtime/apps/service/src/video_sum_service/settings_manager.py +51 -1
- package/runtime/apps/service/src/video_sum_service/video_assets.py +9 -1
- package/runtime/apps/service/src/video_sum_service/worker.py +504 -11
- package/runtime/apps/web/static/assets/index-Cy2DCjRI.css +1 -0
- package/runtime/apps/web/static/assets/index-JAl9T1Mn.js +357 -0
- package/runtime/apps/web/static/index.html +2 -2
- package/runtime/packages/core/pyproject.toml +1 -1
- package/runtime/packages/core/src/video_sum_core/pipeline/base.py +39 -0
- package/runtime/packages/core/src/video_sum_core/pipeline/real.py +270 -123
- package/runtime/packages/infra/pyproject.toml +1 -1
- package/runtime/packages/infra/src/video_sum_infra/config.py +44 -1
- package/runtime/packages/infra/src/video_sum_infra/llm.py +42 -0
- package/runtime/apps/web/static/assets/index-C7oXjkaa.js +0 -357
- package/runtime/apps/web/static/assets/index-yuQWwUSR.css +0 -1
package/package.json
CHANGED
package/runtime/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.21.0
|
|
@@ -16,6 +16,7 @@ from fastapi import HTTPException
|
|
|
16
16
|
from video_sum_infra.config import ServiceSettings
|
|
17
17
|
from video_sum_infra.llm import (
|
|
18
18
|
ANTHROPIC_API_VERSION,
|
|
19
|
+
apply_openai_reasoning_settings,
|
|
19
20
|
anthropic_messages_url,
|
|
20
21
|
build_anthropic_messages_payload,
|
|
21
22
|
extract_llm_message_content,
|
|
@@ -362,7 +363,13 @@ def probe_llm_connection(payload: SettingsUpdatePayload | None = None) -> dict[s
|
|
|
362
363
|
"Content-Type": "application/json",
|
|
363
364
|
}
|
|
364
365
|
request_url = openai_chat_completions_url(base_url)
|
|
365
|
-
request_json =
|
|
366
|
+
request_json = apply_openai_reasoning_settings(
|
|
367
|
+
request_payload,
|
|
368
|
+
thinking_type=effective_settings.llm_thinking_type,
|
|
369
|
+
reasoning_effort=effective_settings.llm_reasoning_effort,
|
|
370
|
+
provider=effective_settings.llm_provider,
|
|
371
|
+
model=model,
|
|
372
|
+
)
|
|
366
373
|
request_json["model"] = normalize_openai_compatible_model_name(model)
|
|
367
374
|
elif use_anthropic:
|
|
368
375
|
headers = {
|
|
@@ -378,7 +385,13 @@ def probe_llm_connection(payload: SettingsUpdatePayload | None = None) -> dict[s
|
|
|
378
385
|
"Content-Type": "application/json",
|
|
379
386
|
}
|
|
380
387
|
request_url = openai_chat_completions_url(base_url)
|
|
381
|
-
request_json =
|
|
388
|
+
request_json = apply_openai_reasoning_settings(
|
|
389
|
+
request_payload,
|
|
390
|
+
thinking_type=effective_settings.llm_thinking_type,
|
|
391
|
+
reasoning_effort=effective_settings.llm_reasoning_effort,
|
|
392
|
+
provider=effective_settings.llm_provider,
|
|
393
|
+
model=model,
|
|
394
|
+
)
|
|
382
395
|
|
|
383
396
|
probe_timeout = 120 if test_scope == "visual" else 30
|
|
384
397
|
try:
|