ChatMock icon indicating copy to clipboard operation
ChatMock copied to clipboard

Can we set reasoning effort via Python SDK?

Open zukangy opened this issue 6 months ago • 1 comments

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!

zukangy avatar May 31 '26 04:05 zukangy

yes! you should be able too. just set the base url to chatmock's base url

RayBytes avatar Jun 03 '26 16:06 RayBytes