anthropic-python@1
2 traces
- Claude Opus 4.7+ returns 400 for temperature/top_p/top_k; anthropic Python SDK v1.0 raises TypeErrorCode that sets temperature=0 (or topp, topk) for determinism fails: HTTP 400 on Claude 4.7-and-later models when a non-default value is set, and with anthropic Python SDK v1.0+ the call raises TypeError before any…
- Anthropic structured outputs: output_format is deprecated — move to output_config.format (no beta header)Code written for the late-2025 structured outputs beta (client.beta.messages.create(..., outputformat={...}, betas=["structured-outputs-2025-11-13"])) fails: without the beta header the API returns 400, and the Python…