Hardcoded `System.getenv()` calls prevent programmatic configuration of parameters
Maintainer thường phản hồi trong vòng 1 ngày
Đánh giá
Issue này chưa được đánh giá.
Mô tả
The Google ADK currently relies strictly on System.getenv() to read critical configuration parameters, specifically GOOGLE_GENAI_USE_VERTEXAI, GOOGLE_CLOUD_PROJECT, and GOOGLE_CLOUD_LOCATION.
This creates a significant architectural friction point for modern Java applications, such as Spring Boot on Java 17+. In these environments, configurations are managed internally via files like application.yaml rather than static OS-level environment variables. Because Java's System.getenv() reads an immutable OS map, we are completely blocked from programmatically injecting or wiring these values from our application's configuration at runtime.
This forces developers to rely on external CI/CD deployment wrappers or unsafe JVM reflection hacks just to pass standard configuration values into the SDK.
- Ngôn ngữ chính
- Java
- Star
- 1.7k
- Fork
- 431
- Merge trung bình
- 3 ngày 2 giờ
- Pull request đã merge (30 ngày)
- 46
Chuẩn bị môi trường
Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của google/adk-java
-
[spring-ai] ToolConverter silently drops enum and items from tool parameter schemasCó thể đã có người làm @hirematha đã nhận 1 ngày trước. Đang mởneeds review
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
google/adk-java#1609 · 2 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[spring-ai] Streaming responses ending with CJK punctuation (。!?) are misclassified as partial and never persisted to the sessionCó thể đã có người làm @hirematha đã nhận 1 ngày trước. Đang mởwaiting on reporter
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
google/adk-java#1608 · 2 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[core] Client disconnects don't cancel the model stream (per-step flow is cached) — and there is no public API to cancel an in-flight runCó thể đã có người làm @hemasekhar-p đã nhận hôm nay. Đang mởneeds review
google/adk-java#1618 · 6 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[spring-ai] Bridge drops reasoning_content (thinking) — surface it as partial events and/or persist itCó thể đã có người làm @hemasekhar-p đã nhận 1 ngày trước. Đang mởneeds review
google/adk-java#1616 · 1 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[FEATURE] Port bypass_multi_tools_limit for built-in search tools from adk-pythonCó thể đã có người làm @hirematha đã nhận 1 ngày trước. Đang mởneeds review
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
google/adk-java#1598 · 1 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của google/adk-java
Issue tương tự
-
Clock.MakeTime fails to validate hour, minute, and second ranges due to inert Calendar.set try-catchĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
mit-cml/appinventor-sources#4139 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[LOOTHUNT] Player Sleep % ToggleĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
Vakore/ZappierGames#81 ·
-
proposal
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
beemdevelopment/Aegis#1843 · 1 reaction ·
-
[Bug] Logo style setting missing and `classic` style not applied across multiple platforms (v3.1.0)Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
Stirling-Tools/Stirling-PDF#8382 · 1 reaction ·
Maintainer thường phản hồi trong vòng 2 ngày
-
>enhancement needs:triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
elastic/elasticsearch#161191 ·
Maintainer thường phản hồi trong vòng 1 ngày