Extraction Evidence

Fireworks serverless quickstart block-49
Previous State
System Baseline: Null
Detected Delta
import os from openai import OpenAI client = OpenAI( api_key = os.environ.get( "FIREWORKS_API_KEY" ), base_url = "https://api.fireworks.ai/inference/v1" , ) response = client.chat.completions.create( model = "accounts/fireworks/models/deepseek-v3p2" , messages = [ { "role" : "user" , "content" : "What is 25 * 37? Show your work." } ], extra_body = { "reasoning_effort" : "medium" }, ) msg = response.choices[ 0 ].message # Reasoning content is returned in a separate field reasoning = getattr (msg, "reasoning_content" , None ) if reasoning is None and hasattr (msg, "model_extra" ): reasoning = msg.model_extra.get( "reasoning_content" ) if reasoning: print ( "Reasoning:" , reasoning) print ( "Answer:" , msg.content)