Skip to content

Commit 2ec3bca

Browse files
committed
Remove dead code _SYSTEM_KEYS constant from token_estimator.py
1 parent 9f80a68 commit 2ec3bca

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

python_agent_harness/token_estimator.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,6 @@ def calibrate(self, estimated: int) -> int:
6969
return round(estimated * self.factor)
7070

7171

72-
_SYSTEM_KEYS = ("system", "system_instruction", "instructions", "systemInstruction")
73-
74-
7572
def payload_text(system: object, messages: list[dict], tools: list[dict]) -> str:
7673
"""Serialize the full prompt payload into one plain-text buffer."""
7774
buf: list[str] = []

0 commit comments

Comments
 (0)