anthropics / anthropics/claude-agent-sdk-python

Setting temperature through the agent SDK

Open
#273 9 comments 27 reactions 0 assignees View on GitHub
enhancement question
Dominant language
Python
Stars
8.1k
Forks
1.3k
Avg merge
2d 31m
Merged PRs (30d)
1

Description

Is there a way to set the temperature of the model for the session through the SDK currently?

If not, is there any work arounds or plans to support this feature in the future?
I basically want to set the temperature to 0 (or close to 0) to improve consistency and reproducibility of the task I am working on.

Any help regarding this is appreciated, thanks in advance!

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.