Azure adk package#163
Open
alfredjimmy-redbus wants to merge 13 commits into
Open
Conversation
…nt and LlmResponse models
Made-with: Cursor
Integrates latest upstream ADK changes (release 1.2.1, plugins, telemetry, BigQuery analytics, race condition fixes) while preserving our Gemini 3.1 Live fixes: - toolCallCancellation → interrupted=true (Issue 2 fix) - sendRealtime mime-type routing (audio vs video) - realtimeInputConfig plumbing (RunConfig → Basic flow) - content null-check in Runner.runAsyncImpl Removed local-only artifacts: - Hardcoded /Users/rohan.v debug logging from Runner.java - PRODUCTION_READINESS_AUDIT.md Aligned transcription types to upstream Transcription objects (was Optional<String>, now @nullable Transcription). Made-with: Cursor
…cate old setters - Changed builder method names to follow a consistent naming convention. - Deprecated old setter methods in favor of new methods that improve clarity. - Added validation to ensure maxLlmCalls is less than Integer.MAX_VALUE. - Updated import for Nullable annotation to use org.jspecify.annotations. fix(GeminiLlmConnection): handle optional interrupted state - Updated handling of the interrupted state to use orElse(null) for better null safety.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Introduces a unified Azure OpenAI integration for ADK-Java, replacing the monolithic AzureBaseLM with a transport-based architecture under com.google.adk.models.azure.
Unified entry point: AzureBaseLM delegates to contract-specific transports based on deployment name
Three Azure API contracts supported:
Shared config layer: AzureConfig with contract-specific env vars (AZURE_RESPONSE_ENDPOINT, AZURE_REALTIME_ENDPOINT, AZURE_TRANSLATE_ENDPOINT)
Shared request mapping: AzureRequestConverter for instructions, tools, and schema conversion
Registry wiring: LlmRegistry updated to route Azure|* and realtime model names to AzureBaseLM
Live connection support: BaseLlmConnection.clearRealtimeAudioBuffer() added for Realtime protocol
Documentation: azure_readme.md with architecture diagrams, usage examples, supported models, and guide for adding new Azure contracts