From 9c2d41d984d4a9440ad5d296bb6007292745fede Mon Sep 17 00:00:00 2001 From: Denton Social Date: Thu, 24 Sep 2026 19:04:56 -0500 Subject: [PATCH] relax codegen budget defaults to qwen38-iq3s verbosity --- config.example.json | 10 +++++----- semif_agent/cli.py | 10 +++++----- semif_agent/codegen.py | 10 +++++----- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/config.example.json b/config.example.json index 079a37f..a21e7e5 100644 --- a/config.example.json +++ b/config.example.json @@ -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", diff --git a/semif_agent/cli.py b/semif_agent/cli.py index 69f2366..3e41699 100644 --- a/semif_agent/cli.py +++ b/semif_agent/cli.py @@ -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")) diff --git a/semif_agent/codegen.py b/semif_agent/codegen.py index cd48217..becae85 100644 --- a/semif_agent/codegen.py +++ b/semif_agent/codegen.py @@ -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("/")