max_completion_tokens is forwarded unmapped — a no-op until server #218 (document it)
The SDK passes max_completion_tokens through untouched (via the ...rest spread in prepare()), but the current server reads only max_tokens. So a caller who sets only max_completion_tokens gets no output cap (default/unbounded) until server #218 deploys.
No crash — just a doc gap that over-promises. Mirror the Python SDK's resolution (interfaze-python #16): note in the README that max_completion_tokens is accepted but a no-op until server #218 ships (use max_tokens meanwhile), or add a client-side alias→max_tokens mapping (note: mapping would double-send once the server honors it natively, so the README route is preferred).
max_completion_tokensis forwarded unmapped — a no-op until server #218 (document it)The SDK passes
max_completion_tokensthrough untouched (via the...restspread inprepare()), but the current server reads onlymax_tokens. So a caller who sets onlymax_completion_tokensgets no output cap (default/unbounded) until server #218 deploys.No crash — just a doc gap that over-promises. Mirror the Python SDK's resolution (interfaze-python #16): note in the README that
max_completion_tokensis accepted but a no-op until server #218 ships (usemax_tokensmeanwhile), or add a client-side alias→max_tokensmapping (note: mapping would double-send once the server honors it natively, so the README route is preferred).