Fixing Vertex AI Gemini Tool-Schema Interop in LangChain4j
A practical deep dive into merged PR #4625: how a JSON schema compatibility gap broke tool calling for Vertex AI Gemini, and how I fixed it with focused regression coverage.
Dive into my thoughts on coding, tech trends, and developer life. Explore my latest posts below.
A practical deep dive into merged PR #4625: how a JSON schema compatibility gap broke tool calling for Vertex AI Gemini, and how I fixed it with focused regression coverage.
A deep technical breakdown of merged PR #4584 in langchain4j: protocol negotiation failures, transport-level design tradeoffs, and a production-safe fix with regression tests.
A practical, engineering-first guide to Retrieval-Augmented Generation covering architecture, chunking, hybrid retrieval, prompt grounding, and evaluation loops.
When an agent was invoked as a tool, it silently lost the parent's RunConfig — breaking tracing, model_provider, and privacy settings in nested agent chains. Fixed with ToolContext propagation.
A read-only operation (marking conversation as read) was incorrectly updating the conversation's updated_at timestamp, corrupting sort order in the chat list.
Workflow tool output fields showed empty descriptions in the UI even when the schema contained them. Fixed the parameter builder to properly hydrate from output_schema.