Skip to content

[Bug Assistant] temperature setting not working #1362

@ayansengupta17

Description

@ayansengupta17

Confirm this is an issue with the Python library and not an underlying OpenAI API

  • This is an issue with the Python library

Describe the bug

Even if I change temperature for assistant, the response shows temperature is set to 1.0

To Reproduce

Create an assistant and pass a temperature value.

Code snippets

assistant = client.beta.assistants.create(
        name=f"temperature_test_assistant",
        instructions="",
        model=model_name,
        tools=[{"type": "code_interpreter"}],
        temperature=0.2,
        
    )

OS

Linux

Python version

python 3.11

Library version

openai==1.23.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions