repr-cli 0.2.23__py3-none-any.whl → 0.2.24__py3-none-any.whl
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.
- repr/story_synthesis.py +14 -4
- {repr_cli-0.2.23.dist-info → repr_cli-0.2.24.dist-info}/METADATA +1 -1
- {repr_cli-0.2.23.dist-info → repr_cli-0.2.24.dist-info}/RECORD +7 -7
- {repr_cli-0.2.23.dist-info → repr_cli-0.2.24.dist-info}/WHEEL +0 -0
- {repr_cli-0.2.23.dist-info → repr_cli-0.2.24.dist-info}/entry_points.txt +0 -0
- {repr_cli-0.2.23.dist-info → repr_cli-0.2.24.dist-info}/licenses/LICENSE +0 -0
- {repr_cli-0.2.23.dist-info → repr_cli-0.2.24.dist-info}/top_level.txt +0 -0
repr/story_synthesis.py
CHANGED
|
@@ -559,10 +559,20 @@ class StorySynthesizer:
|
|
|
559
559
|
return llm_config["local_model"]
|
|
560
560
|
elif default_mode == "cloud" and llm_config.get("cloud_model"):
|
|
561
561
|
return llm_config["cloud_model"]
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
562
|
+
elif default_mode.startswith("byok:"):
|
|
563
|
+
# BYOK mode - use the provider's configured model
|
|
564
|
+
provider = default_mode.split(":", 1)[1]
|
|
565
|
+
byok_config = llm_config.get("byok", {}).get(provider, {})
|
|
566
|
+
if byok_config.get("model"):
|
|
567
|
+
return byok_config["model"]
|
|
568
|
+
|
|
569
|
+
# Fallback to BYOK model if configured
|
|
570
|
+
byok = llm_config.get("byok", {})
|
|
571
|
+
for provider_config in byok.values():
|
|
572
|
+
if provider_config.get("model"):
|
|
573
|
+
return provider_config["model"]
|
|
574
|
+
|
|
575
|
+
# Fallback to cloud model
|
|
566
576
|
if llm_config.get("cloud_model"):
|
|
567
577
|
return llm_config["cloud_model"]
|
|
568
578
|
except Exception:
|
|
@@ -20,7 +20,7 @@ repr/openai_analysis.py,sha256=Pz3KMT5B91dcHOKPUQlFoMpTKlzjDO5idnmhkyAb6y8,31965
|
|
|
20
20
|
repr/privacy.py,sha256=sN1tkoZjCDSwAjkQWeH6rHaLrtv727yT1HNHQ54GRis,9834
|
|
21
21
|
repr/session_extractor.py,sha256=7rTtce0lnQSHqW92pl5VRY479JW_NKkM_q4Q_vvJ5sk,17591
|
|
22
22
|
repr/storage.py,sha256=y_EYYKrUD2qNRKK2_vdjsIlPIq-IzfaNMUyj9aHofpQ,24223
|
|
23
|
-
repr/story_synthesis.py,sha256
|
|
23
|
+
repr/story_synthesis.py,sha256=-X9y5rzVFjujLfsjY7DdFTS7r0dLGfiLkbXBoozLYA0,47982
|
|
24
24
|
repr/telemetry.py,sha256=M1NribTkiezpvweLrdbJxKDU2mlTe7frke6sUP0Yhiw,7000
|
|
25
25
|
repr/templates.py,sha256=5Z3vftQMn87ufvEVt0uWx_gagmvdZGoNxjD1Q9ZbS0w,11029
|
|
26
26
|
repr/timeline.py,sha256=z84PL_CfYikiNkz0oN4_glLxOQIQCeCUIGwXYvS6Dfk,22527
|
|
@@ -50,9 +50,9 @@ repr/loaders/base.py,sha256=AE9lFr8ZvPYt6KDwBTkNv3JF5A2QakVn9gA_ha77GLU,4308
|
|
|
50
50
|
repr/loaders/claude_code.py,sha256=sWAiQgNVWsdw9qUDcfHDBi5k6jBL7D8_SI3NAEsL-io,11106
|
|
51
51
|
repr/loaders/clawdbot.py,sha256=daKfTjI16tZrlwGUNaVOnLwxKyV6eW102CgIOu4mwAw,12064
|
|
52
52
|
repr/loaders/gemini_antigravity.py,sha256=_0HhtC1TwB2gSu20Bcco_W-V3Bt6v9O2iqOL6kIHQLU,13766
|
|
53
|
-
repr_cli-0.2.
|
|
54
|
-
repr_cli-0.2.
|
|
55
|
-
repr_cli-0.2.
|
|
56
|
-
repr_cli-0.2.
|
|
57
|
-
repr_cli-0.2.
|
|
58
|
-
repr_cli-0.2.
|
|
53
|
+
repr_cli-0.2.24.dist-info/licenses/LICENSE,sha256=tI16Ry3IQhjsde6weJ_in6czzWW2EF4Chz1uicyDLAA,1061
|
|
54
|
+
repr_cli-0.2.24.dist-info/METADATA,sha256=1SVhA2nkk0Du5bikdJKxph1pe-3MQj2TXnbUmkjM12k,13387
|
|
55
|
+
repr_cli-0.2.24.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
|
|
56
|
+
repr_cli-0.2.24.dist-info/entry_points.txt,sha256=dlI-TCeDTW2rBC_nvOvMhwLihU4qsgD5r4Ot5BuVqSw,56
|
|
57
|
+
repr_cli-0.2.24.dist-info/top_level.txt,sha256=LNgPqdJPQnlicRve7uzI4a6rEUdcxHrNkUq_2w7eeiA,5
|
|
58
|
+
repr_cli-0.2.24.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|