ChatMock
ChatMock copied to clipboard
Can we set reasoning effort via Python SDK?
Dear developers,
May I set the reasoning efforts of models using codes like below instead of setting it via chatmock serve --reasoning-effort?
response = client.chat.completions.create(
model="gpt-5.5",
reasoning_effort='high',
messages=[{"role": "user", "content": "write a story about a cat."}]
)
Thank you very much!
yes! you should be able too. just set the base url to chatmock's base url