-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Labels
enhancementNew feature or requestNew feature or requestp2Priority 2 - MediumPriority 2 - Mediumprovider
Description
To better support reasoning models, adding a reasoning_content parameter to the API would be great so that users can see the steps in the reasoning process.
from openai import OpenAI
client = OpenAI(api_key="", base_url="https://api.deepseek.com")
messages = [{"role": "user", "content": "9.11 and 9.8, which is greater?"}]
response = client.chat.completions.create(
model="deepseek-reasoner",
messages=messages
)
+ reasoning_content = response.choices[0].message.reasoning_content
content = response.choices[0].message.content
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestp2Priority 2 - MediumPriority 2 - Mediumprovider