…chat model
- Integrate ObservationRegistry for instrumentation in VertexAiGeminiChatModel's non-streaming call
- Add ChatModelObservationContext and related classes for observation
- Refactor createGeminiRequest method to support runtime options for imperative calls
- Implement observation for non-streaming chat operations in VertexAiChatModelObservationIT
- Add VertexAiGeminiConstants class for provider name
This commit enhances the VertexAiGeminiChatModel with observability features for the non-streaming, imperative call() method. It allows for better monitoring and instrumentation of synchronous chat operations. The changes include refactoring to improve runtime option handling for these calls and adds integration tests for the new observability features.
Note: Streaming operations are not affected by these changes and remain unobserved at this point.
Comment From: markpollack
great! merged in 0763d78fef3529fc58ed9a87128d87db5370fb23