Skip to content

Commit 83076a2

Browse files
committed
structured output fix
1 parent 00deb44 commit 83076a2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

agent-framework/user-guide/agents/agent-types/azure-openai-responses-agent.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ async def main():
207207
)
208208

209209
result = await agent.run("What's the weather like in Paris today?")
210-
weather_data = result.structured_output
210+
weather_data = result.value
211211
print(f"Location: {weather_data.location}")
212212
print(f"Temperature: {weather_data.temperature}°C")
213213
print(f"Condition: {weather_data.condition}")

0 commit comments

Comments
 (0)