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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bilisum",
3
- "version": "1.20.1-alpha.2",
3
+ "version": "1.21.0",
4
4
  "description": "BiliSum CLI: control the installed BiliSum app, or run standalone with its own runtime.",
5
5
  "bin": {
6
6
  "bilisum": "bin/bilisum.js"
package/runtime/VERSION CHANGED
@@ -1 +1 @@
1
- 1.20.1-alpha.2
1
+ 1.21.0
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "video-sum-service"
7
- version = "1.20.1-alpha.2"
7
+ version = "1.21.0"
8
8
  description = "Local backend service for the video summarizer."
9
9
  requires-python = ">=3.12"
10
10
  dependencies = [
@@ -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 = request_payload
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 = request_payload
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: