17 lines
461 B
Python
17 lines
461 B
Python
from __future__ import annotations
|
|
|
|
import json
|
|
from pathlib import Path
|
|
|
|
ROOT=Path(__file__).resolve().parents[1]
|
|
|
|
|
|
def test_openclaw_profile_uses_conservative_input_reservation_floor():
|
|
value=json.loads(
|
|
(ROOT/"config/external-agent-runtime.d/openclaw.profile.json").read_text()
|
|
)
|
|
mg=value["model_governance"]
|
|
assert mg["required"] is True
|
|
assert mg["input_reservation_floor_tokens"]==16384
|
|
assert mg["max_output_tokens"]==256
|