fixes #103: responses api max_output_tokens bug
This commit is contained in:
@@ -88,6 +88,7 @@ def normalize_responses_payload(
|
||||
|
||||
normalized = dict(payload)
|
||||
normalized["model"] = normalized_model
|
||||
normalized.pop("max_output_tokens", None)
|
||||
|
||||
if "input" in normalized:
|
||||
normalized["input"] = canonicalize_responses_input(normalized.get("input"))
|
||||
|
||||
Reference in New Issue
Block a user