Consolidate Odysseus agent harness and tool contracts

This commit is contained in:
pewdiepie-archdaemon
2026-09-17 10:07:40 +00:00
parent 84aa9a91de
commit 218d762427
229 changed files with 28899 additions and 1551 deletions
+8
View File
@@ -0,0 +1,8 @@
"""Validation shared by direct native generation paths."""
import math
def validate_temperature(value):
if type(value) not in (int, float) or not math.isfinite(value) or value < 0:
raise ValueError('temperature must be a finite nonnegative number')
return float(value)