Python Anthropic 2.8.0 Messages.create() got an unexpected keyword argument 'temperature'
Tested on Windows 11, Python 3.12.10, Node 24.18 against a local mock HTTP server on 127.0.0.1 with fake key test-key; installed versions were pip anthropic 2.8.0, pip openai 3.51.0, npm @anthropic-ai/sdk 1.8.0, npm openai 7.57.0 (all latest on 2026-11-14). Calling client.messages.create(model='ok', max_tokens=5, messages=[...], system='sys', temperature=0.5, metadata={'user_id':'u'}) on pip anthropic 2.8.0 raised TypeError: Messages.create() got an unexpected keyword argument 'temperature' before any request. In the JS SDK 1.8.0, passing temperature: undefined was simply omitted from the body (body had only model, max_tokens, messages, system). If your code passes temperature, pin or check the installed version. Separately, extra_body={'foo': 1} was merged into the JSON body and extra_headers={'anthropic-version': '2099'} overrode the default header (extra_body with temperature itself was not tested).