[integration]Google-adk with OPIK - #14
Conversation
|
Hi @lucifertrj , thank you very much for your contribution! We just updated our contribution guide and standardised our example addition pattern - could you review and apply the changes to your example please 🙏 I'd be happy to review the example once done! I also wanted to find out if this type of example is something you put together specifically for this repo or if you've used a similar pattern for your own agent development? Do you use Google ADK often? |
|
Sure, I will go through the updated contributing guide. Yes, I use Google ADK quite often and have also used it in my talks. For my own agent development work, I have used LangGraph extensively as well. This example was added specifically for this repository. |
|
Thanks then! Appreciate the contribution. |
|
Thanks @lucifertrj for this integration! Rather than send you back through our (newly added) contributor harness, we pushed the compliance changes straight onto your branch — your commits and authorship stay intact, and these get it green against the new CI:
Maintainer note: CI has no |
Integrations are detected at <vendor>/<example> (3-level, like otel/). google_adk sat at 2 levels, so detect-changes + compliance skipped it and false-passed. Nest the example under agentic_rag/, add a vendor README, and point the root index row at the example.
|
One more change: nested the example under CI is green now: |
|
cool. I had issues with lint, it seems you fixed it. Thanks |
|
Dropped the assets/dashboard.png reference (the image wasn't in the PR), switched the README to uv, and fixed small things (str path to QdrantClient, a parts guard, zip(strict=…), ruff).
|
…urable, align dry-run gate
- OpikTracer now logs to os.environ.get("OPIK_PROJECT_NAME", "google-adk-rag")
so a direct `python main.py` lands in the right project instead of the
ambient default (matches the otel integration pattern).
- Gemini model reads GADK_MODEL (default gemini-2.5-flash) so an unavailable
model can be swapped via env instead of a code edit.
- index.py dry-run gate now also requires GOOGLE_API_KEY, matching main.py, so
partial creds no longer trigger the heavy PDF download + embedding for a run
that then dry-runs.
- Renamed leftover APP_NAME/USER_ID copy-paste constants; named the agent router_agent.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…rd web_search - README: replace bare env block with the required env-vars table (adds GADK_MODEL, OPIK_PROJECT_NAME); fix "notebook-style router_agent" drift. - .env.example: document optional GADK_MODEL override. - .gitignore: trim to example-specific artifacts (db/, annual_report.pdf); generic ignores live in the repo-root .gitignore. - tools.py: guard web_search results missing "body" to avoid KeyError. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
Thanks @lucifertrj ! I pushed some fixes just to match the updated contribution style and ran it locally -- all successful! I've also merged and it looks good, don't worry about the image. Thanks again! |
Uh oh!
There was an error while loading. Please reload this page.