What's Changed
🚀 Features
- Add
GitHubCopilotOAuthFlowfor device authorization by @Kludex in #8618 - Add
BoolCriteriato say what aboolfield's yes and no mean, and let aTrue/FalseEnumdo the same by @DouweM in #8586 - Use what the user wrote about
Noneas the "none of these" option inTypeSafeModelby @DouweM in #8684 - Offer whole numbers that are not a rubric as a
ChoiceinTypeSafeModelby @DouweM in #8686 - Add
RealtimeSession.wait_for_reply()by @DouweM in #8514
🐛 Bug Fixes
- Keep all streamed
OpenAIChatModellogprobs inprovider_details['logprobs']by @adtyavrdhn in #8653 - Allow
gpt-6-sol,gpt-6-luna, andgpt-6-astraon Bedrock Converse by @sevakva in #8656 - fix: preserve fanned producer contributions in graph joins by @FIITAY in #8385
- Surface
@GraphBuilder.streamnode errors in-context duringgraph.iter()by @pydanty in #8304 - Forward Cloud Storage
gs://references asfileDatainGoogleImageGenerationModelon Vertex AI by @dorukgezici in #8225 - Preserve output tool names and descriptions for
Annotatedmodel types by @ikriv in #8608 - Type
Nonein a list of output types as| Nonesooutput_type=[Foo, Bar, None]passes pyright by @DouweM in #8641 - Fix
google_proactive_audio, which no Gemini Live session could ever connect with by @DouweM in #8394 - Drop
temperatureandtop_pfor OpenAI GPT-5.6 and GPT-6 on Bedrock Converse instead of failing with a 400 by @kimnamu in #8668 - Let a field's default apply when
TypeSafeModelanswers "None of these" for an optional field by @DouweM in #8685 - Surface realtime receive-side failures to every consumer shape, and end
send_audio(iterable)cleanly on close by @DouweM in #8138 - Keep
Annotatedmetadata on the members of anX | Youtput_typeby @DouweM in #8687 - Keep an uninstrumented delegate's usage off its caller's agent run span by @DouweM in #8689
- Let a nested model's default apply when
TypeSafeModelanswers "None of these" for every field under it by @DouweM in #8697 - Accept
Annotated,Literaland unionoutput_types as PEP 747TypeForms, and bump pyright to 1.1.414 by @DouweM in #8690 - Make
RunContext.tracer,trace_include_contentandinstrumentation_versionfollow an explicitInstrumentationcapability by @DouweM in #8706 - Send deferred tools with native tool search on
OpenAICodexModelinstead of failing with a 400 by @aweis89 in #8693
New Contributors
- @FIITAY made their first contribution in #8385
- @ikriv made their first contribution in #8608
- @aweis89 made their first contribution in #8693
Full Changelog: v2.48.0...v2.49.0