relax codegen budget defaults to qwen38-iq3s verbosity

This commit is contained in:
Denton Social committed 2026-09-24 19:04:56 -05:00
1 parent 3661443184
commit 9c2d41d984
3 files changed
+15 -15

No files matched your search

+5 -5
View File
@@ -21,11 +21,11 @@
"idle_warn": 60,
"idle_timeout": 180,
"context_window": 0,
"smart_limit": 100000,
"warn_limit": 200000,
"max_fill_ratio": 0.8,
"warn_fill_ratio": 0.5,
"max_output": 0.25,
"smart_limit": 250000,
"warn_limit": 500000,
"max_fill_ratio": 0.9,
"warn_fill_ratio": 0.7,
"max_output": 0.85,
"chars_per_token": 4.0
},
"skill_bodies": "data/skills",
+5 -5
View File
@@ -57,11 +57,11 @@ def build_scheduler(config: dict) -> tuple[Scheduler, dict]:
idle_warn=float(codegen_cfg.get("idle_warn", 60.0)),
idle_timeout=float(codegen_cfg.get("idle_timeout", 180.0)),
context_window=float(codegen_cfg.get("context_window", 0.0)),
smart_limit=int(codegen_cfg.get("smart_limit", 100000)),
warn_limit=int(codegen_cfg.get("warn_limit", 200000)),
max_fill_ratio=float(codegen_cfg.get("max_fill_ratio", 0.8)),
warn_fill_ratio=float(codegen_cfg.get("warn_fill_ratio", 0.5)),
max_output=float(codegen_cfg.get("max_output", 0.25)),
smart_limit=int(codegen_cfg.get("smart_limit", 250000)),
warn_limit=int(codegen_cfg.get("warn_limit", 500000)),
max_fill_ratio=float(codegen_cfg.get("max_fill_ratio", 0.9)),
warn_fill_ratio=float(codegen_cfg.get("warn_fill_ratio", 0.7)),
max_output=float(codegen_cfg.get("max_output", 0.85)),
chars_per_token=float(codegen_cfg.get("chars_per_token", 4.0)),
)
log = DecisionLog(config.get("log", "data/decisions.jsonl"))
+5 -5
View File
@@ -86,11 +86,11 @@ class CodegenClient:
idle_warn: float = 60.0,
idle_timeout: float = 180.0,
context_window: float = 0.0,
smart_limit: int = 100000,
warn_limit: int = 200000,
max_fill_ratio: float = 0.8,
warn_fill_ratio: float = 0.5,
max_output: float = 0.25,
smart_limit: int = 250000,
warn_limit: int = 500000,
max_fill_ratio: float = 0.9,
warn_fill_ratio: float = 0.7,
max_output: float = 0.85,
chars_per_token: float = 4.0,
):
self.base_url = base_url.rstrip("/")